Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lag and high diff time in MapMgr after some uptime. #1166

Closed
Undergarun opened this issue Sep 14, 2012 · 11 comments
Closed

Lag and high diff time in MapMgr after some uptime. #1166

Undergarun opened this issue Sep 14, 2012 · 11 comments

Comments

@Undergarun
Copy link
Member

2012-09-15 00:45:47 ERROR:[WorldStatistic]: AuctionBot: 0 AuctionMgr: 0 BattleGroundMgr: 0 CLI: 0 LFGMgr: 0 MapMgr: 819 MapPersistentStateMgr: 0 MapUpdates: 0 MassMailMgr: 0 OutdoorPvPMgr: 0 Quests+RandomBG: 0 RemoveAllObjectsInRemoveList: 0 Sessions: 49 TerrainMgr (Grid/Vmap): 0 UpdateResultQueue: 0 Weather and Uptime: 0
2012-09-15 00:45:47 ERROR:[MapStatistic]: (id 571, inst 0, diff 0): AVG exec time 243.786484 ms, objects/type: 0 Objects, 0 Items, 0 Containers, 2537 Units, 161 Players, 1946 GOs, 2 DynamicGOs, 38 Corpses, 11588 Auras, 7987 Holders
2012-09-15 00:45:47 ERROR:[MapStatistic]: (id 1, inst 0, diff 0): AVG exec time 206.493134 ms, objects/type: 0 Objects, 0 Items, 0 Containers, 2312 Units, 143 Players, 1047 GOs, 1 DynamicGOs, 113 Corpses, 7838 Auras, 5341 Holders
2012-09-15 00:45:47 ERROR:[MapStatistic]: (id 0, inst 0, diff 0): AVG exec time 144.750153 ms, objects/type: 0 Objects, 0 Items, 0 Containers, 1888 Units, 118 Players, 1601 GOs, 0 DynamicGOs, 100 Corpses, 5700 Auras, 3958 Holders

And this in my realm with less population. 819 ms.

Also i add a new clue, sometimes when i compile mangos at the same time as is in execution, this starts happens. Even if uptime is less than 2 hours and players are 700-900.

@Undergarun
Copy link
Member Author

Look, map 571 not only the slowest exec time, also maps 1 and 0. I think issue not in massive spawning on map, issue in other place.

@rsa
Copy link
Member

rsa commented Sep 15, 2012

yes, all continets appeared. but 571 - always first.

@rsa
Copy link
Member

rsa commented Sep 15, 2012

need this measurements with "use unordered_map instead of TypeUnorderedMap" commit active. as i think, this may be related...

@rsa
Copy link
Member

rsa commented Sep 18, 2012

possible problem founded...
http://ru-mangos.ru/showthread.php?p=29475#post29475
need research and check.

@Venom
Copy link

Venom commented Oct 23, 2012

i just compiled server on localhost and its like 1200 ms LAG. no ping. but LAG is horrble. 👎
so i changed mangosd.conf to old mangosd.conf and problem fixed. somthing wrong in new config file i ll check later

@Undergarun
Copy link
Member Author

More info: This still happening after WorldStates speedup and some others, but now instead of increase CPU use to 100%, increase it just to 60%-70%... so seems like when some player make something, MapMgr increase its load too much until next server restart and also seems to be something with high locking.

@Undergarun
Copy link
Member Author

Issue start happening if you compile at the same time as mangos is running. Not always but most cases, specially after some time uptime.

@mns
Copy link

mns commented Mar 15, 2013

news ?

@Undergarun
Copy link
Member Author

Still happens.

@rsa
Copy link
Member

rsa commented Nov 8, 2013

not happens?!!

@Undergarun
Copy link
Member Author

Possible yes, but after lots of changes, better to continue on #1402

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants