Nginx error

Cliff Wells cliff at
Sun Mar 8 21:09:17 MSK 2009

On Sun, 2009-03-08 at 21:29 +0800, Max wrote:
> Hello,
> My nginx server always redirect all traffic to 50x page from time to
> time. I can't even restart it. I need to reboot. 

You *can't* restart Nginx, or restarting it doesn't help?

> The worker_processes  5 and worker_connections is 4096, is it too
> many?

Unless you have 5 or more cores, then that's almost certainly too many.
Try one worker process per core (maybe even just one, unless you are
serving tons of static files) and 1024 worker_connections.

I have no idea if this is related to the 50x errors you get.

> How can I check what is the case of the problem? Thanks.

I'd start with the error log and some details about your setup (starting
with your OS, Nginx version, and maybe what you are serving).


More information about the nginx mailing list