Nginx serving large-ish static files on VM

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: