Forum: Ruby on Rails mongrel cluster stop working after long idle time

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.
3f344a0d57b0422536b82991346e6acd?d=identicon&s=25 Ajay Agrawal (ajayagrawal)
on 2007-07-26 12:06

I have a ruby on rails website. Server configuration is:

 1. Nginx
 2. 4 mongrel clusters running on different ports.

After a long idle time few of the mongrel clusters stops responding. I
have set "ActiveRecord::Base.verification_timeout = 14400" in
environment.rb file, but still it's not working.

On executing "lsof -i -P | grep CLOSE_WAIT" command, I usually get a
long list of mongrel_clusters.

Please let me know if you have any solution for this problem.

Thanks in advance.
This topic is locked and can not be replied to.