Welcome! Log In Create A New Profile

Advanced

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

February 16, 2013 03:43AM
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?
SubjectAuthorPosted

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

ptiseoJune 04, 2012 07:32PM

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

B.R.June 04, 2012 08:20PM

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

SteveJune 04, 2012 09:18PM

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

ptiseoJune 04, 2012 09:45PM

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

SteveJune 04, 2012 10:04PM

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

Jim OhlsteinJune 04, 2012 10:10PM

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

B.R.June 05, 2012 11:50AM

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

yourerightFebruary 16, 2013 03:43AM

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

yourerightFebruary 16, 2013 03:45AM

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

Maxim DouninFebruary 16, 2013 04:32AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 49
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 229 on August 01, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready