Re: [PATCH] Avoid bearerbox oom-kill!

Stipe Tolj <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Wapme Systems AG
Message-ID <[email protected]>
> here is a small patch to avoid bearerbox oom-kill and give smsbox really
> status of sms.
> OOM-Kill simple scenario:
> your bearerbox is connected to SMSC but connection is broken (temporarely).
> So smsbox send sms to bearerbox (bbbox) and bbbox store it in queue (list) and
> sometimes is bbbox too large im mem (in worst case will be killed from
> kernel). Now you can define in config maximum-queue-length (applies for both
> queues) and bbbox send ack/nack to smsbox.
> For MO traffic I have added saying return codes , so each ptocol layer can use
> this (I beleave it's better as just -1 and protocol layer don't know why?)

Hi Alexander,

could you please sum up what the patch does. I see that you do
something with the queues, but it's a bit wakky to read the patch
(it's not very clean, in terms of tabs and indents and such beasts :))

Stipe

[email protected]
-------------------------------------------------------------------
Wapme Systems AG

Vogelsanger Weg 80
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [email protected]
Internet: http://www.wapme-systems.de
-------------------------------------------------------------------
wapme.net - wherever you are
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.