[SR-Users] pkg.stats

Daniel-Constantin Mierla miconda at gmail.com
Mon Jul 21 11:31:14 CEST 2014


Hello,

On 21/07/14 10:32, Vitaliy Aleksandrov wrote:
> Hello,
> If there are no changes in configuration script logic and in behavior 
> of main modules I can try it.

I don't recall any major changes there, most probably the config will 
just work with master branch. Let me know the results.

Cheers,
Daniel

>> Hello,
>>
>> there were some issues with pkgstats that I worked on in master 
>> branch. Can you give it a try and see if works ok? If all fine, I 
>> will look at backporting, but there were other changes I did in 
>> master for a bit more optimizations for memory manager.
>>
>> Cheers,
>> Daniel
>>
>> On 18/07/14 18:22, Vitaliy Aleksandrov wrote:
>>> Hi list,
>>>
>>> I have a problem with pkg.stats for tcp.main process on kamailio 
>>> "4.1.2 73ea61-dirty".
>>> kamailio has 64M of private memory for each process (-M 64).
>>>
>>> pkg.stats for tcp.main process shows that is uses 75M and still has 
>>> 62M free:
>>> {
>>>         entry:        36
>>>         pid:            10032
>>>         rank:         -4
>>>         used:         73109720
>>>         free:          65891192
>>>         real_used: 79146048
>>> }
>>>
>>> root at webRTC:~# ps -p 10032 -o 
>>> pid,tid,state,pcpu,pmem,rss,size,sz,vsz,args
>>> PID      TID     S  %CPU  RSS        SIZE        SZ VSZ COMMAND
>>> 10032 10032 S  0         26420     67508     76821    307284 
>>> /.../kamailio -f /.../kamailio.cfg -P /.../kamailio.pid -m 128 -M 64 
>>> -u kamailio -g kamailio
>>>
>>> This server handles 1000+ tcp/tls connections and works just fine 
>>> for the last two months. That's why i think this is not a memory 
>>> leak and just a pkg.stats problem.
>>>
>>> Does anybody else saw this or maybe somebody is already working to 
>>> fix it ?
>>>
>>> _______________________________________________
>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>> sr-users at lists.sip-router.org
>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda




More information about the sr-users mailing list