[SR-Users] Database connection handles vs. processes
Daniel-Constantin Mierla
miconda at gmail.com
Tue Jul 11 08:41:24 CEST 2017
Hello,
are the connections to the same database or to different databases? Even
on the same server, the database name matters.
Cheers,
Daniel
On 10.07.17 22:23, Alex Balashov wrote:
> Hi,
>
> By way of illustration, I have one server with children=8, a single UDP
> listener, and 23 processes total:
>
> [...]
>
> So, this gives rise to two questions in my mind:
>
> 1. I don't seem to understand the relationship between the number of
> database connection handles and the total number of child processes.
>
> I had always assumed that only SIP workers and other processes
> specialised into a role with possible "database involvement" (e.g.
> rtimer, async workers, etc.) would hold database connections.
>
> 2. What's going on in the second scenario such that some processes have
> two connections?
>
> Both servers running:
>
> --
> # kamcmd -s /tmp/kamailio_ctl core.version
> kamailio 4.4.6 (x86_64/linux) becbde
> --
>
> Insights much appreciated!
>
> -- Alex
>
--
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - www.kamailioworld.com
More information about the sr-users
mailing list