[Catalyst] FCGI automatic restart / memory leaks

Tobias Kremer list at funkreich.de
Thu Aug 16 12:42:36 GMT 2007


Quoting Bernhard Graf <catalyst2 at augensalat.de>:
> On Thursday 16 August 2007 10:40, Tobias Kremer wrote:
> > We're using lighttpd and handle the starting of the FCGI server
> > manually. Is there a way to have the FCGI children restart once in a
> > while without having to restart the whole FCGI process manager (and
> > bringing down the application for a few seconds)? Something like
> > Apache's MaxRequestsPerChild directive would be cool.
>
> I use daemontools similar to
> http://www.catalystframework.org/calendar/2006/4 .

Thanks! I'll take a look at it.

For now I'm gonna try running two independent FastCGI process managers and
restart them on different hours via a cronjob so that one of them will always
be available to lighttpd. Other solutions are still welcome! :)

--Tobias



More information about the Catalyst mailing list