499 Connection Responses, FastCGI, APC, nginx

Dave Cheney dave at cheney.net
Tue Oct 7 01:31:45 MSD 2008


You may be running out of file descriptors, in the case where nginx is  
acting as a proxy you need AT LEAST 2 fd's per active connection

worker_processes  1;
worker_rlimit_nofile 8192;

events {
     worker_connections  2048;
     use kqueue;
}

^ consider something like this

On 07/10/2008, at 6:24 AM, Clint Priest wrote:

> There's something else going on here I think.  I've got 1000 php-cgi  
> processes running, < 5% CPU utilization and I'm still getting 499's  
> out of nginx.
>
> What else could be causing this?  The debug logs show that the  
> connection is being dropped (Connection reset by peer) from nginx to  
> php-cgi






More information about the nginx mailing list