about worker_connections?

Spacelee fjctlzy at gmail.com
Mon May 7 02:44:19 UTC 2012


did you modify the system fd limitation?

On Mon, May 7, 2012 at 9:54 AM, steven <nginx-forum at nginx.us> wrote:

> 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
> connections?
> There is error message:
> Action.c(4): Error -27796: Failed to connect to server "19.16.8.187:80":
> [10061] Connection refused
> Action.c(4): Error -26610: HTTP Status-Code=502 (Bad Gateway) for
> "http://19.16.8.187/gdceportal/index.aspx"
>
> 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;
>
> upstream 19.16.8.187{
>
>    ip_hash;
>  server   19.16.8.188:80;
>  server   19.16.8.189:80;
>    }
>
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,226129,226129#msg-226129
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>



-- 
*Space Lee*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20120507/b6872ab0/attachment.html>


More information about the nginx mailing list