CyberdyneCC / Thermos

(NO LONGER DEVELOPED) Minecraft Forge Server Software implementing the Spigot/Bukkit API, formerly known as Cauldron/MCPC
http://cyberdynecc.github.io/Thermos/
GNU General Public License v3.0
258 stars 186 forks source link

Server Timeout/Crash #522

Closed MJRLegends closed 7 years ago

MJRLegends commented 7 years ago

Server Log: (Use Pastebin or Github Gist) http://pastebin.com/uwTRHw4R FML Log(s): (Use Pastebin or Github Gist) N/A Explanation of issue: Seems to be when a player logs in to the server and he has a mob farm in the area where he spawns in and looks like entities are the issue, I've tried changing it to peaceful and then him joining is fine but since changing the difficulty back to normal its happening again How to recreate this issue: Not sure, see above Modpack Name: (Only if public) Space Astronomy Mods Installed: http://pastebin.com/zpYfac2E Plugins Installed: https://gyazo.com/047d07d51899a5f6487c2644f4d7779c Warmroast Report: (Optional) N/A Thermos Version: Latest Thermos Forge Version: Latest 1.7.10 Forge

Time6628 commented 7 years ago

Try build 57.

MJRLegends commented 7 years ago

I was after all using build 57 so i've now updated and changed some entities things in the spigot config and i think its fixed it. I will get back to you on the issue....

MJRLegends commented 7 years ago

@Time6628 nope still happening after what i did above?

Time6628 commented 7 years ago

What is your timeout-time in spigot.yml?

MJRLegends commented 7 years ago

timeout-time: 90

Time6628 commented 7 years ago

Increase it to 900 or 9000.

MJRLegends commented 7 years ago

Yeah but is that going to help things or is it just going to stop it crashing but make the server lag like crap

Time6628 commented 7 years ago

It's going to prevent spigot watchdog from catching the lag so quickly, if your server is stalled for 9000 ms, it will trigger, but since you have it set to 90, after a few seconds it will detect a stall. I have it set to 9000 on all my servers, and there are no issues.

MJRLegends commented 7 years ago

ok just out of interest what is actually the issue here?

Time6628 commented 7 years ago
[22:38:48] [Spigot Watchdog Thread/ERROR] [Minecraft/]:     Stack:
[22:38:48] [Spigot Watchdog Thread/ERROR] [Minecraft/]:         net.minecraft.world.World.func_94576_a(World.java:3972)
[22:38:48] [Spigot Watchdog Thread/ERROR] [Minecraft/]:         net.minecraft.world.World.func_72839_b(World.java:3959)
[22:38:48] [Spigot Watchdog Thread/ERROR] [Minecraft/]:         net.minecraft.entity.EntityLivingBase.func_85033_bc(EntityLivingBase.java:2182)
[22:38:48] [Spigot Watchdog Thread/ERROR] [Minecraft/]:         net.minecraft.entity.EntityLivingBase.func_70636_d(EntityLivingBase.java:2171)
[22:38:48] [Spigot Watchdog Thread/ERROR] [Minecraft/]:         net.minecraft.entity.EntityLiving.func_70636_d(EntityLiving.java:388)
[22:38:48] [Spigot Watchdog Thread/ERROR] [Minecraft/]:         net.minecraft.entity.monster.EntityMob.func_70636_d(EntityMob.java:36)
[22:38:48] [Spigot Watchdog Thread/ERROR] [Minecraft/]:         net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:1954)
[22:38:48] [Spigot Watchdog Thread/ERROR] [Minecraft/]:         net.minecraft.entity.EntityLiving.func_70071_h_(EntityLiving.java:213)
[22:38:48] [Spigot Watchdog Thread/ERROR] [Minecraft/]:         net.minecraft.entity.monster.EntityMob.func_70071_h_(EntityMob.java:41)
[22:38:48] [Spigot Watchdog Thread/ERROR] [Minecraft/]:         net.minecraft.entity.monster.EntitySpider.func_70071_h_(EntitySpider.java:37)
[22:38:48] [Spigot Watchdog Thread/ERROR] [Minecraft/]:         net.minecraft.world.World.func_72866_a(World.java:2740)
[22:38:48] [Spigot Watchdog Thread/ERROR] [Minecraft/]:         net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:877)
[22:38:48] [Spigot Watchdog Thread/ERROR] [Minecraft/]:         net.minecraft.world.World.func_72870_g(World.java:2678)
[22:38:48] [Spigot Watchdog Thread/ERROR] [Minecraft/]:         net.minecraft.world.World.func_72939_s(World.java:2480)
[22:38:48] [Spigot Watchdog Thread/ERROR] [Minecraft/]:         net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:673)
[22:38:48] [Spigot Watchdog Thread/ERROR] [Minecraft/]:         net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:986)
[22:38:48] [Spigot Watchdog Thread/ERROR] [Minecraft/]:         net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:432)
[22:38:48] [Spigot Watchdog Thread/ERROR] [Minecraft/]:         net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:841)
[22:38:48] [Spigot Watchdog Thread/ERROR] [Minecraft/]:         net.minecraft.server.MinecraftServer.run(MinecraftServer.java:693)
[22:38:48] [Spigot Watchdog Thread/ERROR] [Minecraft/]:         java.lang.Thread.run(Thread.java:745)

which pretty much is just entities updating.

MJRLegends commented 7 years ago

So the timeout-time is the root cause of the issue as its catching it when its not really a issue just needs more time to do a update when joining and loading the area?

Time6628 commented 7 years ago

Yes.

MJRLegends commented 7 years ago

I've increased it to 900 and it seems to be working so far, thanks i will keep this open in till my 100% sure im past this issue..

spannerman79 commented 7 years ago

The "standard" time out is perfect for vanilla spigot. If a spigot server hung for 90 seconds then yes it's an issue.

But as you know (and others) forge needs more time - hence the need for the increased time out limit

MJRLegends commented 7 years ago

Ok i was never told this needs to be increased so didn't know in till now :P

MJRLegends commented 7 years ago

@Time6628 @spannerman79 so you think 900 is enough as it seems to fix my issue atm but will i get more in the future because its at 900 not higher

spannerman79 commented 7 years ago

For now it should be. Keep on eye on it but don't always dismiss if this happens again because of the time out being too low it might be an actual mod/plugin issue.

MJRLegends commented 7 years ago

@spannerman79 yeah i know that but thanks for your information :p

MJRLegends commented 7 years ago

Nope im still getting the issue, its just freezing the server up

Time6628 commented 7 years ago

Increase it to 9000