Open evgenyh opened 9 years ago
a) set your asterisk in debug mode https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information
b) enable debug in a2billing agi conf to 3
and paste some information
Not sure if this is your problem but I had a similar problem when testing high call volume.
In /var/log/messages I had the following errors
php: /var/www/html/a2billing/vendor/adodb/adodb-php/drivers/adodb-mysqli.inc.php[140]: mysqli_real_connect(): (08004/1040): Too many connections
Check mysql max connections and max used connections
show variables like "max_connections";` show global status like "Max_used_connections";
If Max used is the same or more you need to increase max connections
Add the following to /etc/my.cnf
[mysqld]
max-connections=600
or whatever number you want.
Hi guys,
in our installation a2billing.php from time to time completely hangs asterisk. This mainly happens on an established call channel when one of sides have a very bad link. When one side silently dies, asterisk trying to close the channel, when a2billing.php yet tries to complete it's execution. As a result asterisk comes onto infinite loop in attempt to close this channel. In such situation it also wont accept any new connections and can be accessible via CLI only. Only complete killing and restarting of asterisk solves this problem.
Thanks