Author Topic: Supervison restarting yate unexpectedly  (Read 6834 times)

rodrigopassos

  • Newbie
  • *
  • Posts: 25
    • View Profile
Supervison restarting yate unexpectedly
« 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

marian

  • Hero Member
  • *****
  • Posts: 513
    • View Profile
Re: Supervison restarting yate unexpectedly
« Reply #1 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)