<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">https://pastebin.com/huJ7yc4b</a></div><div><br></div><div><br clear="all"><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><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">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 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 Tue, Jun 27, 2023 at
              7:01 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">The logs say your opensips
                  fail to start a due to DB issues :
                  `ERROR:db_mysql:db_mysql_connect: driver error(1040):
                  Too many connections`<br>
                  <br>
                  Rule number one : <b>READ THE LOGS</b> !<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/27/23 12:18 PM, Sasmita Panda wrote:<br>
                </div>
                <blockquote type="cite">
                  <div dir="ltr">No , I am running only 1 instance of
                    opensips in one ec2-instance here . 
                    <div><br>
                    </div>
                    <div>When I am starting Openisps .</div>
                    <div><b>ps -aef| grep opensips | wc -l </b> : this
                      command output is <b>22 </b><br>
                    </div>
                    <div><b><br>
                      </b></div>
                    <div>/usr/local/bin/opensips-cli -x mi ps  : Output
                      of this command while starting .<b><br>
                      </b></div>
                    <div><a href="https://pastebin.com/H0yNeecA" target="_blank">https://pastebin.com/H0yNeecA</a><br>
                    </div>
                    <div><b><br>
                      </b></div>
                    <div><b>After 5/10mins when I am running the same
                        command :</b></div>
                    <div><b>ps -aef| grep opensips | wc -l </b> : output
                      is <b>169 </b>(its increasing gradually )<b><br>
                      </b></div>
                    <div><br>
                    </div>
                    <div>And at that time eventually the fifo file is
                      also getting deleted . </div>
                    <div><br>
                    </div>
                    <div>As this increases , after sometime there are
                      too many open connections with Mysql getting
                      created and hence there are some errors as well
                      for "too many open connections " . </div>
                    <div><br>
                    </div>
                    <div>Below is the logs I am getting . </div>
                    <div><a href="https://pastebin.com/E6WxjeiC" target="_blank">https://pastebin.com/E6WxjeiC</a><br>
                    </div>
                    <div><br>
                    </div>
                    <div>At this point , my call is also not getting
                      connected as the dynamic routing module is not
                      getting initiated . </div>
                    <div><br>
                    </div>
                    <div>I was about to upgrade my whole system to 3.2
                      and in the last stage I am facing this issue .
                      Quit blocked here . From long time I am trying to
                      debug this but not getting any hunch . </div>
                    <div><br>
                    </div>
                    <div>Please help . </div>
                    <div><br>
                    </div>
                    <div><br>
                    </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 Tue, Jun 27,
                      2023 at 2: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">Hi,<br>
                          <br>
                          Be sure you are not running multiple instance
                          of OpenSIPS, fighting over the fifo file.<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/27/23 11:00 AM, Sasmita Panda wrote:<br>
                        </div>
                        <blockquote type="cite">
                          <div dir="ltr">Hi , 
                            <div><br>
                            </div>
                            <div>Initially when I am running the process
                              I'm getting the <b>opensips_fifo </b>file
                              inside /<b>tmp </b>directory . </div>
                            <div><br>
                            </div>
                            <div>But after some time that file is
                              getting deleted automatically and hence I
                              am not able to run opensips-cli command as
                              well . </div>
                            <div><br>
                            </div>
                            <div>What can be the reason ? Where do I
                              start debugging ?</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 Tue,
                              Jun 6, 2023 at 2:10 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">Hi,<br>
                                  <br>
                                  Doing `opensips-cli -x mi ps` will
                                  list all the opensips processes and
                                  their role within OpenSIPS - this will
                                  help you understand the overall set of
                                  procs.<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/1/23 2:37 PM, Sasmita Panda
                                  wrote:<br>
                                </div>
                                <blockquote type="cite">
                                  <div dir="ltr">In 3.2 I think we are
                                    not defining children per process .
                                    We have udp_worker or tcp_worker . 
                                    <div><br>
                                    </div>
                                    <div>log_level=4<br>
                                      log_stderror=no<br>
                                      log_facility=LOG_LOCAL5<br>
                                      <br>
                                      #udp_workers=4<br>
                                      tcp_workers=2<br>
                                      <br>
                                      disable_dns_blacklist=yes<br>
                                      <br>
                                      This is my configuration . </div>
                                    <div><br>
                                      <div>
                                        <div dir="ltr" class="gmail_signature">
                                          <div dir="ltr">
                                            <div>
                                              <div dir="ltr"><b><i><br>
                                                  </i></b></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 1, 2023 at 4:53 PM
                                      Richard Robson <<a href="mailto:richard.robson@8x8.com" target="_blank">richard.robson@8x8.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="auto">How many children
                                        are defined in your script. You
                                        will get one process per child
                                        <div dir="auto"><br>
                                        </div>
                                        <div dir="auto">Richard</div>
                                      </div>
                                      <br>
                                      <div class="gmail_quote">
                                        <div dir="ltr" class="gmail_attr">On Thu, 1
                                          Jun 2023, 11:47 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">
                                            <div>Hi All , <br>
                                            </div>
                                            <div><br>
                                            </div>
                                            <div><br>
                                            </div>
                                            <div>I am using opensips
                                              3.2  </div>
                                            <div>version: opensips 3.2.3
                                              (x86_64/linux)<br>
                                              flags: STATS: On,
                                              DISABLE_NAGLE, USE_MCAST,
                                              SHM_MMAP, PKG_MALLOC,
                                              Q_MALLOC, F_MALLOC,
                                              HP_MALLOC, DBG_MALLOC,
                                              FAST_LOCK-ADAPTIVE_WAIT<br>
                                              ADAPTIVE_WAIT_LOOPS=1024,
                                              MAX_RECV_BUFFER_SIZE
                                              262144, MAX_LISTEN 16,
                                              MAX_URI_SIZE 1024,
                                              BUF_SIZE 65535<br>
                                              poll method support: poll,
                                              epoll, sigio_rt, select.<br>
                                              svn revision: 3831:3864<br>
                                              main.c compiled on
                                              07:29:49 Jun 21 2022 with
                                              gcc 10<br>
                                            </div>
                                            <div><br>
                                            </div>
                                            <div>When I am initially
                                              starting the service I am
                                              getting a single process
                                              running . After some time
                                              when I am checking there
                                              are so many processes
                                              running automatically . I
                                              have pasted the output of
                                              the below file . </div>
                                            <div><br>
                                            </div>
                                            <div>Please update here
                                              what's the reason behind
                                              this .   </div>
                                            <div><br>
                                            </div>
                                            <div><a href="https://pastebin.com/gu3Js6Fe" rel="noreferrer" target="_blank">https://pastebin.com/gu3Js6Fe</a><br>
                                            </div>
                                            <div><br>
                                            </div>
                                            <div><br>
                                            </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>
                                          </div>
_______________________________________________<br>
                                          Users mailing list<br>
                                          <a href="mailto:Users@lists.opensips.org" rel="noreferrer" target="_blank">Users@lists.opensips.org</a><br>
                                          <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
                                        </blockquote>
                                      </div>
_______________________________________________<br>
                                      Users mailing list<br>
                                      <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
                                      <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
                                    </blockquote>
                                  </div>
                                  <br>
                                  <fieldset></fieldset>
                                  <pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
                                </blockquote>
                                <br>
                              </div>
                            </blockquote>
                          </div>
                        </blockquote>
                        <br>
                      </div>
                    </blockquote>
                  </div>
                </blockquote>
                <br>
              </div>
            </blockquote>
          </div>
        </blockquote>
      </div>
    </blockquote>
    <br>
  </div>

</blockquote></div>