I need help figuring out what is causing random TPS drops

My server usually has 19.98 - 20.00 TPS but it just drops at random moments and I haven't been able to figure out why. I've tried using spark but all I get is Unsafe.park() which I'm not really sure what it means. Spark: https://spark.lucko.me/l8CgTE7miK
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
No description
28 Replies
Admincraft Meta
Spark Profile Analysis
These are not magic values. Many of these settings have real consequences on your server's mechanics. See this guide for detailed information on the functionality of each setting.
✅ Your server isn't lagging
Your server is running fine with an average TPS of 20.
Requested by egirlz#0 • Page 1 of 3
Admincraft Meta
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close !close !solved !answered
Requested by egirlz#0
ProGamingDk
ProGamingDk2y ago
its just the server waiting for smth to do (unsafe.park)
ApplePi33
ApplePi33OP2y ago
Is there any way to solve this? Or figure out what exactly it's waiting for? Because it drops the TPS below 5 in worst cases
ProGamingDk
ProGamingDk2y ago
its not the lag cause
ApplePi33
ApplePi33OP2y ago
oh
ProGamingDk
ProGamingDk2y ago
where is this hosted on? windows is a weird choice as a OS
ApplePi33
ApplePi33OP2y ago
I have it hosted on a windows server
ProGamingDk
ProGamingDk2y ago
what host?
ApplePi33
ApplePi33OP2y ago
netcup it's not a dedicated minecraft host. They provide servers I could switch the OS to linux but I was told by a friend that since I'm more familiar with winodws it's better to just go with that since it wouldn't imporve the performance a lot
ProGamingDk
ProGamingDk2y ago
it wouldnt
Discount Milk
Discount Milk2y ago
You need to have spark running when you have a lag spike
ApplePi33
ApplePi33OP2y ago
it was running Was running since I restarted the server earlier
ApplePi33
ApplePi33OP2y ago
Here's the most recent one: https://spark.lucko.me/W3wSmy3GVD
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Admincraft Meta
Spark Profile Analysis
These are not magic values. Many of these settings have real consequences on your server's mechanics. See this guide for detailed information on the functionality of each setting.
✅ Your server isn't lagging
Your server is running fine with an average TPS of 20.
Requested by egirlz#0 • Page 1 of 3
ApplePi33
ApplePi33OP2y ago
I had another lag spike 10 minutes ago
No description
ApplePi33
ApplePi33OP2y ago
I should also mention I've tried running /spark profiler --only-ticks-over 150 but no matter how long I'd run it there would be no data showing even though there were occasional ticks way over 150 on tickmonitor
ApplePi33
ApplePi33OP2y ago
Just had another huge lag spike: https://spark.lucko.me/iYjMNzowVT
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
No description
Admincraft Meta
Spark Profile Analysis
These are not magic values. Many of these settings have real consequences on your server's mechanics. See this guide for detailed information on the functionality of each setting.
✅ Your server isn't lagging
Your server is running fine with an average TPS of 19.
Requested by egirlz#0 • Page 1 of 3
Senby
Senby2y ago
Do u have spartan
ProGamingDk
ProGamingDk2y ago
u can see if he does -.-
Senby
Senby2y ago
i didnt even click it i was just gonna say if u do i suggest removing it lol i had same issue and removing spartan fixed all my lag
ApplePi33
ApplePi33OP2y ago
I do not
Tizo
Tizo2y ago
I used to use netcup. Your problem is probably that the disk is too slow when saving playerdata
Discount Milk
Discount Milk2y ago
Your lag doesn't seem to be coming with an increase of MSPT. This leads me to believe that your issue is outside the standard minecraft tick loop. So that likely leaves Storage Networking CPU IO
ApplePi33
ApplePi33OP2y ago
hmm alright, thank you Do you know any better alternative I could use? I like using netcup because their root servers are pretty cheap
ProGamingDk
ProGamingDk2y ago
a mc host is probably gonna do u alot better
ApplePi33
ApplePi33OP2y ago
alright I'll look into it ty

Did you find this page helpful?