Re: closing WSP sessions

Yury Mikhienko <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Mobicom-Kavkaz
Message-ID <[email protected]>
On Mon, 01 Nov 2004 13:40:02 +0200
Vjacheslav Chekushin <[email protected]> wrote:

> Hi, Yury.
> There is a problem in http.c with socket pool. Cached connection
> to http resources never cleaned from this pool, even if it closed by other
> side. So if you do not use proxy for your requests you will reach the limit of
> open descriptor soon (depend on load).
> I have patch againtst 1.3.2 which clean these connections. It doensn't accepted
> by kannel because it creates one extra thread to clean descriptors.
> But I use it in my kannel branch.
> So either setup own proxy, either try my patch,
> either do something else (restart kannel every hour ;))
> 
> Yury Mikhienko wrote:
> > Hi developers!
> > 
> > I was start kannel wapbox on Solaris 2.9 system.
> > But after some time I got error on opening new socket to bearerbox (Too many open files error)
> > lsof command show me 277 open descriptors on wapbox process, but 90% at all in CLOSE_WAIT station
> > Can I set timeout on unused WSP session and close the connect to bearerbox?
> > Or may be closing sessions (scavenging) must be automatically?
> > I can set up system parameters rlim_fd_max and rlim_fd_cur, but I do not sure of that method (system overflow may be caused)
> > 
> > Thanx for your answers.
> > 
> 

Many thanx, Vjacheslav 
will try.

-- 
 
Best regards,
Yury Mikhienko.
IT ERP group head, ZAO "Mobikom-Kavkaz"
tel: (8632) 704188
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.