Welcome! Log In Create A New Profile

Advanced

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

January 22, 2013 10:13AM
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
SubjectAuthorPosted

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

jayaraj.kJanuary 22, 2013 10:13AM

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

shahzaib1232January 23, 2013 06:32AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 60
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 229 on August 01, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready