<html><body><div style="font-family: lucida console,sans-serif; font-size: 12pt; color: #000000"><div>That commit is helped a lot to identify the problem if opensips can't connect to database, but it not improve stability. </div><div>Stability is mix protocols and underlining library, opensips just use api to connect, so all mention tweaks are still need it.</div><div><br data-mce-bogus="1"></div><div>volga629</div><div><br></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><b>From: </b>"Adrien Martin" <a.martin@alphalink.fr><br><b>To: </b>"volga629" <volga629@networklab.ca>, "OpenSIPS users mailling list" <users@lists.opensips.org><br><b>Sent: </b>Tuesday, August 11, 2020 1:02:24 PM<br><b>Subject: </b>Re: [OpenSIPS-Users] [Crash Report] Weird crash with drouting/tls_mgm/usrloc/db_postgresql<br></div><div><br></div><div data-marker="__QUOTED_TEXT__">Hello,<br><br>I tried to reduce the number of workers to 1 with Opensips 3.1 (can not change TCP workers with 2.4+) and there is another crash about tls_domain that i have to investigate :)<br>Our problems are somewhat different though, in this one there is no load/no calls, just some registrations (less than 5 UAC) and some drouting probing UDP and TLS.<br><br>As #1579 was closed, did the commit https://github.com/OpenSIPS/opensips/commit/c1403a1d9bee2254a84a866352266a41d9ff93bc fixed your problem or did you just tweak the workers/sysctl.conf/postgresql.conf?<br><br>Thanks, regards,<br>-- <br>Adrien Martin<br><br>Le 11/08/2020 à 14:34, Slava Bendersky a écrit :<br>> Hello Everyone, <br>> You need tweak sysctl and postgresql.conf to allow opensips connect properly to remote postgresql. <br>> 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. <br>> <br>> volga629<br></div></div></body></html>