Jump to content

Terrible Server World Loading


sashapony

Recommended Posts

Hello.

There seems to be a huge issue with the new multiplayer update and linux servers. I have test hosting on multiple linux installations, whether they be arch or Ubuntu based and they all have the same issue. The world does not load fast enough to keep up with player movement regardless of the amount of ram i have added to the server. running 8 gb for a single person is absolutely overkill and for some reason the server tanks like crazy if you even try to drive down the street where i am met with a wall of traffic cones and then the black void of nothingness as i am forcibly stopped in place and have to wait for the world to load. i have test this with multiplayer as well and when this happens an ENORMOUS amount of Desync happens and my passenger thinks that we are in 2 completely different parts of the map by the time the server responds for them. I also noticed that Minecraft 1.18 and 1.18.1 moved to java 17 and 17 has the same kind of issues where the world cant load worth a crap and eventually crashs and im now wondering if project zomboid is using java 17. client performance has dropped drastically in this update and hosting a server makes the game simply unplayable with friends unless the server is moved to windows and then both client and server run as intended. Testing is done in the Vanilla game so no mods are enabled.

Hoping for Support :3

Link to comment
Share on other sites

When i tried to start the server it errored out a few times saying that it failed to make the p2p connectin, then once i did get the server working as soon as i clicked to play from the character creation screen i got booted. and i had to restart the game entirely for me to actually be able to get into the world. Once i did get into the world i went into admin mode, found a car, cheated in the skills to hotwire it and gave it gas, and almost immdietly i found a world border in which i said in chat that the world stopped loading, and then i closed the game

logs.zip

Link to comment
Share on other sites

not that i have noticed but you also dont move very fast even when sprinting so idk how to test that, these issues with single player performance and server performance do not exist on the windows build of the game when tested on windows, they only happen on the linux build. the way the linux server behaves with the world not loading creates massive desync and i tested with a friend at one point by having them get in the car as a passenger, and when the world loading issue started and we both got locked in place, the server would desync us so i would keep on driving, being stopped by the frequent world borders and my friend had no idea we even moved because they were left where the first world border appeared. on windows hosting there we had 2 cars with 2 people in each cruising down the road no issue and no noticable lag of any kind.

Link to comment
Share on other sites

Vanilla server with the Apocolpse preset, although it happens on every preset. i have an AMD Ryzen 9 3900x 12 core 24 threaded cpu with 32 gb of ddr4 3000 mhz ram. Nvidia rtx 2070 Gpu. i well exceed the spec requirements for the game... as i said when i boot into windows and run there its all perfectly fine with identical server settings and identical client settings. This issue persists on Kde Neon (ubuntu 20.04), Ubuntu Gnome (ubuntu 20.04) and Manjaro KDE (Arch). The game ran better than it did on windows before the vehicle update and even back before the iwbums updates back when multiplayer was a thing before.

Edit: I Ran project zomboid in Debug mode so that i could cheat in the skills and fuel nessesary to get a car going and did the same test i been doing in the server and the issue persists in single player as well but it doesnt seem to be nearly as bad as the server. I am also running on a Fresh Reinstallation of KDE Manjaro now that i installed yesterday.

Edited by sashapony
Single player test
Link to comment
Share on other sites

It is possible that the Linux system is using Swap memory for the server operation, which would cause crazy lag. Could you check the Swap usage on the server? And can you try temporarily disabling Swap or making sure that the PC RAM does not get above its maximum?

Link to comment
Share on other sites

Not sure how to help in that case, the logs themselves look fine, meaning it would be either a general Linux network issue or just a Linux optimization problem, perhaps very dependent on the distro and what background apps you are running and such.

Link to comment
Share on other sites

i have ran it on multiple distros with absolute bare minimums running. i have even ran them both on fresh installations of the distros and no results change. i thought maybe it was a problem with the version of java as minecraft 1.18+ runs java 17 and thats when the issue started there originally. then found the issue on project zomboid. i tried running an old version of minecraft (version 1.7.10) that runs on Java 8 and the issue was not there. I dont now what to do but PZ is currently Unplayable

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...