Jump to content

Recommended Posts

Posted

Hi there, my Forge server has been running fine, but when trying to explore the world or play, it randomly freezes. This is due to a tick taking forever or looping infinitely, I am not sure as to the cause.

I set the Max tick time to -1, but that does not fix the issue, only makes it so the game doesn't boot you for Timed Out. The server still freezes. The ram skyrocks to the maximum 8 GB, and then stays stuck there til it crashes itself.

I went ahead and got the Debug Log, Crash Report, and the spark profiler up until the game froze and wouldn't let me run commands.

https://paste.ee/p/5lZnI - Debug Log

https://paste.ee/p/TpQRU - Crash Report

https://spark.lucko.me/eSWlJI4Ljn - Spark Profiler

I have tried removing mods to figure out the issue, tried all mods related to structure generation, but could not figure it out.

Thank you for reading & helping

Posted

This is a repost of your question here:

https://forums.minecraftforge.net/topic/125766-forge-server-running-fine-for-a-few-minutes-then-server-freezes/#comment-542153

 

The only new information is that we can see what it was doing when it crashed. Which is processing some commands from a datapack/mod.

Quote

java.lang.Error: ServerHangWatchdog detected that a single server tick took 85.38 seconds (should be max 0.05) at net.minecraft.network.Connection.m_243124_(Connection.java:180) ~[server-1.19.2-20220805.130853-srg.jar%23404!/:?] 

-- snip --

at net.minecraft.server.ServerFunctionManager$QueuedCommand.m_179985_(ServerFunctionManager.java:135) ~[server-1.19.2-20220805.130853-srg.jar%23404!/:?] {re:classloading}

I mentioned in your post that there were broken commands in one of your mods (upgradedmobs).

 

The new log also shows it running out of memory while loading a chunk:

Quote

[20Aug2023 16:06:47.063] [Server thread/ERROR] [net.minecraft.world.level.entity.PersistentEntitySectionManager/]: Failed to read chunk [0, 0] java.util.concurrent.CompletionException: java.lang.OutOfMemoryError: Java heap space

I also mentioned on your other thread that you had chunk loading errors.

 

I take it since the rest looks unchanged, you never experimented with removing mods to try to find which one might be causing the problem(s)?
 

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Posted

Okay sorry. I've loaded up a world on this server & played just fine for about 6 hours exploring to see if it will crash. I took out various mods and all mods that optimize the server. The server worked just fine. I thought I fixed it, but then my friend joined & the game after 5 minutes of playing together started doing the same thing of the ram skyrocketing & freezing, just like before.

I do not know what to do, because the more mods that are taken out, the more the world breaks. I don't know how to tell if the problem is fixed either, because the server works fine for such a long period and then breaks. I am now testing with my friend online, and not me, to see if it works fine for him.

Any idea as to what could be causing it to run perfectly fine for a long period of time, but then the game does this freezing when another logs on? Or is that unrelated? I don't get how it can work for so long and then just break out of the blue

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.