wwwaffle
AAdmincraft
•Created by wwwaffle on 8/11/2024 in #questions
Why is my server lagging so badly whenever I connect?
My server lags so badly whenever I connect.
When I am disconnected, the server runs very smoothly for others with no lags (tps 20 all the time).
I asked the same question to the paper discord but couldn't get the answer.
Somehow, spark shows that my server only uses 1 thread of my cpu even it has authority to use all.
So I added "-XX:ActiveProcessorCount=6" to my start bat file.
It used 20 thread after I added the code but had the same problem of lagging when I connect, and for worse, it came back to using only 1 thread after that
even though the code was added.
I think the lagging problem is all about the server only using 1thread, but I can't find out how to change it.
The server somehow worked for 3days in the begining.
Bellow is my spark url and latest log
(+I am not good at both English and codding. I start learning about "how to open minecraft server" 5days ago and ended up here)
https://spark.lucko.me/lasUtNSI2d
https://pastes.dev/Gy1H7TH4l3
6 replies