[SR-Users] pkg.stats

Vitaliy Aleksandrov vitalik.voip at gmail.com
Fri Jul 18 18:22:14 CEST 2014


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 ?



More information about the sr-users mailing list