[OpenSIPS-Users] [Crash Report] Weird crash with drouting/tls_mgm/usrloc/db_postgresql

Slava Bendersky volga629 at networklab.ca
Tue Aug 11 12:34:48 EST 2020


Hello Everyone, 
You need tweak sysctl and postgresql.conf to allow opensips connect properly to remote postgresql. 
In opensips I can't pass for any transport udp_worker tcp_worker more then 10. Other wise it starts segfaulting. One opensips open from 150-170 connections to database under load when cluster of 3 nodes you need postgresql at least 650 connection limit. If you use TCP or WSS or TLS you need increase tcp protocol buffer on protocol level other wise it will be bottleneck for database and it will slow down all. 

volga629 


From: "Adrien Martin" <a.martin at alphalink.fr> 
To: "OpenSIPS users mailling list" <users at lists.opensips.org>, "johan" <Johan at democon.be> 
Sent: Tuesday, August 11, 2020 7:25:31 AM 
Subject: Re: [OpenSIPS-Users] [Crash Report] Weird crash with drouting/tls_mgm/usrloc/db_postgresql 

Hello, 

Thanks for your answer. 
Do you mean the patch didn't resolve the issue for volga629? 

Anyway it's an interesting idea, this would point to a concurrency problem. 
Gonna try but i think it would not work because there would still be udp and tcp/tls workers at the same time. 


Regards, 
-- 
Adrien Martin 


Le 11/08/2020 à 12:00, Johan De Clercq a écrit : 
> I believe that 1579 was fixed by volga629 by reducing the number of workers 
> in opensips.cfg. 


_______________________________________________ 
Users mailing list 
Users at lists.opensips.org 
http://lists.opensips.org/cgi-bin/mailman/listinfo/users 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20200811/a380e555/attachment.html>


More information about the Users mailing list