Re: detecting & retrying after a 500 error result

Tom Bowden <[email protected]> Mon, 28 Feb 2011 14:08:01 -0600
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
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-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org
> http://mailman.pins.net/mailman/listinfo.cgi/fastcgi-developers