<div dir="ltr">Thank you so much <span style="color:rgb(80,0,80)">Bogdan</span> . I got the issue . <div><br><div>I have configured monit to start opensips . Somehow monit was not able to check if opensips is running or not . That's why it was starting opensips again and again . </div><div><br></div><div>Now it's resolved . Thank you once again for your patience . </div><div><br></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><b><i>Thanks & Regards</i></b><div><i>Sasmita Panda</i></div><div><i>Senior Network Testing and Software Engineer</i></div><div><i>3CLogic , ph:07827611765</i></div></div></div></div></div></div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 30, 2023 at 2:55 PM Sasmita Panda <<a href="mailto:spanda@3clogic.com">spanda@3clogic.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thank you so much for your quick reply . <div><br></div><div>Today morning I was not able to access the machine on which opensips was running . </div><div>So I just stopped that and changed the instance type from t2.small to t2.medium and started the machine . </div><div>On that I started same configuration of opensips . From last 4hr its running without any error . Also whenever I am checking the process its giving 22 . </div><div><br></div><div>I m not sure what was the issue and how it get resolved . Now I am curious , if the same issue will encounter again what I need to do .</div><div><br></div><div><br></div><div><br clear="all"><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><b><i>Thanks & Regards</i></b><div><i>Sasmita Panda</i></div><div><i>Senior Network Testing and Software Engineer</i></div><div><i>3CLogic , ph:07827611765</i></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jun 29, 2023 at 5:41 PM Bogdan-Andrei Iancu <<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<font face="monospace">What should be ideal here is some unix admin
skills. Try to check if systemd is not trying to start multiple
instances, check with htop how <br>
many group leader procs you have under opensips procs....<br>
<br>
Have you carefully followed to logs to see how if there are
multiple startup sequences from opensips ?<br>
<br>
Regards,</font><br>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="https://www.opensips-solutions.com" target="_blank">https://www.opensips-solutions.com</a>
<a href="https://www.siphub.com" target="_blank">https://www.siphub.com</a></pre>
<div>On 6/28/23 1:37 PM, Sasmita Panda
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Yes , right .
<div><br>
</div>
<div>My expectation is also opensips must be ideal . How do I
debug this ? what is triggering opensips to scale-up ?</div>
<div><br>
</div>
<div><br>
</div>
<div><br clear="all">
<div>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr"><b><i>Thanks & Regards</i></b>
<div><i>Sasmita Panda</i></div>
<div><i>Senior Network Testing and Software Engineer</i></div>
<div><i>3CLogic , ph:07827611765</i></div>
</div>
</div>
</div>
</div>
</div>
<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Wed, Jun 28, 2023 at
3:42 PM Bogdan-Andrei Iancu <<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div> <font face="monospace">In your configuration I see
nothing that may degenerate into creating additional procs
(like exec module, auto_scaling, etc). And I assume you
have no traffic (SIP or MI) while you get this increasing
number of procs (basically opensips should be ideal),
right ?<br>
<br>
Regards,<br>
</font>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="https://www.opensips-solutions.com" target="_blank">https://www.opensips-solutions.com</a>
<a href="https://www.siphub.com" target="_blank">https://www.siphub.com</a></pre>
<div>On 6/28/23 12:17 PM, Sasmita Panda wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">centos9 :
<div>initially when running the config </div>
<div>number of process : 22 </div>
<div>after 5/10min - number of process 169 . That
increases gradually as well . </div>
<div><br>
</div>
<div>centos8 :</div>
<div>initially when running the config </div>
<div>number of process : 22 </div>
<div>This is maintained throughout . It's not increasing
at all . </div>
<div><br>
</div>
<div><br>
</div>
<div>socket : </div>
<div>socket=udp:ip:5505</div>
<div>socket=udp:ip:5508</div>
<div><br>
</div>
<div>This is configured in both the servers . Config is
the same for both . </div>
<div><br>
</div>
<div>config file : <a href="https://pastebin.com/huJ7yc4b" target="_blank">https://pastebin.com/huJ7yc4b</a></div>
<div><br>
</div>
<div><br clear="all">
<div>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr"><b><i>Thanks & Regards</i></b>
<div><i>Sasmita Panda</i></div>
<div><i>Senior Network Testing and Software
Engineer</i></div>
<div><i>3CLogic , ph:07827611765</i></div>
</div>
</div>
</div>
</div>
</div>
<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Wed, Jun 28, 2023
at 1:16 PM Bogdan-Andrei Iancu <<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div> <font face="monospace">What is the socket and
processes configuration you have in the cfg?<br>
<br>
How many procs are created at the end on the
working centos8 ?<br>
<br>
Regards,<br>
</font>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="https://www.opensips-solutions.com" target="_blank">https://www.opensips-solutions.com</a>
<a href="https://www.siphub.com" target="_blank">https://www.siphub.com</a></pre>
<div>On 6/28/23 9:52 AM, Sasmita Panda wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">I have installed opensips 3.2 on
centos8 , which is working fine without any
error .
<div><br>
</div>
<div>Same code I have installed on centos9
latest version , here its giving the above
error . Same as aws ec2 instance and debian
11 . </div>
<div><br>
</div>
<div>Is this because of the operating system?</div>
<div><br>
</div>
<div><br clear="all">
<div>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr"><b><i>Thanks &
Regards</i></b>
<div><i>Sasmita Panda</i></div>
<div><i>Senior Network Testing and
Software Engineer</i></div>
<div><i>3CLogic , ph:07827611765</i></div>
</div>
</div>
</div>
</div>
</div>
<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Wed, Jun
28, 2023 at 10:07 AM Sasmita Panda <<a href="mailto:spanda@3clogic.com" target="_blank">spanda@3clogic.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">Yes , I knew that . But I have
mentioned its not in the starting . When I
am starting opensips service everything is
fine and running properly .
<div><br>
</div>
<div>After sometime this error is comming
when the number of process increases which
results more numbr of DB connection . When
the limit reaches that error is comming . </div>
<div>But this is happening in the run time .
Not in the initial stage . </div>
<div><br>
</div>
</div>
</blockquote>
</div>
</blockquote>
</div>
</blockquote>
</div>
</blockquote>
</div>
</blockquote>
</div>
</blockquote>
<br>
</div>
</blockquote></div>
</blockquote></div>