[SR-Users] lots of syslog messages if sqlops fails to connect

Daniel-Constantin Mierla miconda at gmail.com
Mon Apr 19 21:43:44 CEST 2021


What is the value for connect_mode modparam?

https://www.kamailio.org/docs/modules/stable/modules/sqlops.html#sqlops.p.connect_mode

Cheers,
Daniel

On 19.04.21 17:09, Juha Heinanen wrote:
> 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
> ...
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - Online
May 17-20, 2021 (Europe Timezone) - June 7-10, 2021 (America Timezone)
  * https://www.asipto.com/sw/kamailio-advanced-training-online/




More information about the sr-users mailing list