Optimizing Nginx for serving 1GB files - Finding values for 'directio' & 'output_buffers'

shahzaib shahzaib shahzaib.cb at gmail.com
Wed Jan 23 11:31:29 UTC 2013


Same problem with me on serving of large files with .flv and .mp4
extensions. Can somebody help ? Thanks


On Tue, Jan 22, 2013 at 8:13 PM, jayaraj.k <nginx-forum at nginx.us> wrote:

> Hi,
>
> We have a Nginx web server which is serving files whose size is almost 1GB.
> We were trying to optimize the configuration with directio & output_buffers
> directives. but, we couldn't find any calculation/formula with which we can
> identify suitable values for above mentioned directives.
>
> Server Spec
>
> Processor: Intel E5-2600 Xeon Family (2cpus,16 cores each)
> RAM: 32GB
>
> Nginx config
>
> Nginx Version: 1.3.9 (dev)
> worker_processes 33;
> worker_connections 1024;
> use epoll;
> worker_rlimit_nofile 33792;
> aio on;
> Could you plz explain how we can find values for 'directio' &
> 'output_buffers' specific to a server.
>
> Thanks
> Jayaraj
>
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,235414,235414#msg-235414
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20130123/9143109d/attachment.html>


More information about the nginx mailing list