[SR-Users] pkg.stats problem

Vitaliy Aleksandrov vitalik.voip at gmail.com
Sat Sep 21 12:52:32 CEST 2013

Additional info:
- kamailio-4.0.2 started with -m 128 -M 16
- Process::  ID=36 PID=2599 Type=tcp main process
- this server works as a websocket(ws,wss) to udp/tcp gateway.

Also top output showed that RES column of tcp workers was constantly 

After some time kamailio stoped to accept wss connections and printed 
"ssl bug #1491 workaround: not enough memory for safe operation".
According to tls_server.c it's a sign of shm leak.

Master branch has a lot of fixes to websocket module which solve 
problems with pkg and shm memory:

Is it a good a good idea to use websocket module from the master branch 
with a 4.0 verion ?

> Hello,
> can you get the type of the process with 'kamctl ps'?
> Cheers,
> Daniel
> On 9/20/13 6:51 PM, Vitaliy Aleksandrov wrote:
>> Didn't check master branch before writing previous email. There were 
>> some commits about memory leaks in websocket module. Will try master.
>> _______________________________________________
>> 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

More information about the sr-users mailing list