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: