Re: Postgres connections optimization #4342

Stephane Savonitto via sr-users <[email protected]>
Newsgroups gmane.comp.voip.ser
Message-ID <PR2P264MB007917B46777733B3DC7D6789824A@PR2P264MB0079.FRAP264.PROD.OUTLOOK.COM>
Hi, thanks Daniel, I will give a try.
Regards,
Stéphane

De : Daniel-Constantin Mierla <[email protected]>
Date : mercredi, 30 juillet 2025 à 10:35
À : Kamailio (SER) - Users Mailing List <[email protected]>
Cc : Stephane Savonitto <[email protected]>
Objet : Re: [SR-Users] Postgres connections optimization #4342
Vous n’obtenez pas souvent d’e-mail à partir de [email protected]. Pourquoi c’est important<https://aka.ms/LearnAboutSenderIdentification>

Hello,

if you have many udp ipsec tunnels, which use a pair of sockets per end point, then you may want to try with Kamailio 6.0.x and turn on the multi-threaded udp receiving:

async_workers_group="name=udp;workers=8"
udp_receiver_mode = 1

That should reduce the number of processes created by Kamailio.

Cheers,
Daniel
On 29.07.25 17:51, Stephane Savonitto via sr-users wrote:
Hello,
On P-CSCF when running we have 200+ permanent connection to postgres db, even if there is no traffic. Is there a way to manage connections dynamically using a pool like using PgBouncer ?

Regards,
Stéphane



__________________________________________________________

Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected]<mailto:[email protected]>

To unsubscribe send an email to [email protected]<mailto:[email protected]>

Important: keep the mailing list in the recipients, do not reply only to the sender!

--

Daniel-Constantin Mierla (@ asipto.com)

twitter.com/miconda -- linkedin.com/in/miconda

Kamailio Consultancy, Training and Development Services -- asipto.com

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the sender!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.