[solved] bad server performance after updating from 0.2.34
Eld0r opened this issue ยท 2 comments
Since 0.2.35 crashed after two days and wasn't playable any more, I fall back to 0.2.34 which worked like a charm.
I recently updated to 0.2.41 and see a double in CPU usage with 0 players. it's exponentialy worse with more players.
It is getting bad with each player and it feels like even worse when the minecolonie users are online.
And after 12 hours running server even the empty server shows warnings for TPS too slow... sth is definately off
I did test two copies of my server with the exact same settings (apart from port and atm7 version).
The servers 0.2.34 (process 7644) and 0.2.41 (process 8216) start with the same anmount of ressources:
When I looked after around 12 hours 0.2.41 doubled it's CPU usage, the 0.2.34 server still used the same ressources as freshly started:
(sry, first PID was screenshot from a quick test with the same settings tho)
Both server were started the exact same time, exact same online duration.
Nobody connected to neither of them. Same world, same settings.
They have round about the same RAM usage, both plenty of spare RAM.
But the CPU usage of the 0.2.41 goes up and up over time. Now on it's way to tripple the CPU usage, after 12h runtime.
Sometimes peaking 21% usage. (probably blocking a whole core for a short time, task manager used slow update speed)
My best guess is some AI stuff.
On the live server, even after everybody hopped of again the server throws game tick took too long warnings.
I don't want to restart my server every other hour. If this issue is not solved soon-ish I may use 0.2.34 forever (?)
Note: it's no generation issue, our overworld is pregernated to worldborder 7680, also a bit of the_nther and the_end.
may or may not be related to: #372 , #472 , #495 , #378 (?)
UPDATE:
Seem to get worse faster.
As you can see by CPU-time the process used "only" 50% more than the old version.
Of course after start up there was no difference in CPU% usage so the CPU times grew the same speed.
Now with double to tripple the CPU usage the time will rise even faster.
After just one more hour the new 0.2.41 server now use additional 1-2% CPU on average.
Making it 19-20% for the 0.2.41 server comapared to 7% for the 0.2.34 server.
Both idle, not a single player ever connected. Exact same settings and world.
yeah... after just 36 something hours the empty 0.2.41 server (never visited) is unusable.
Was probably already unusable for quite bit. Java cannot use more because 25% is one complete core.
It's getting worse by the minute and will crash with timeout eventually.
All dimensions waste CPU time and therefore combined server tick time runs out of limits:
I need the ressources for more useful stuff now. Looking forward to get 0.2.34 stability back somehow.
Contact me if you want me to test something!
Edit:
idle test for 0.2.42 server started.
Looks like All the Mods 7-0.2.42 fixed the issue.
--> So just a Forge update to versions 39.0.79 - huh? ^^