Re: [PATCH] Disable Keep Alive
Aarno Syvänen <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Jonathan, this fd leak causes problem here, too (we use Kannel code for our SMSC). Have you tired lsof -i ? Aarno On 1.3.2005, at 15:39, Jonathan Houser wrote: > > 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 >