[SR-Users] Is kamailio creating multiple connections to db?

Daniel-Constantin Mierla miconda at gmail.com
Fri Jan 25 20:22:27 CET 2013


Hello,

there is one connection to db server for each spawned process. The 
queries are executed by each process trough own connection.

Cheers,
Daniel

On 1/25/13 3:22 PM, Mino Haluz wrote:
> Hi,
>
> I made some DB test on our HA cluster, and I got that for 1 process I 
> have 1000 queries/sec and for 11 processes 3000 queries/sec. That's 
> why I would to ask if every kamailio process that is spawned has its 
> own database connection or queries are put in the queue and executed 
> by some main process ? I would like to know this, so that I could 
> assess maximum call count/sec that db can handle.
>
> Thank you,
> Mino
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, April 16-17, 2013, Berlin
  - http://conference.kamailio.com -

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20130125/4b8dde78/attachment.htm>


More information about the sr-users mailing list