[OpenSIPS-Users] Opensips is starting so many process un-necessarily .

Sasmita Panda spanda at 3clogic.com
Tue Jul 4 04:54:41 UTC 2023


Thank you so much Bogdan . I got the issue .

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 .

Now it's resolved . Thank you once again for your patience .

*Thanks & Regards*
*Sasmita Panda*
*Senior Network Testing and Software Engineer*
*3CLogic , ph:07827611765*


On Fri, Jun 30, 2023 at 2:55 PM Sasmita Panda <spanda at 3clogic.com> wrote:

> Thank you so much for your quick reply .
>
> Today morning I was not able to access the machine on which opensips was
> running .
> So I just stopped that and changed the instance type from t2.small to
> t2.medium and started the machine .
> 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 .
>
> 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 .
>
>
>
> *Thanks & Regards*
> *Sasmita Panda*
> *Senior Network Testing and Software Engineer*
> *3CLogic , ph:07827611765*
>
>
> On Thu, Jun 29, 2023 at 5:41 PM Bogdan-Andrei Iancu <bogdan at opensips.org>
> wrote:
>
>> 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
>> many group leader procs you have under opensips procs....
>>
>> Have you carefully followed to logs to see how if there are multiple
>> startup sequences from opensips ?
>>
>> Regards,
>>
>> Bogdan-Andrei Iancu
>>
>> OpenSIPS Founder and Developer
>>   https://www.opensips-solutions.com
>>   https://www.siphub.com
>>
>> On 6/28/23 1:37 PM, Sasmita Panda wrote:
>>
>> Yes , right .
>>
>> My expectation is also opensips must be ideal . How do I debug this ?
>> what is triggering opensips to scale-up ?
>>
>>
>>
>> *Thanks & Regards*
>> *Sasmita Panda*
>> *Senior Network Testing and Software Engineer*
>> *3CLogic , ph:07827611765*
>>
>>
>> On Wed, Jun 28, 2023 at 3:42 PM Bogdan-Andrei Iancu <bogdan at opensips.org>
>> wrote:
>>
>>> 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 ?
>>>
>>> Regards,
>>>
>>> Bogdan-Andrei Iancu
>>>
>>> OpenSIPS Founder and Developer
>>>   https://www.opensips-solutions.com
>>>   https://www.siphub.com
>>>
>>> On 6/28/23 12:17 PM, Sasmita Panda wrote:
>>>
>>> centos9 :
>>> initially when running the config
>>> number of process : 22
>>> after 5/10min - number of process 169 . That increases gradually as well
>>> .
>>>
>>> centos8 :
>>> initially when running the config
>>> number of process : 22
>>> This is maintained throughout . It's not increasing at all .
>>>
>>>
>>> socket :
>>> socket=udp:ip:5505
>>> socket=udp:ip:5508
>>>
>>> This is configured in both the servers . Config is the same for both .
>>>
>>> config file : https://pastebin.com/huJ7yc4b
>>>
>>>
>>> *Thanks & Regards*
>>> *Sasmita Panda*
>>> *Senior Network Testing and Software Engineer*
>>> *3CLogic , ph:07827611765*
>>>
>>>
>>> On Wed, Jun 28, 2023 at 1:16 PM Bogdan-Andrei Iancu <bogdan at opensips.org>
>>> wrote:
>>>
>>>> What is the socket and processes configuration you have in the cfg?
>>>>
>>>> How many procs are created at the end on the working centos8 ?
>>>>
>>>> Regards,
>>>>
>>>> Bogdan-Andrei Iancu
>>>>
>>>> OpenSIPS Founder and Developer
>>>>   https://www.opensips-solutions.com
>>>>   https://www.siphub.com
>>>>
>>>> On 6/28/23 9:52 AM, Sasmita Panda wrote:
>>>>
>>>> I have installed opensips 3.2 on centos8 , which is working fine
>>>> without any error .
>>>>
>>>> Same code I have installed on centos9 latest version , here its giving
>>>> the above error .  Same as aws ec2 instance and debian 11 .
>>>>
>>>> Is this because of the operating system?
>>>>
>>>>
>>>> *Thanks & Regards*
>>>> *Sasmita Panda*
>>>> *Senior Network Testing and Software Engineer*
>>>> *3CLogic , ph:07827611765*
>>>>
>>>>
>>>> On Wed, Jun 28, 2023 at 10:07 AM Sasmita Panda <spanda at 3clogic.com>
>>>> wrote:
>>>>
>>>>> 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
>>>>> .
>>>>>
>>>>> 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 .
>>>>> But this is happening in the run time . Not in the initial stage .
>>>>>
>>>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20230704/d18705c0/attachment-0001.html>


More information about the Users mailing list