Re: setting max active connection

2015-04-13 Thread B.R.
http://nginx.org/en/docs/http/ngx_http_limit_conn_module.html --- *B. R.* On Mon, Apr 13, 2015 at 11:53 AM, rolf1316 wrote: > is it possible to edit the limit of active connections in nginx? Like > change > it to 5 active connections at a time ? > > Posted at Nginx Forum: > http://forum.nginx.or

Re: setting max active connection

2015-04-13 Thread rolf1316
is it possible to edit the limit of active connections in nginx? Like change it to 5 active connections at a time ? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,240989,257987#msg-257987 ___ nginx mailing list nginx@nginx.org http://mailman.

Re: setting max active connection

2013-07-18 Thread mex
your ngfinx-config seems ok (except that part that should be deleted from global-section and appear only in event {...} can you test your fastcgi_process with ab (apache benchmark - tool) oder httperf until you reach max_clients w/out reverse_proxying through nginx? Posted at Nginx Forum: http

Re: setting max active connection

2013-07-18 Thread vikas
This is the php-fastcgi file, /usr/bin/spawn-fcgi -s /tmp/php.sock -M 0666 -C 9 -u nginx -g nginx -U nginx -G nginx -f /usr/bin/php-cgi -P /var/run/fastcgi-php.pid And in this file I didn't restrict parallel connections to 520. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,240989,240

Re: setting max active connection

2013-07-18 Thread mex
you config is somewhat messed_up, but it think this is not an issue here. are you sure your fastcgi_process is able to deliver more than 520 parallel connections? http://wiki.nginx.org/EventsModule#worker_connections -> to be defined in event {} max clients = worker_processes * worker_connectio

setting max active connection

2013-07-18 Thread vikas
How to increase max active connection limits from default 520. System configuration CentOS release 5.8 (Final) with whm. nginx conf file is user nginx root; worker_processes 16; worker_rlimit_nofile 20; worker_connections 10240; error_log /var/log/nginx/error.log; error_log /var/log/nginx/e