Forum: Ruby on Rails Putting a request lifetime on fcgi processes

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Eec967b23f805cdbf09eeb8095fdaade?d=identicon&s=25 SteveC (Guest)
on 2007-05-09 19:25
(Received via mailing list)

We have a big rails app ( which has memory leaks.
It's running with the script/process scripts under lighttpd. What
we're doing is restarting (killing) the processes every couple of
hours to stop them swapping and using spawner -r to magically restart
the threads.

We'd like to restart the threads after 500 requests, or something
nicer and not lose the process queue. Has anyone done this or have
any advice on the best way?

(Yes, we'd love to have the time to find the leaks but are
firefighting right now)


have fun,

SteveC | |
This topic is locked and can not be replied to.