[Kamailio-Users] Trying to compile openser 1.3.3 without PKG_MALLOC support

toly hippo_big at hotmail.com
Fri Feb 13 20:23:51 CET 2009


We observe the crashes after about 300000 calls, in the asterisk code.



Alex Balashov wrote:
> 
> How is Asterisk an SBC?
> 
> toly wrote:
> 
>> 
>> Hi Henning,
>> 
>> We are running the test:
>> 
>> hammer->sbc(asterisk 1.4)->openser1.3.3->mediaserver(heavily modified
>> asterisk)
>> 
>> It is production environment.
>> 
>> call rate is steady 4 cps.
>> 
>> Proxy is 2 dual cores 2.5Ghz  with  4G of ram
>> 
>> Initially openser was compiled with private memory size of 4M.
>> After few days privated memory was heavily fragmented and proxy was
>> running
>> out of memory.
>> Then I've compiled with 8M of ram.
>> It prolonged more but with the same result, which made me very nervous 
>> and
>> PKG_MALLOC was out of the question.
>> 
>> Without PKG_MALLOC:
>> 
>> There were few runs for few days, the last one since last friday still
>> running.
>> No instabilities on proxy, no problems at all. Performance wise I have
>> not
>> notice any difference. It may be subjective, I'd say cpu may be higher
>> (%0.1
>> sometimes) but again it's subjective and I'm running ngrep logging via
>> syslog_ng and the proxy logging done via syslog_ng, configured
>> (syslog_ng)
>> to send the output to the syslog_ng server and pumping all huge output
>> via
>> syslog_ng may contribute to the CPU.
>> 
>> BTW, in main.c when opens syslog, there is the thing which may be
>> qualified
>> as bug. I you use standard syslog then there is no problem. With
>> syslog_ng,
>> there is the problem: it creates 2 log files and I've fixed main.c, by
>> the
>> code it writes in syslog, and then when daemonized opens syslog.
>> 
>> In turn, I'd like to ask the question about ngrep. I'm using ngrep-1-45.
>> When running on proxy I see duplicate message. When running not on proxy
>> -
>> no dups.
>> My hunch is that it's recording all stuff from on_reply_route and
>> loose_route?
>> Can anybody enlighten this subject.
>> 
>> Regards,
>> Toly
>> 
>> 
>> 
>> Henning Westerholt-2 wrote:
>>> On Wednesday 04 February 2009, toly wrote:
>>>> the problem was:
>>>>
>>>> file mem/mem.h
>>> Hi Toly,
>>>
>>> may i ask how were your experiences so far without the PKG_MALLOC memory 
>>> manager? Any performance problems, or perhaps instabilities that you
>>> would 
>>> credit to this?
>>>
>>> Cheers,
>>>
>>> Henning
>>>
>>> _______________________________________________
>>> Kamailio (OpenSER) - Users mailing list
>>> Users at lists.kamailio.org
>>> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
>>> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>> 
> 
> 
> -- 
> Alex Balashov
> Evariste Systems
> Web    : http://www.evaristesys.com/
> Tel    : (+1) (678) 954-0670
> Direct : (+1) (678) 954-0671
> Mobile : (+1) (678) 237-1775
> 
> _______________________________________________
> Kamailio (OpenSER) - Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
> 
> 

-- 
View this message in context: http://www.nabble.com/Trying-to-compile-openser-1.3.3-without-PKG_MALLOC-support-tp21779072p22003209.html
Sent from the OpenSER Users Mailing List mailing list archive at Nabble.com.





More information about the Users mailing list