# Mongrel cluster stop working after long idle time

**URL:** <https://www.ruby-forum.com/t/mongrel-cluster-stop-working-after-long-idle-time/110445>\
**Category:** Rails\
**Created:** [July 26, 2007, 12:06pm UTC](https://www.ruby-forum.com/t/mongrel-cluster-stop-working-after-long-idle-time/110445 "2007-07-26T12:06:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ajayagrawal](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/cc9497/32.png) [@ajayagrawal](https://www.ruby-forum.com/u/ajayagrawal)\
**Post date:** [July 26, 2007, 12:06pm UTC](https://www.ruby-forum.com/t/mongrel-cluster-stop-working-after-long-idle-time/110445/1 "2007-07-26T12:06:48Z")

</div>

Hi,

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.
