[Spce-user] MySQL client ran out of memory

Michael Schoepfer michael.schoepfer at gmail.com
Fri Apr 13 04:20:00 EDT 2012


Hi,

the proxy doesn't start or stops working a few minutes after start.

I have about 100 users in the system and about 200 rewrite rules. The
following appears upon starting the kamailo proxy. I think its related to
the log entries.


Apr 13 03:13:47 media3 kamailio: INFO: <core> [tcp_main.c:4726]: init_tcp:
using epoll_lt as the io watch method (auto detected)
Apr 13 03:13:47 media3 kamailio: WARNING: <core> [daemonize.c:352]: pid
file contains old pid, replacing pid
Apr 13 03:13:47 media3 /usr/sbin/kamailio[13380]: INFO: auth
[auth_mod.c:312]: auth: qop set, but nonce-count (nc_enabled) support
disabled
Apr 13 03:13:47 media3 /usr/sbin/kamailio[13380]: INFO: usrloc
[hslot.c:53]: locks array size 512
Apr 13 03:13:47 media3 /usr/sbin/kamailio[13380]: INFO: permissions
[parse_config.c:251]: file not found: /etc/kamailio/proxy/permissions.allow
Apr 13 03:13:47 media3 /usr/sbin/kamailio[13380]: INFO: permissions
[permissions.c:606]: default allow file
(/etc/kamailio/proxy/permissions.allow) not found => empty rule set
Apr 13 03:13:47 media3 /usr/sbin/kamailio[13380]: INFO: permissions
[parse_config.c:251]: file not found: /etc/kamailio/proxy/permissions.deny
Apr 13 03:13:47 media3 /usr/sbin/kamailio[13380]: INFO: permissions
[permissions.c:615]: default deny file
(/etc/kamailio/proxy/permissions.deny) not found => empty rule set
Apr 13 03:13:47 media3 /usr/sbin/kamailio[13380]: INFO: <core>
[udp_server.c:178]: INFO: udp_init: SO_RCVBUF is initially 124928
Apr 13 03:13:47 media3 /usr/sbin/kamailio[13380]: INFO: <core>
[udp_server.c:229]: INFO: udp_init: SO_RCVBUF is finally 262142
Apr 13 03:13:47 media3 /usr/sbin/kamailio[13380]: INFO: rtpproxy
[rtpproxy.c:1403]: rtp proxy <udp:127.0.0.1:12222> found, support for it
enabled
Apr 13 03:13:47 media3 /usr/sbin/kamailio[13383]: INFO: rtpproxy
[rtpproxy.c:1403]: rtp proxy <udp:127.0.0.1:12222> found, support for it
enabled
Apr 13 03:13:47 media3 /usr/sbin/kamailio[13384]: INFO: rtpproxy
[rtpproxy.c:1403]: rtp proxy <udp:127.0.0.1:12222> found, support for it
enabled
Apr 13 03:13:47 media3 /usr/sbin/kamailio[13385]: INFO: rtpproxy
[rtpproxy.c:1403]: rtp proxy <udp:127.0.0.1:12222> found, support for it
enabled
Apr 13 03:13:47 media3 /usr/sbin/kamailio[13382]: INFO: rtpproxy
[rtpproxy.c:1403]: rtp proxy <udp:127.0.0.1:12222> found, support for it
enabled
Apr 13 03:13:47 media3 /usr/sbin/kamailio[13381]: INFO: rtpproxy
[rtpproxy.c:1403]: rtp proxy <udp:127.0.0.1:12222> found, support for it
enabled
Apr 13 03:13:47 media3 /usr/sbin/kamailio[13380]: ERROR: db_mysql
[km_my_con.c:109]: driver error: MySQL client ran out of memory
Apr 13 03:13:47 media3 /usr/sbin/kamailio[13380]: ERROR: <core> [db.c:289]:
could not add connection to the pool
Apr 13 03:13:47 media3 /usr/sbin/kamailio[13380]: ERROR: usrloc
[ul_mod.c:345]: child(0): failed to connect to database
Apr 13 03:13:47 media3 /usr/sbin/kamailio[13380]: ERROR: <core>
[sr_module.c:832]: init_mod_child(): Error while initializing module usrloc
(/usr/lib/kamailio/modules_k/usrloc.so)
Apr 13 03:13:47 media3 /usr/sbin/kamailio[13380]: ERROR: <core>
[main.c:1637]: ERROR: main: error in init_child
Apr 13 03:13:47 media3 /usr/sbin/kamailio[13384]: INFO: <core>
[main.c:807]: INFO: signal 15 received
Apr 13 03:13:47 media3 /usr/sbin/kamailio[13385]: INFO: <core>
[main.c:807]: INFO: signal 15 received
Apr 13 03:13:47 media3 /usr/sbin/kamailio[13386]: INFO: <core>
[main.c:807]: INFO: signal 15 received
Apr 13 03:13:47 media3 /usr/sbin/kamailio[13381]: INFO: <core>
[main.c:807]: INFO: signal 15 received
Apr 13 03:13:47 media3 /usr/sbin/kamailio[13383]: INFO: <core>
[main.c:807]: INFO: signal 15 received
Apr 13 03:13:47 media3 /usr/sbin/kamailio[13387]: INFO: <core>
[main.c:807]: INFO: signal 15 received
Apr 13 03:13:47 media3 /usr/sbin/kamailio[13382]: INFO: <core>
[main.c:807]: INFO: signal 15 received
Apr 13 03:13:47 media3 /usr/sbin/kamailio[13388]: INFO: rtpproxy
[rtpproxy.c:1403]: rtp proxy <udp:127.0.0.1:12222> found, support for it
enabled
Apr 13 03:13:47 media3 /usr/sbin/kamailio[13389]: INFO: rtpproxy
[rtpproxy.c:1403]: rtp proxy <udp:127.0.0.1:12222> found, support for it
enabled
Apr 13 03:13:47 media3 /usr/sbin/kamailio[13390]: INFO: rtpproxy
[rtpproxy.c:1403]: rtp proxy <udp:127.0.0.1:12222> found, support for it
enabled
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20120413/c8ef6f09/attachment.html>


More information about the Spce-user mailing list