about worker_connections?

steven nginx-forum at nginx.us
Mon May 7 01:54:08 UTC 2012

i have set  worker_connections  10024 ,but i user the loadrunner to test
it user about 1000 user,it only can pass 700 user,how to resove the max
There is error message:
Action.c(4): Error -27796: Failed to connect to server "":
[10061] Connection refused
Action.c(4): Error -26610: HTTP Status-Code=502 (Bad Gateway) for

There is my nginx config:

#user  nobody;
worker_processes  1;

#error_log  logs/error.log;
#error_log  logs/error.log  notice;
#error_log  logs/error.log  info;

#pid        logs/nginx.pid;

events {
    worker_connections  10024;

http {
    include       mime.types;
    default_type  application/octet-stream;

    #log_format  main  '$remote_addr - $remote_user [$time_local]
"$request" '
    #                  '$status $body_bytes_sent "$http_referer" '
    #                  '"$http_user_agent" "$http_x_forwarded_for"';

    #access_log  logs/access.log  main;

    sendfile        on;
    #tcp_nopush     on;

    #keepalive_timeout  0;
    keepalive_timeout  120;

    #gzip  on;



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

More information about the nginx mailing list