Upgrade From Fedora 15 to 17: nginx Doesn't Work

youreright nginx-forum at nginx.us
Sat Feb 16 08:43:55 UTC 2013


I've tried to fix the "Too many connections problem" following the suggested
sites:
http://www.cyberciti.biz/tips/linux-procfs-file-descriptors.html
http://www.cyberciti.biz/faq/linux-unix-nginx-too-many-open-files/#comment-79592

I've ran into other seemingly nonsensical errors.

I have a new unused server here where I’m trying to install/use nginx for
php for the first time.

Strange error for unused server?
==
Firstly, it seems strange to me that I would get “Too many open files” for a
new unused server. ulimit -Hn/Sn showed 4096/1024 which seemed adequate whie
nginx was using only 9/10 acccording to: ls -l /proc//fd | wc -l

Anyhow, I followed the instructions and now I get this error:
==
2013/02/15 16:30:39 [alert] 4785#0: 1024 worker_connections are not enough
2013/02/15 16:30:39 [error] 4785#0: *1021 recv() failed (104: Connection
reset by peer) while reading response header from upstream, client:
127.0.0.1, server: localhost, request: “GET /info.php HTTP/1.0″, upstream:
“http://127.0.0.1:80/info.php”, host: “127.0.0.1″

Tried:
==
I’ve tried increasing the worker_connections to large numbers e.g. 19999 to
no avail.

Any tips?

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



More information about the nginx mailing list