[SR-Users] Number of sql connections

Sergiu Pojoga pojogas at gmail.com
Mon Nov 19 21:26:04 CET 2018


Assuming you expect less traffic on the alternative ports, you could lower
the number of socket workers for those ports.
https://www.kamailio.org/wiki/cookbooks/5.1.x/core#socket_workers

On Mon, Nov 19, 2018 at 2:19 PM Duarte Rocha <duarterocha91 at gmail.com>
wrote:

> Greetings,
>
> I have my core parameter listen like this :
>
> listen=udp:eth0
>
> children=12
>
> Like this and the other settings, my kamailio has 21 threads and 20 Sql
> connections.
>
> If I add more listens,
>
> listen=udp:eth0
> listen=udp:eth0:5072
> listen=udp:eth0:5074
>
> Now I have 45 threads and 45 Sql connections.
>
> Why does this happen and can i set a a number of threads and/or sql
> connections that doesn't change with the number of "listen" parameters that
> i have ?
>
> Best Regards,
>
> Duarte Rocha
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20181119/77c65144/attachment.html>


More information about the sr-users mailing list