[Rails] max requests for fcgi interface

Ara.T.Howard Ara.T.Howard at noaa.gov
Wed Mar 9 23:27:14 GMT 2005


On Wed, 9 Mar 2005, Miles Egan wrote:

> I think my rails app has a slow memory leak that degrades performance over 
> the course of several days.  I'd like to get to the bottom of it but in the 
> meantime I'd prefer to just bandage it and force the fcgi library to start a 
> new instance of my app every so often.  Is there a clean way to do this? 
> Calling break in the each_cgi loop causes an error.  Sending SIGUSR1, which 
> looks like the way apache tells FCGI to quit, also causes an error.
>
> Any other ideas?

http://www.fastcgi.com/mod_fastcgi/docs/mod_fastcgi.html#FastCgiConfig

-a
-- 
===============================================================================
| EMAIL   :: Ara [dot] T [dot] Howard [at] noaa [dot] gov
| PHONE   :: 303.497.6469
| When you do something, you should burn yourself completely, like a good
| bonfire, leaving no trace of yourself.  --Shunryu Suzuki
===============================================================================


More information about the Rails mailing list