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

Daniel-Constantin Mierla miconda at gmail.com
Fri Feb 13 15:22:10 CET 2009



On 02/13/2009 05:37 AM, Alex Balashov wrote:
> How is Asterisk an SBC?
>   

By using it as b2bua you can get an SBC - it cleans the headers, relays 
media...

However, definitions of scb and b2bua are vague, so if ti does what you 
need for a sbc, you can call it so. Some time I am labeling kamailio as 
sbc, when I place it at entrance/exit of internal network - it just does 
source IP checking, flood detection and some time load balancing... at 
least I know the sip message is fairly well formatted after goes through.

Cheers,
Daniel


> 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
>>>
>>>
>>>       
>
>
>   

-- 
Daniel-Constantin Mierla
http://www.asipto.com





More information about the sr-users mailing list