MySQL slow response after a period of run-time
#1

If I keep my server up for a few hours, the MYSQL starts to lag. When a player connects to the server, it takes more than 10 seconds for the server to fetch this single query:
PHP код:
mysql_format(sqlszQuerysizeof(szQuery), "SELECT `username` FROM `newrp_users` WHERE `username` = '%s' AND `status` = 4"GetName(playerid));
        
mysql_pquery(sqlszQuery"OnPlayerDataLoaded""d"playerid); 
When usually, it takes less than a second. Does anyone know what could be the cause?
This fixes itself after a gamemode restart.

Additional info:
Server is Linux, I'm using a static version of the plugin and latest version (R39-2).
Reply


Messages In This Thread
MySQL slow response after a period of run-time - by yanir3 - 05.10.2014, 08:04
Re: MySQL slow response after a period of run-time - by Vince - 05.10.2014, 10:30
Re: MySQL slow response after a period of run-time - by yanir3 - 05.10.2014, 12:20

Forum Jump:


Users browsing this thread: 1 Guest(s)