[FASTCGI] detecting & retrying after a 500 error result

Tom Bowden charles_thomas at mac.com
Mon Feb 28 15:08:01 EST 2011


could you do something funky like associate a custom error handler on  
the 500 code - that restarted the server/server-process and then  
returned back the response to client?


On Feb 28, 2011, at 12:55 PM, Michael Richards wrote:

> I run a large webmail system and occasionally a process dies and  
> returns internal server errors. While this occurs only about  
> 1/70,000 requests, it does cause problems as one of the processes  
> in the pool will always return an internal server error. Is there a  
> way that the process manager can be modified to automatically  
> restart any process that returns an internal server error? How  
> about retrying the request as well so the internal server error is  
> never seen by the user? Obviously I would like to find all the bugs  
> in the software, but a million lines of code and a very slim chance  
> of a problem means it's difficult to justify spending a lot of time  
> on.
>
> -Michael
> _______________________________________________
> FastCGI-developers mailing list
> FastCGI-developers at mailman.fastcgi.com
> http://mailman.pins.net/mailman/listinfo.cgi/fastcgi-developers



More information about the FastCGI-developers mailing list