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.

I'll try to glance over it.

Please send [PATCH] mails always *WITHOUT* message reference, so that it's not 
"hidden" in a threaded tree display ;)

@Martin, Vincent: If you have time: please review and vote... makes my life 
easier to have it commited fast, when 8 eyes have seen it.

@Alex: have fun!...

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.