did you modify the system fd limitation?<br><br><div class="gmail_quote">On Mon, May 7, 2012 at 9:54 AM, steven <span dir="ltr"><<a href="mailto:nginx-forum@nginx.us" target="_blank">nginx-forum@nginx.us</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">i have set worker_connections 10024 ,but i user the loadrunner to test<br>
it user about 1000 user,it only can pass 700 user,how to resove the max<br>
connections?<br>
There is error message:<br>
Action.c(4): Error -27796: Failed to connect to server "<a href="http://19.16.8.187:80" target="_blank">19.16.8.187:80</a>":<br>
[10061] Connection refused<br>
Action.c(4): Error -26610: HTTP Status-Code=502 (Bad Gateway) for<br>
"<a href="http://19.16.8.187/gdceportal/index.aspx" target="_blank">http://19.16.8.187/gdceportal/index.aspx</a>"<br>
<br>
There is my nginx config:<br>
<br>
#user nobody;<br>
worker_processes 1;<br>
<br>
#error_log logs/error.log;<br>
#error_log logs/error.log notice;<br>
#error_log logs/error.log info;<br>
<br>
#pid logs/nginx.pid;<br>
<br>
<br>
events {<br>
worker_connections 10024;<br>
}<br>
<br>
<br>
http {<br>
include mime.types;<br>
default_type application/octet-stream;<br>
<br>
#log_format main '$remote_addr - $remote_user [$time_local]<br>
"$request" '<br>
# '$status $body_bytes_sent "$http_referer" '<br>
# '"$http_user_agent" "$http_x_forwarded_for"';<br>
<br>
#access_log logs/access.log main;<br>
<br>
sendfile on;<br>
#tcp_nopush on;<br>
<br>
#keepalive_timeout 0;<br>
keepalive_timeout 120;<br>
<br>
#gzip on;<br>
<br>
upstream 19.16.8.187{<br>
<br>
ip_hash;<br>
server <a href="http://19.16.8.188:80" target="_blank">19.16.8.188:80</a>;<br>
server <a href="http://19.16.8.189:80" target="_blank">19.16.8.189:80</a>;<br>
}<br>
<br>
Posted at Nginx Forum: <a href="http://forum.nginx.org/read.php?2,226129,226129#msg-226129" target="_blank">http://forum.nginx.org/read.php?2,226129,226129#msg-226129</a><br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div><b>Space Lee</b></div><br>