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

Daniel-Constantin Mierla miconda at gmail.com
Tue Apr 20 09:52:54 CEST 2021

On 20.04.21 06:49, Juha Heinanen wrote:
> Daniel-Constantin Mierla writes:
>> What is the value for connect_mode modparam?
>> https://www.kamailio.org/docs/modules/stable/modules/sqlops.html#sqlops.p.connect_mode
> It is not set, i.e., has default value 0.

If that value is 0, then Kamailio should not start if it cannot connect
to database, meaning that it performs shut down, so a lot of memory
chunks can freed in such case. If it appears many times, likely there is
a tool restarting it (i.e., systemd).

Anyhow, the debug logs for memory operations can be controlled via
memlog and memdbg, set their value higher than debug and they should not
be printed.


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