Hello,


On 27.11.17 12:05, igor.potjevlesch@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@gmail.com]
Envoyé : vendredi 24 novembre 2017 12:28
À : igor.potjevlesch@gmail.com; 'Kamailio (SER) - Users Mailing List' <sr-users@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@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@gmail.com]
Envoyé : jeudi 23 novembre 2017 12:56
À : Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>; igor.potjevlesch@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@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@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users




-- 
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



-- 
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

-- 
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