[asterisk-bugs] [JIRA] (ASTERISK-20971) Asterisk hang occasionally
Michael L. Young (JIRA)
noreply at issues.asterisk.org
Thu Jan 24 15:15:58 CST 2013
[ https://issues.asterisk.org/jira/browse/ASTERISK-20971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=202195#comment-202195 ]
Michael L. Young commented on ASTERISK-20971:
---------------------------------------------
tombeck,
Unfortunately, 1.4 is no longer supported. If I remember correctly, I think this issue has been resolved in newer versions of Asterisk. Also, in newer versions of Asterisk, if you are using ODBC (which is recommended over the MySQL driver), you can define an alternative DB server in case the primary one does not respond.
If I were you, in the mean time, I would try to figure out why the DB server is not responding in a timely fashion. You need to check that your database server is not overly busy. I recall having this issue years ago and it was tracked down to the DB server not responding to the Asterisk query quick enough because it was busy responding to some other queries. Therefore, Asterisk thought that the DB Server had gone away and then didn't know what to do. One of my solutions was to have Asterisk (I was not storing CDRs to MySQL; so used it for read-only) use a slave replicating server for the dial plan look ups. Never had an issue after doing that.
For more information about branch support, please see https://wiki.asterisk.org/wiki/display/AST/Asterisk+Versions. After testing with Asterisk 11, if you find this problem has not been resolved, please open a new issue against Asterisk 11.
> Asterisk hang occasionally
> --------------------------
>
> Key: ASTERISK-20971
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-20971
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Reporter: tombeck
> Assignee: tombeck
> Severity: Critical
>
> Hi all
> My Trixbox is 2.6.1.0 and it occasionally hang. We have to run 01 script to check if it hang and restart it. Then it work again. At the time the Asterisk hang, all calls are dropped immediately.
> Here is the log:
> Warning[9239] app followme.c: no follow me config file (followme.conf), so no follow me.
> Error[9239] res_config_mysql.c: MySQL RealTime: Failed to connect database server on (err 2002). Check debug for more info.
> Then the Asterisk hang, and have to restart it again
> Thanks
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the asterisk-bugs
mailing list