Re: [PATCH] Disable Keep Alive

Jonathan Houser <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
	  Stipe, et. al,

>> I'm +1 for this one although not a cvs/kannel conform patch ;)
> 
> +1 too. Commited to cvs.

      I'm running this patch now (thanks for committing it).  It looks 
like there is a slow leak of file handles in CLOSE_WAIT state.  Is there 
any sort of connection reaping going on to find and remove these?  (It 
doesn't appear so.)  I believe the keep-alive patch helped a lot, but 
this leak is going to still run me out of file handles eventually.  The 
file handles in question appear to belong to wapbox.  I am running the 
latest CVS (obviously) of Kannel, with keep-alive disabled.  It is doing 
http-proxy to Apache 2.0.52 on the same machine.  Apache has keep-alive 
disabled as well as I'd mentioned before.  I'm losing around 10 file 
handles (permanently) per minute I'd say, although that may be a bit 
inaccurate.

# netstat -np | grep -F CLOSE_WAIT | grep -F wapbox | wc -l
115

      If you want me to check anything, I'll be more than happy to. 
Just let me know.  I think I've got some time before I run out of file 
handles here and have to restart.  Thanks.  :)

Jon
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.