@DutchCrusader wrote:
So i set up a server a few days ago, and it went fine, but after a little bit of playing a little bit, with one friend we started noticing lag. So i checked the console and it was showing such a message:
[02:27:07] [Server thread/WARN]: Can’t keep up! Did the system time change, or is the server overloaded? Running 8018ms behind, skipping 160 tick(s)
So i immediately checked task manager for problems, but everything seemed normal, not spikes in processor utilization, no high ram usage, all under 30%.
My first attempted fix was allocating 4g in my newly created settings-local.sh. This solved nothing, thinking it may have been a processor bottleneck i searched the minecraft forums (was not thinking of coming here yet). Here i found a way to make the server run multithreaded. Here are my current java arguments:-server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:+CMSClassUnloadingEnabled -XX:ParallelGCThreads=4 -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10 -XX:+AggressiveOpts
(-server is to force java to use a server version of JDK or something, im not sure it’s supposed to be here.)
This Did end up Showing some results, BUT only in task manager, where now 4 threads instead of 2 are being utilized more than the 2 i left unused.
But even after this i do not end up with a positive result. An observation i made is that when we were exploring and entering the nether for the first time caused a lot of lag too, which stayed till after we stopped exploring.
(all relevant)Server specs(my old gaming pc):
CPU: AMD FX-6350
Ram: kingston hyperx ddr3 1866mhz 4x4gb
SSD; 850 evo 250gbOne other, probably unrelated, thing is that the red orchid causes a memory leak, me and my friend both experienced it 2 times. when it is held in hand, not in inventory. after wich we trashcanned it.
Greeting
Daniel
Posts: 2
Participants: 2