Welcome! Log In Create A New Profile

Advanced

Re: about worker_connections?

May 06, 2012 10:46PM
did you modify the system fd limitation?

On Mon, May 7, 2012 at 9:54 AM, steven <nginx-forum@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@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>



--
*Space Lee*
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

about worker_connections?

steven May 06, 2012 09:54PM

Re: about worker_connections?

fjctlzy May 06, 2012 10:46PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 192
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready