[SR-Users] Kamailio didn't start before increasing fork_delay

Daniel-Constantin Mierla miconda at gmail.com
Mon Nov 27 17:22:57 CET 2017


Hello,


On 27.11.17 12:05, igor.potjevlesch at gmail.com wrote:
>
> Hello Daniel,
>
>  
>
> Thank you. Do you know some OS counters (in /proc I guess?) I can look
> to in order to diagnose deeper?
>
> Anyway, I'm already sure that the CAPS was higher than during another
> period of time.
>
this is not about caps, but limits that prevent creating new tcp (mysql)
connections. Might be even mysql server limits (how many new connections
per second it accepts). I was not able to identify the limits, that's
why I added those delay parameters.

Cheers,
Daniel

>  
>
> Regards,
>
>  
>
> Igor.
>
>  
>
> *De :*Daniel-Constantin Mierla [mailto:miconda at gmail.com]
> *Envoyé :* vendredi 24 novembre 2017 12:28
> *À :* igor.potjevlesch at gmail.com; 'Kamailio (SER) - Users Mailing
> List' <sr-users at lists.kamailio.org>
> *Objet :* Re: [SR-Users] Kamailio didn't start before increasing
> fork_delay
>
>  
>
> Hello,
>
> it can be some other limits set in the system, I encountered also with
> centos/redhat and couldn't figure out myself (well, not a sysadmin
> here). It is the reason I added fork_delay and modinit_delay. You have
> to dig in the settings of the system and try to tune them.
>
> Happening can be somehow random, a matter of how busy the system is at
> that moment.
>
> Cheers,
> Daniel
>
>  
>
> On 24.11.17 11:30, igor.potjevlesch at gmail.com
> <mailto:igor.potjevlesch at gmail.com> wrote:
>
>     Hello Daniel,
>
>      
>
>     Both Kamailio and MySQL are running under RHEL. But SELinux is
>     deactivated.
>
>      
>
>     Regards,
>
>      
>
>     Igor.
>
>      
>
>     *De :*Daniel-Constantin Mierla [mailto:miconda at gmail.com]
>     *Envoyé :* jeudi 23 novembre 2017 12:56
>     *À :* Kamailio (SER) - Users Mailing List
>     <sr-users at lists.kamailio.org>
>     <mailto:sr-users at lists.kamailio.org>; igor.potjevlesch at gmail.com
>     <mailto:igor.potjevlesch at gmail.com>
>     *Objet :* Re: [SR-Users] Kamailio didn't start before increasing
>     fork_delay
>
>      
>
>     Hello,
>
>     are you running on centos/redhat with selinux?
>
>     Cheers,
>     Daniel
>
>      
>
>     On 23.11.17 10:45, igor.potjevlesch at gmail.com
>     <mailto:igor.potjevlesch at gmail.com> wrote:
>
>         Hello,
>
>          
>
>         We suddenly had an issue on one Kamailio instance: we were not
>         able to restart. Kamailio started to boot and fork and
>         suddenly crashed.
>
>         The last logs reported a failure regarding the ability to
>         connect to one MySQL instance.
>
>          
>
>         I finally succeed  to restart after increasing:
>         fork_delay=5000 to fork_delay=9000.
>
>          
>
>         How this could happen suddenly? We already restarted Kamailio
>         on this server.
>
>          
>
>         Regards,
>
>          
>
>         Igor.
>
>
>
>
>
>         _______________________________________________
>
>         Kamailio (SER) - Users Mailing List
>
>         sr-users at lists.kamailio.org <mailto:sr-users at lists.kamailio.org>
>
>         https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
>
>
>
>     -- 
>
>     Daniel-Constantin Mierla
>
>     www.twitter.com/miconda <http://www.twitter.com/miconda> -- www.linkedin.com/in/miconda <http://www.linkedin.com/in/miconda>
>
>     Kamailio Advanced Training - www.asipto.com <http://www.asipto.com>
>
>     Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com <http://www.kamailioworld.com>
>
>
>
> -- 
> Daniel-Constantin Mierla
> www.twitter.com/miconda <http://www.twitter.com/miconda> -- www.linkedin.com/in/miconda <http://www.linkedin.com/in/miconda>
> Kamailio Advanced Training - www.asipto.com <http://www.asipto.com>
> Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com <http://www.kamailioworld.com>

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20171127/215153ef/attachment.html>


More information about the sr-users mailing list