i've 5095 p-server the gameserver lost connection with database after 2 hrs from starting it
The Error >>
the msgserver memory usage increases too fast over time i know the reason but i can't find solution
login action of players have many actions of type 1077 like that
This actions repeating itself every 1 second for all online players
that's just example i've many of that kind of actions starting with login action
i tried to convert my tables from MyIsam To InnoDB but the problem still occuring
i mean .. is there any solution to make msg server memory usage increase slower ?? like stoping caching or saving logs in game server or other way ?
i want to solve this problem without deleting actions if that possible
thanks for reading ,,
The Error >>
PHP Code:
2016-7-14 16:17:52 -- ERROR: Database ExecuteSQL(MySQL client run out of memory) occur mysql error(SELECT * FROM cq_tutor WHERE tutor_id = 160840 AND Betrayal_flag = 0).
2016-7-14 16:17:52 -- ERROR: Database ExecuteSQL(Lost connection to MySQL server during query) occur mysql error(SELECT * FROM cq_tutor WHERE Student_id = 160840 AND Betrayal_flag = 0 LIMIT 1).
login action of players have many actions of type 1077 like that
PHP Code:
REPLACE INTO `cq_action` VALUES ('100000', '00000000', '00000000', '1071', '000000', '1 200000');
REPLACE INTO `cq_action` VALUES ('200000', '500000', '100000', '1077', '50', 'select who FROM bigmano where weap1=%user_id');
REPLACE INTO `cq_action` VALUES ('300000', '500000', '100000', '1077', '50', 'select who FROM bigmano where weap2=%user_id');
REPLACE INTO `cq_action` VALUES ('400000', '500000', '100000', '1077', '50', 'select who FROM bigmano where weap3=%user_id');
REPLACE INTO `cq_action` VALUES ('500000', '600000', '100000', '1077', '50', 'select who FROM bigmano where weap4=%user_id');
that's just example i've many of that kind of actions starting with login action
i tried to convert my tables from MyIsam To InnoDB but the problem still occuring
i mean .. is there any solution to make msg server memory usage increase slower ?? like stoping caching or saving logs in game server or other way ?
i want to solve this problem without deleting actions if that possible
thanks for reading ,,






