nginx serving large-ish static files on VM

Russell Mann nginx-forum at nginx.us
Tue Jan 24 00:19:36 UTC 2012


I'm serving some 10-30mb files at peak times up to 250-300 requests per
second, if I'm reading these RDD'd /status logs correctly. These are on
VPS servers, which may mean some network settings aren't available, and
may mean disk IO is an issue.

It mostly works, but sometimes the massive simultaneous connections
overwhelms the system, and I'm wondering if anyone here is doing
something like that and has suggestions for better configs.

What's the proper use of sendfile in this instance?  I've read
conflicting information.  How about output_buffers?  tcp_delay,
tcp_nopush?

Thank you,

Russell

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,221551,221551#msg-221551



More information about the nginx mailing list