© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
AdmincraftA
Admincraft•2y ago•
5 replies
wwwaffle

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
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
spark
pastes | Gy1H7TH4l3
A paste containing 109 lines of plaintext.
pastes | Gy1H7TH4l3
AdmincraftJoin
10,704Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Help diagnosing why my server is lagging
AdmincraftAAdmincraft / questions
10mo ago
Is my server lagging?
AdmincraftAAdmincraft / questions
2y ago
My server is lagging but i dont know why
AdmincraftAAdmincraft / questions
3y ago
Any Idea Why Server is Lagging?
AdmincraftAAdmincraft / questions
2y ago