Thread
:
MySQL connection loss leads to crashes
View Single Post
Author
Message
kadet.89
Veteran Member
Join Date: Nov 2012
Location: Serbia
07-08-2021 , 09:06 MySQL connection loss leads to crashes
#
1
I have a plugin which connects to a remote MySQL server and makes queries.
It works fine as long as there is no connection problem. When something happens on the MySQL server or between the server and the game server and the plugin can't connect to the mysql server, the game server crashes.
In the crash stack at the crash moment something happens in dbi.mysql.ext.so and then the server's watchdog kills the server. How can I rewrite the plugin to avoid this crash in future?
Attached Files
Get Plugin
or
Get Source
(testDB.sp - 156 views - 862 Bytes)
crashdmp.txt
(9.3 KB, 65 views)
Last edited by kadet.89; 07-08-2021 at
09:07
.
kadet.89
View Public Profile
Send a private message to kadet.89
Find More Posts by kadet.89