Yate Community Forum

Yate server => Yate bugs => Topic started by: rodrigopassos on April 24, 2018, 08:06:29 AM

Title: Supervison restarting yate unexpectedly
Post by: rodrigopassos on April 24, 2018, 08:06:29 AM
Hi all,
i have yate restarting without any out message, only with supervisor issue.
In dump file, i can't identify the real cause of this.
Anyone could help to identify the cause of this problem or show if it is a bug?

BR,

Rodrigo
Title: Re: Supervison restarting yate unexpectedly
Post by: marian on April 25, 2018, 12:54:34 AM
There are a lot of threads waiting in mysqldb for semaphore lock.
Most probably they are worker threads.
The supervisor will kill yate if no worker took a message from queue for some period. You should see it in log: Supervisor killing unresponsive child ...

1. Check your database. It may be slow (you may consider changing its structure)
2. Check if you are doing database queries on timer. Possible cause: too many database queries

You may consider increasing the number or workers in yate.conf and/or increasing the number of connections to database (mysqldb.conf, 'poolsize' parameter)