Recent Discussions
Low tps in 1.20.1 server and spark just says unsafe.park(what even is that)
Unanswered
American Sable posted this in #questions
4 messages
0 views
American SableOP
anyone know what unsafe.park exactly is, i looked it up and all i get is that it means my server is waiting on something and something about native code... but in spark i cant go beyond and see what causes the unsafe.park. My server occasionally gets massive lag spikes and everything hangs for a good 3 minutes and i cant open chest and stuffs. people mentioned maybe im using a shared host, but dedicating my desktop to just running the server and playing with my laptop instead doesnt solve the issue. additionally people mentioned that my cpu(ryzen 7 7800x3d) should be fine. i have also tried allocating 8GB,12GB and 16 Gb RAM. 8Gb ram was just full on lag.
https://spark.lucko.me/0BFnBb3zON
https://spark.lucko.me/qu73L6w2rZ
how do i analyse what is the spark i notice at most projectE mod is like only using 3 percent of resources, is unsafe park caused by mods indirectly or something.
https://spark.lucko.me/0BFnBb3zON
https://spark.lucko.me/qu73L6w2rZ
how do i analyse what is the spark i notice at most projectE mod is like only using 3 percent of resources, is unsafe park caused by mods indirectly or something.
Giant panda
Yeah, so when you see Unsafe.park, java is stopping processing on the thread until a condition is met, like a person waiting for a bus at a bus stop for instance.
This could be for a number of reasons, like entities, interactions between mods, garbage collection, chunk mods, etc.
With a modpack that large it'll be difficult to diagnose. If you can use spark to make a thread dump that would be very useful.
This could be for a number of reasons, like entities, interactions between mods, garbage collection, chunk mods, etc.
With a modpack that large it'll be difficult to diagnose. If you can use spark to make a thread dump that would be very useful.
Actually, I just saw the thread dump, my bad. It looks like it's to do with chunk operations.
American SableOP
i see does that have to do with mods like chunky and chunk pregenerator or distant horizons?
Loading...
Loading...