[OpenSIPS-Users] avp_db_query and return code

Alain BIEUZENT alain.bieuzent at free.fr
Fri Jul 17 17:22:58 CEST 2015


Hello all,

 

I'm running OpenSIPS 1.11.5 with query to a MySQL database and sometime we
have this type of message (dozens of errors over several ten thousand
queries):

 

OpenSIPS[14913]: ERROR:avpops:db_query_avp: raw_query failed:
db0(usr_preferences) call ROUTING_DID("xxxxxxxxxxx")...

opensips[14908]: CRITICAL:db_mysql:db_mysql_submit_query: too many mysql
server reconnection failures

opensips[14908]: ERROR:core:db_do_raw_query: error while submitting query

 

I'm trying to add some logs by testing the different return code of
avp_db_query, but nothing in logs.

 

Of course my connection to database is ok.

 

anyone have an idea?

 

Alain.

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150717/4cfdb233/attachment.htm>


More information about the Users mailing list