Re: [PATCH] Re: Kannel HTTP MO delivery failing under load

Stipe Tolj <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization tolj.org system architecture
Message-ID <[email protected]>
Alexander Malysh wrote:

> Hi,
> 
> attached patch is a try to fix too much open filedescriptors when 
> handling  MO/DLR in smsbox.
> Patch adds new config option to smsbox group 'max-pending-requests'. If 
> no  option given max-pending-requests is set to 1024.
> This is resonable value for open filedescriptors.
> Patch is really simple, we initialize semaphore with 
> max-pending-requests  and just call down before http request starts and 
> up if it completed. The  same down and up we call before and after popen 
> starts/completed.
> 
> Please comment this patch.

@Giulio: have you tested Alex's patch? what are the effects on the same tests 
you did before?

Stipe

-------------------------------------------------------------------
Kölner Landstrasse 419
40589 DÃŒsseldorf, NRW, Germany

tolj.org system architecture      Kannel Software Foundation (KSF)
http://www.tolj.org/              http://www.kannel.org/

mailto:st_{at}_tolj.org           mailto:stolj_{at}_kannel.org
-------------------------------------------------------------------
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.