I noticed that Kamailio produces huge (3400+) number qm_free() syslog
messages if sqlops fails to connect to database. Don't know if it is
intentional.
-- Juha
...
Apr 19 18:02:40 edge /usr/bin/edge-proxy[1467]: CRITICAL: <core> [main.c:1716]:
main_loop(): Cannot fork
Apr 19 18:02:40 edge /usr/bin/edge-proxy[1484]: CRITICAL: <core>
[core/pass_fd.c:277]: receive_fd(): EOF on 12
Apr 19 18:02:40 edge /usr/bin/edge-proxy[1466]: ERROR: db_mysql [km_my_con.c:163]:
db_mysql_new_connection(): driver error: Can't connect to MySQL server on
'192.26.134.10' (110)
Apr 19 18:02:40 edge /usr/bin/edge-proxy[1466]: ERROR: <core> [db.c:319]:
db_do_init2(): could not add connection to the pool
Apr 19 18:02:40 edge /usr/bin/edge-proxy[1466]: ERROR: sqlops [sql_api.c:165]:
sql_connect(): failed to connect to the database [main_proxy]
Apr 19 18:02:40 edge /usr/bin/edge-proxy[1466]: ERROR: <core>
[core/sr_module.c:865]: init_mod_child(): error while initializing module sqlops
(/usr/lib/x86_64-linux-gnu/edge-proxy/modules/sqlops.so) (idx: 1 rank: 1 desc: [udp
receiver child=0 sock=192.26.134.11:5060])
Apr 19 18:02:40 edge /usr/bin/edge-proxy[1466]: ERROR: <core> [core/pt.c:338]:
fork_process(): init_child failed for process 1, pid 1466, "udp receiver child=0
sock=192.26.134.11:5060"
Apr 19 18:02:40 edge /usr/bin/edge-proxy[1466]: CRITICAL: <core> [main.c:1716]:
main_loop(): Cannot fork
Apr 19 18:02:40 edge /usr/bin/edge-proxy[1466]: INFO: <core>
[core/mem/q_malloc.c:529]: qm_free(): freeing a free fragment
(0x7f82ea9dc2d0/0x7f82ea9dc2e0) - ignore
Apr 19 18:02:40 edge /usr/bin/edge-proxy[1466]: INFO: <core>
[core/mem/q_malloc.c:529]: qm_free(): freeing a free fragment
(0x7f82ea9dc540/0x7f82ea9dc550) - ignore
Apr 19 18:02:40 edge /usr/bin/edge-proxy[1466]: INFO: <core>
[core/mem/q_malloc.c:529]: qm_free(): freeing a free fragment
(0x7f82ea9daff0/0x7f82ea9db000) - ignore
Apr 19 18:02:40 edge /usr/bin/edge-proxy[1466]: INFO: <core>
[core/mem/q_malloc.c:529]: qm_free(): freeing a free fragment
(0x7f82ea9d47d0/0x7f82ea9d47e0) - ignore
Apr 19 18:02:40 edge /usr/bin/edge-proxy[1466]: INFO: <core>
[core/mem/q_malloc.c:529]: qm_free(): freeing a free fragment
(0x7f82ea9d4660/0x7f82ea9d4670) - ignore
...