[OpenSIPS-Users] INFO:db_mysql:switch_state_to_disconnected

Răzvan Crainea razvan at opensips.org
Mon Dec 23 09:39:15 EST 2019


There are no errors - as the level indicates, there are some INFO 
messages indicating that a re-connection is done. Most likely the 
database connection was in a stale state, and the driver decided to 
reconnect. Nothing wrong about that.

The reason for switching the endpoint in probing mode comes from the SIP 
signaling level - you should add more debugging in your script to 
understand this problem, or take a look at the signaling level.

Best regards,

Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com

On 12/23/19 11:38 AM, solarmon wrote:
> Hi,
> 
> I'm investigating why there was a blip in the Dispatcher endpoint SIP 
> Options pings. The endpoint went in to "State=2 (Probing)" state and at 
> the same time the following was logged in opensips.log:
> 
> /usr/local/sbin/opensips[29087]: 
> INFO:db_mysql:switch_state_to_disconnected: disconnect event for 
> 0x7fb482d108a8
> /usr/local/sbin/opensips[29087]: INFO:db_mysql:reset_all_statements: 
> resetting all statements on connection: (0x7fb482d11080) 0x7fb482d108a8
> /usr/local/sbin/opensips[29087]: INFO:db_mysql:connect_with_retry: 
> re-connected successful for 0x7fb482d108a8
> /usr/local/sbin/opensips[29077]: 
> INFO:db_mysql:switch_state_to_disconnected: disconnect event for 
> 0x7fb482d108a8
> /usr/local/sbin/opensips[29077]: INFO:db_mysql:reset_all_statements: 
> resetting all statements on connection: (0x7fb482d11080) 0x7fb482d108a8
> /usr/local/sbin/opensips[29077]: INFO:db_mysql:connect_with_retry: 
> re-connected successful for 0x7fb482d108a8
> 
> Please can somebody advise what these error messages mean and how/what 
> to investigate it further and resolve it.
> 
> Thank you.
> 
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> 



More information about the Users mailing list