# Mongrel having lot of sockets in close wait state

**URL:** <https://www.ruby-forum.com/t/mongrel-having-lot-of-sockets-in-close-wait-state/188972>\
**Category:** Rails\
**Created:** [May 21, 2010, 9:48am UTC](https://www.ruby-forum.com/t/mongrel-having-lot-of-sockets-in-close-wait-state/188972 "2010-05-21T09:48:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![g-sivakumar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/e274bd/32.png) [@g-sivakumar](https://www.ruby-forum.com/u/g-sivakumar)\
**Post date:** [May 21, 2010, 9:48am UTC](https://www.ruby-forum.com/t/mongrel-having-lot-of-sockets-in-close-wait-state/188972/1 "2010-05-21T09:48:54Z")

</div>

Hi,

I have a rails webapp and lately one of the mongrel process gets stuck  
in close\_wait state and my app stops responding and needs a restart. I  
have a apache in front of mongrel processes and the close wait state on  
connection seems to be on localhost only (My guess is it is apache).  
Any help appreciated on how should i go about debugging this issue.

Thanks,  
Sivakumar.
