Valkyrien-Skies-2
Valkyrien-Skies-2 copied to clipboard
Valkyrien skies causing lag on servers on the latest update even without any physics objects.
I updated valkyrien skies today, and since updating, have noticed lag spikes which, the longer the server has stayed on, have increased in length and severity, Valkyrien Skies starts spamming an error message and the server will freeze for up to 30 seconds. this is most annoying because we don't actually have any valkyrien skies physics objects or eureka ships in the world at all yet. Here's the error message from the server freezing:
[21:58:50] [Server thread/WARN] [or.va.co.im.pi.VSPhysicsPipelineStage/]: Too many game frames in the game frame queue. Is the physics stage broken? [21:58:51] [Server thread/WARN] [or.va.co.im.pi.VSPhysicsPipelineStage/]: Too many game frames in the game frame queue. Is the physics stage broken? [21:58:52] [Server thread/WARN] [or.va.co.im.pi.VSPhysicsPipelineStage/]: Too many game frames in the game frame queue. Is the physics stage broken? [21:58:53] [Server thread/WARN] [minecraft/MinecraftServer]: Can't keep up! Is the server overloaded? Running 2894ms or 57 ticks behind [21:58:53] [Server thread/WARN] [or.va.co.im.pi.VSPhysicsPipelineStage/]: Too many game frames in the game frame queue. Is the physics stage broken? [21:58:54] [Server thread/WARN] [or.va.co.im.pi.VSPhysicsPipelineStage/]: Too many game frames in the game frame queue. Is the physics stage broken? [21:58:55] [Server thread/WARN] [or.va.co.im.pi.VSPhysicsPipelineStage/]: Too many game frames in the game frame queue. Is the physics stage broken? [21:58:56] [Server thread/WARN] [or.va.co.im.pi.VSPhysicsPipelineStage/]: Too many game frames in the game frame queue. Is the physics stage broken? [21:58:57] [Server thread/WARN] [or.va.co.im.pi.VSPhysicsPipelineStage/]: Too many game frames in the game frame queue. Is the physics stage broken? [21:58:58] [Server thread/WARN] [or.va.co.im.pi.VSPhysicsPipelineStage/]: Too many game frames in the game frame queue. Is the physics stage broken? [21:59:00] [Server thread/WARN] [or.va.co.im.pi.VSPhysicsPipelineStage/]: Too many game frames in the game frame queue. Is the physics stage broken? [21:59:01] [Server thread/WARN] [or.va.co.im.pi.VSPhysicsPipelineStage/]: Too many game frames in the game frame queue. Is the physics stage broken? [21:59:02] [Server thread/WARN] [or.va.co.im.pi.VSPhysicsPipelineStage/]: Too many game frames in the game frame queue. Is the physics stage broken? [21:59:03] [Server thread/WARN] [or.va.co.im.pi.VSPhysicsPipelineStage/]: Too many game frames in the game frame queue. Is the physics stage broken? [21:59:04] [Server thread/WARN] [or.va.co.im.pi.VSPhysicsPipelineStage/]: Too many game frames in the game frame queue. Is the physics stage broken? [21:59:05] [Server thread/WARN] [or.va.co.im.pi.VSPhysicsPipelineStage/]: Too many game frames in the game frame queue. Is the physics stage broken? [21:59:06] [Server thread/WARN] [or.va.co.im.pi.VSPhysicsPipelineStage/]: Too many game frames in the game frame queue. Is the physics stage broken? [21:59:07] [Server thread/WARN] [or.va.co.im.pi.VSPhysicsPipelineStage/]: Too many game frames in the game frame queue. Is the physics stage broken? [21:59:08] [Server thread/WARN] [or.va.co.im.pi.VSPhysicsPipelineStage/]: Too many game frames in the game frame queue. Is the physics stage broken? [21:59:09] [Server thread/WARN] [or.va.co.im.pi.VSPhysicsPipelineStage/]: Too many game frames in the game frame queue. Is the physics stage broken? [21:59:10] [Server thread/WARN] [or.va.co.im.pi.VSPhysicsPipelineStage/]: Too many game frames in the game frame queue. Is the physics stage broken? [21:59:11] [Server thread/WARN] [or.va.co.im.pi.VSPhysicsPipelineStage/]: Too many game frames in the game frame queue. Is the physics stage broken? [21:59:12] [Server thread/WARN] [or.va.co.im.pi.VSPhysicsPipelineStage/]: Too many game frames in the game frame queue. Is the physics stage broken? [21:59:13] [Server thread/WARN] [or.va.co.im.pi.VSPhysicsPipelineStage/]: Too many game frames in the game frame queue. Is the physics stage broken? [21:59:14] [Server thread/WARN] [or.va.co.im.pi.VSPhysicsPipelineStage/]: Too many game frames in the game frame queue. Is the physics stage broken? [21:59:15] [Server thread/WARN] [or.va.co.im.pi.VSPhysicsPipelineStage/]: Too many game frames in the game frame queue. Is the physics stage broken? [21:59:16] [Server thread/WARN] [or.va.co.im.pi.VSPhysicsPipelineStage/]: Too many game frames in the game frame queue. Is the physics stage broken? [21:59:17] [Server thread/WARN] [or.va.co.im.pi.VSPhysicsPipelineStage/]: Too many game frames in the game frame queue. Is the physics stage broken? [21:59:18] [Server thread/WARN] [or.va.co.im.pi.VSPhysicsPipelineStage/]: Too many game frames in the game frame queue. Is the physics stage broken? [21:59:19] [Server thread/WARN] [or.va.co.im.pi.VSPhysicsPipelineStage/]: Too many game frames in the game frame queue. Is the physics stage broken? [21:59:23] [Server thread/WARN] [minecraft/MinecraftServer]: Can't keep up! Is the server overloaded? Running 14554ms or 291 ticks behind
How much RAM have you allocated? I recommend at least 4GB on a server.
I have 20 GB allocated bc it's a decently large modpack so RAM should be no issue
tbh it only uses around 9 GB on average so I should probably lower that number, which might help with performance, but I don't think that's causing the issue with VS
Looks like the physics thread died.
@BookWyrm114 fun fact: VS2 uses ram Outside of the JVM so it is actually better to leave some extra space around it
Looks like the physics thread died.
do you know what could be causing this? We aren't making use of VS at all yet in the server but after a while of playing we'll start getting that error and the server will eventually start freezing up
@BookWyrm114 fun fact: VS2 uses ram Outside of the JVM so it is actually better to leave some extra space around it
thanks!
The bug would also already sent to the developers of Magma Minecraft servers, because there the problem with this mod even more extreme appearance: https://git.magmafoundation.org/magmafoundation/Magma-1-18-x/-/issues/181
In my case the world boots normally at the first start of the server (where the world has to be created first), then at the second boot where the world should actually be loaded normally the problem occurs and instead of the world starting to load (the percentages 0, 50, etc.) only the line mentioned above in this thread is spammed in the log...
The server behaves differently when it is started for the first time (still needing to create a world) and when a world already exists: First start: https://mclo.gs/WxVRPvV Second start: https://mclo.gs/XSxZOZo
It is really strange I have done several things and all of a sudden it worked again... what exactly I did I had already described in the thread I linked above
I do not understand it :/
I am afraid that there are no updates on this topic... but I'll try to bump it anyway, I have the same problem.
ALSO the server eventualy crashes... :sob:
bump
I have 20 GB allocated bc it's a decently large modpack so RAM should be no issue
VS2 uses RAM outside of allocated, so don’t allocate all of your RAM to your modpack
Can replicate on my end, do you mind sending a modlist so we can potentially identify any other variables? I'm only using about half of my ram for the pack and the error is persisting on both a dedicated server, and my client server after a time
@BookWyrm114 fun fact: VS2 uses ram Outside of the JVM so it is actually better to leave some extra space around it
thanks!
bump
anyone have a fix since now? i am on 1.19.2 and have the same issue, might cancel the mod out of my mods, bc we cant play with that lag
It is really strange I have done several things and all of a sudden it worked again... what exactly I did I had already described in the thread I linked above
I do not understand it :/ -MarioPEgamer
First off, please atleast say something as to how you fixed your issue. This is annoying. And frustrating. To the people who have the same problem but are looking for a solution on the internet. As for anyone who is going to read this thread in the far far future where nobody will be able to provide the answer anymore, Here is your saving grace if you are making a server with Valkyrien Skies.
A detailed view of the settings in question:
"physics" : { "lodDetail" : 256, "subSteps" : 10, "iterations" : 2, "solver" : "JACOBI", "maxDePenetrationSpeed" : 10.0, "physicsSpeed" : 0.9 },
Initially during my investigation of the "Server overloaded" problem, I have found a single text that states "-in the most recent update of Valkyrien Skies, this error happened"... Continued investigation yielded little to no results as the only person who seemed to have fixed the issue for themself never sent a message again. However, I have deduced that this "recent update" of Valkyrien Skies would be an improvement in the physics engine... that would also unfortunately overload the server, that the mod devs never cared to fix at all. From this information, I took towards switching the "solver" parameter and switching GAUSS_SEIDEL for the older JACOBI. This is what fixed my issue.
Link to the issue form: https://github.com/ValkyrienSkies/Valkyrien-Skies-2/issues/323
Nevermind, the server is still crashing - only that it takes a bit longer to do so. What a shame...
I'll try an experiment; making the terrainDeletionThreads higher rate and priority than terrainBakingThreads. If it continually bakes terrain to the point of it crashing, then surely cleaning faster than it can make a mess will help?
It is really strange I have done several things and all of a sudden it worked again... what exactly I did I had already described in the thread I linked above
I do not understand it :/
What did you do???
I am running this mod with 8 GB RAM allocated, 6 EPYC cores and only 1 player... 13 TPS with only a few smaller contraptions. Spark profiler: https://spark.lucko.me/9RBseMwZhY
I am running this mod with 8 GB RAM allocated, 6 EPYC cores and only 1 player... 13 TPS with only a few smaller contraptions. Spark profiler: https://spark.lucko.me/9RBseMwZhY
very many players is incompatible with VS2.
Also don't hijack random issue reports in order to post your own unrelated issue
I am running this mod with 8 GB RAM allocated, 6 EPYC cores and only 1 player... 13 TPS with only a few smaller contraptions. Spark profiler: https://spark.lucko.me/9RBseMwZhY
Server cpus suck usually for minecraft, the singlecore performance is garbage
To solve the problem temporarily, I deleted the entities folder in world folder, and it worked. However, I didn't know what new problems it would cause
So will this ever be fixed?
Yes, I just closed all the duplicate issues. This will likely be fixed as VS is optimized.
So will this ever be fixed?
Can you guys knock it off with posting that, bumping does nothing and is spamming.