Issue Information
-
#005968
-
3 - Medium
-
Fixed
Issue Confirmations
-
Yes (12)No (0)
Originally posted by jTynne
Using trunk 16195 and Harmony, our map-server_sql keeps spiking randomly at 99% CPU usage even with all of my scripts disabled.
I've been monitoring my server for the past three days straight, modifying/updating all of my scripts in hopes that the issue was my fault. Even had the hosting company look into it and they came up with noticing that map-server_sql keeps spiking at 99% which effectively locks everything up for my players in-game.
This has been happening periodically all day long since I first started my server last Friday afternoon. We have ~40-60 players online average, however, the CPU spikes take place regardless of how many players are online.
If ANYONE can help, I will be forever grateful. Thank you!
Using trunk 16195 and Harmony, our map-server_sql keeps spiking randomly at 99% CPU usage even with all of my scripts disabled.
I've been monitoring my server for the past three days straight, modifying/updating all of my scripts in hopes that the issue was my fault. Even had the hosting company look into it and they came up with noticing that map-server_sql keeps spiking at 99% which effectively locks everything up for my players in-game.
This has been happening periodically all day long since I first started my server last Friday afternoon. We have ~40-60 players online average, however, the CPU spikes take place regardless of how many players are online.
If ANYONE can help, I will be forever grateful. Thank you!
Originally posted by jTynne
Disabling MVP Tombstones seems to resolve the lock-ups..
Disabling MVP Tombstones seems to resolve the lock-ups..
Originally posted by jTynne
[Error]: Memory manager: args of aFree 0x0xb27a3b24 is overflowed pointer db.c line 1053
[Warning]: ers::destroy : 11 entries missing (possible double free), continuing destruction (entry size=20).
[Warning]: ers::destroy : 1 entries missing (possible double free), continuing destruction (entry size=32).
[Status]: Close Map DB Connection....
[Status]: Close Log DB Connection....
[Status]: Finished.
[Error]: Memory manager: args of aFree 0x0xb27a3864 is overflowed pointer malloc.c line 621
[Error]: Memory manager: args of aFree 0x0xb27a3b24 is overflowed pointer db.c line 1053
[Warning]: ers::destroy : 11 entries missing (possible double free), continuing destruction (entry size=20).
[Warning]: ers::destroy : 1 entries missing (possible double free), continuing destruction (entry size=32).
[Status]: Close Map DB Connection....
[Status]: Close Log DB Connection....
[Status]: Finished.
[Error]: Memory manager: args of aFree 0x0xb27a3864 is overflowed pointer malloc.c line 621
Originally posted by Sharpienero
Do you have enough RAM?
Do you have enough RAM?
Originally posted by jTynne
Yeah, well over an extra gig above what's being used. =X
Yeah, well over an extra gig above what's being used. =X
Originally posted by Sharpienero
Well from what I see, you might need extra ram.
Otherwise, I wouldn't know. Have you cleaned your system up at all with ccleaner or anything of the sort?
Yeah, well over an extra gig above what's being used. =X
Well from what I see, you might need extra ram.
Otherwise, I wouldn't know. Have you cleaned your system up at all with ccleaner or anything of the sort?
Originally posted by jTynne
System is optimized regularly; RAM usage doesn't spike. Only CPU usage. RAM is steady at around 20%.
Disabling MVP Tombstones fixed the spikes. Devs can start there.
System is optimized regularly; RAM usage doesn't spike. Only CPU usage. RAM is steady at around 20%.
Disabling MVP Tombstones fixed the spikes. Devs can start there.
Originally posted by wend
On MVP respawn while tombstone enabled CPU usage reached 100%.
On MVP respawn while tombstone enabled CPU usage reached 100%.
Originally posted by MarkZD
I confirm it.
This is a real error, you can reproduce it in a room full of MVPs, just put on some players in there with tomb system on and check your server lagging if not beeing completely locked.
Leave MVPs with a fast Respawn to check it ultra fast.
I confirm it.
This is a real error, you can reproduce it in a room full of MVPs, just put on some players in there with tomb system on and check your server lagging if not beeing completely locked.
Leave MVPs with a fast Respawn to check it ultra fast.
Edited by MarkZD, 15 June 2012 - 10:45 PM.
Originally posted by wend
But i can't reproduce this on local server..
On live server with 150+ online it causes big lag
But i can't reproduce this on local server..
On live server with 150+ online it causes big lag
Originally posted by RiverStyx
Supposedly one of the memory leaks were found and fixed in April 24th, is it possible that fix was reversed or not fixed fully?
Perhaps someone can start here? Changeset 15954
Supposedly one of the memory leaks were found and fixed in April 24th, is it possible that fix was reversed or not fixed fully?
Perhaps someone can start here? Changeset 15954
Edited by RiverStyx, 17 June 2012 - 02:14 PM.
Originally posted by jTynne
How has this not been tagged with a Severity of Critical yet?
How has this not been tagged with a Severity of Critical yet?
Originally posted by Ind
i wasn't able to reproduce this so far oo even with markzd extra info on how to reproduce
i wasn't able to reproduce this so far oo even with markzd extra info on how to reproduce
Originally posted by malufett
for all who confirm what processor speed do you used? AFAIK I core intel won't reached that high at any instance (except booting up the server with low version of i core) ...XD
for all who confirm what processor speed do you used? AFAIK I core intel won't reached that high at any instance (except booting up the server with low version of i core) ...XD
Originally posted by MarkZD
I tested it on a friend server.
It wasn't rA, it was Cronus Emulator(where Greenbox is the dev leader), so I believe the tomb is the same source or almost as it was implemented by him.
8gb shared ram, 1gb dedicated.
Intel Core2Quad Q9300 // Not sure if it's dedicated but server could handle more than 50 chars online(without tomb system). When tomb was on, it lagged during 5 sec, even if there were only 5 players on.
I said to this server owner turn off the tomb system and no more lag was noticed.
Linux CentOS 5
I tested it on a friend server.
It wasn't rA, it was Cronus Emulator(where Greenbox is the dev leader), so I believe the tomb is the same source or almost as it was implemented by him.
8gb shared ram, 1gb dedicated.
Intel Core2Quad Q9300 // Not sure if it's dedicated but server could handle more than 50 chars online(without tomb system). When tomb was on, it lagged during 5 sec, even if there were only 5 players on.
I said to this server owner turn off the tomb system and no more lag was noticed.
Linux CentOS 5
Edited by MarkZD, 17 June 2012 - 07:01 PM.
Originally posted by Vali
Same problem here, when the tomb system is active and the MvP respawn the server suffer a lag spyke:
CPU: AMD Athlon 64 Dual Core (2x 1.8Ghz)
Memory RAM: 2 GB DDR2
OS: CentOS 5
Same problem here, when the tomb system is active and the MvP respawn the server suffer a lag spyke:
CPU: AMD Athlon 64 Dual Core (2x 1.8Ghz)
Memory RAM: 2 GB DDR2
OS: CentOS 5
Originally posted by wend
Local:
Windows 7, Intel Core 2 Duo E8400 - cant reproduce
VDS:
Debian 6, Xeon E5645 - lags on MVP spawn
Local:
Windows 7, Intel Core 2 Duo E8400 - cant reproduce
VDS:
Debian 6, Xeon E5645 - lags on MVP spawn
Edited by wend, 17 June 2012 - 08:11 PM.
Originally posted by MarkZD
Apparently it can't be reproduced on windows, by looking the OS which lags is *nix.
Or not.
|
|
|
\/
Apparently it can't be reproduced on windows, by looking the OS which lags is *nix.
Or not.
|
|
|
\/
Edited by MarkZD, 18 June 2012 - 07:35 PM.
Originally posted by benzanaz
^^
||
||
||
||
Yes I'm nix (CentOS)
confirm by me,
Intel Xeon/RAM 16GB/SSD 240GB + over player 1500above
Lag when boss respawn (after tome gone)
^^
||
||
||
||
Yes I'm nix (CentOS)
confirm by me,
Intel Xeon/RAM 16GB/SSD 240GB + over player 1500above
Lag when boss respawn (after tome gone)
Edited by benzanaz, 19 June 2012 - 03:17 AM.
Originally posted by GreenBox
I've made a small optimization on tombstone system([rev=16318]), maybe it fix the cpu usage.
I've made a small optimization on tombstone system([rev=16318]), maybe it fix the cpu usage.
Originally posted by EvilPuncker
would be nice if anyone can test the change and give feedback
would be nice if anyone can test the change and give feedback