Daniel,
Here it is: after startup: sercmd> core.shmmem { total: 67108864 free: 65509960 used: 1532120 real_used: 1598904 max_used: 1600184 fragments: 8 }
after 1st registration: sercmd> core.shmmem { total: 67108864 free: 65395520 used: 1645720 real_used: 1713344 max_used: 1713888 fragments: 31 }
after 1st dis-registration: sercmd> core.shmmem { total: 67108864 free: 65433648 used: 1607584 real_used: 1675216 max_used: 1713888 fragments: 52 }
after 2nd registration (reg failed): sercmd> core.shmmem { total: 67108864 free: 65505416 used: 1535816 real_used: 1603448 max_used: 1713888 fragments: 71 }
Andrey.
28.09.10, 13:02, "Daniel-Constantin Mierla" miconda@gmail.com:
Hello,
connect with sercmd and send the output of core.shmem to see if there is enough free memory.
I remember I got in similar issue at some point on a virtual machine with ubuntu, but then I haven't gotten back in that system.
Cheers, Daniel
On 9/28/10 10:55 AM, Rouskol Andrey wrote:
Daniel,
Here is what I get.
/etc/default/kamailio: MEMORY=64 # I've tried to set it to 192 - result was the same
# grep loadmodule kamailio.cfg loadmodule "db_mysql.so" loadmodule "mi_fifo.so" loadmodule "kex.so" loadmodule "tm.so" loadmodule "tmx.so" loadmodule "sl.so" loadmodule "rr.so" loadmodule "pv.so" loadmodule "maxfwd.so" loadmodule "usrloc.so" loadmodule "registrar.so" loadmodule "textops.so" loadmodule "uri_db.so" loadmodule "siputils.so" loadmodule "xlog.so" loadmodule "sanity.so" loadmodule "ctl.so" loadmodule "mi_rpc.so" loadmodule "acc.so" loadmodule "auth.so" loadmodule "auth_db.so" #loadmodule "alias_db.so" loadmodule "domain.so" loadmodule "presence.so" loadmodule "presence_xml.so" loadmodule "nathelper.so" loadmodule "tls.so"
Regards, Andrey.
28.09.10, 12:23, "Daniel-Constantin Mierla":
Hello,
On 9/28/10 10:15 AM, Rouskol Andrey wrote:
Hello,
I have a problem running kamailio with tls support. I can successfully register only for the first time, all further registration fails with the following message in the log:
Sep 28 11:53:55 siptest /usr/sbin/kamailio[16963]: ERROR: tls [tls_server.c:392]: SSL error:error:07064041:memory buffer routines:BUF_MEM_grow:malloc failure
The system is a default kamailio installation on a Debian 5.0.6 system. Does somebody know what could cause the problem?
is it a loaded server? Try to increase shared memory. Also, note that some modules conflict with tls module, such as auth_identity, utils ... listing loaded module will help to see if it is the case.
Cheers, Daniel
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users