U
/u/Tricky-Scarcity-9042
Guest
I'm running a Paper 26.1.2 survival server, and I'm trying to stop these server freezes I've been getting.
Everything will be normal, then everything freezes, players stand still, it's like when you lose internet while on a server. It stalls for ages, then times everyone out, then continues like nothing happened. The console freezes too, nothing shows up at all during all this. I have spark reports, server logs, plugin list at the bottom of this post.
Keep in mind that I've tried removing a bunch of plugins, and it still happened.
Plugins I've removed and re-added after it froze anyway:
The freezes are completely random. Sometimes the server will run for 8+ hours without a single issue, and other times it'll freeze after an hour or two. There doesn't seem to be a consistent interval, which makes me think it isn't related to scheduled tasks like autosaving. Sometimes it can go like 10 hours without freezing, if I afk overnight, other times it'll just randomly do it between the ranges of 3-6 hours.
I already tried some things:
Some things I noticed:
Server:
Startup command (i cant change this bc of the host):
java -Dterminal.jline=false -Dterminal.ansi=true -Xms256M -Xmx$((8192*80/100))M -jar server.jar
Plugins:
EconomyShopGUI, ExcellentEnchants, Minepacks, nightcore, PlugManX, Veinminer, AuctionHouse, BetterRTP, ChestShop, ClearLag, DamageIndicator, DeluxeMenus, DynamicLight, Essentials, EssentialsChat, EssentialsSpawn, floodgate, Geyser-Spigot, GriefPrevention, ImageFrame, InteractionVisualizer, InvSeePlusPlus, ItemEdit, LuckPerms, PistonMOTD, PlaceholderAPI, PlayerNametag, PlayerWarps, ProtocolLib, Skript, TAB, TreeFeller, UberEnchant, Vault, ViaBackwards, ViaVersion, X-Commands
Here's a spark log that ran for a long time (like 5+ hours):
https://spark.lucko.me/Wswbb67V7D
Here's a spark log that I ran as a freeze started:
https://spark.lucko.me/HnS7weyl1U
Here's the log of it starting:
https://pastebin.com/3Cy2uQ9d
Here is a log of it freezing one time:
[17:19:03 INFO]: ScubaSteveCheese issued server command: /rtp
[17:19:51 INFO]: ScubaSteveCheese issued server command: /warp end
[17:20:27 INFO]: ScubaSteveCheese has made the advancement [Remote Getaway]
[17:21:39 INFO]: Inkride lost connection: Timed out
[17:21:39 INFO]: [-] Jason left the game
[17:21:41 INFO]: ScubaSteveCheese (/67.149.126.110:49917) lost connection: Disconnected
[17:21:43 INFO]: ScubaSteveCheese was kicked due to keepalive timeout!
[17:21:43 INFO]: ScubaSteveCheese lost connection: Timed out
[17:21:43 INFO]: [-] Knowledge left the game
[17:21:56 INFO]: UUID of player ScubaSteveCheese is b4b8dd5e-a110-478e-9017-1ab63e7be3f1
[17:22:18 INFO]: ScubaSteveCheese (b4b8dd5e-a110-478e-9017-1ab63e7be3f1) lost connection: Disconnected
[17:22:25 INFO]: UUID of player ScubaSteveCheese is b4b8dd5e-a110-478e-9017-1ab63e7be3f1
[17:22:37 INFO]: Inkride (/86.139.133.27:53141) lost connection: Disconnected
[17:22:45 INFO]: [+] Knowledge joined the game
[17:22:45 INFO]: ScubaSteveCheese[/67.149.126.110:49923] logged in with entity id 21940 at ([minecraft:the_end]980.197412348669, 62.14072256902356, 874.6721691404147)
[17:23:09 INFO]: UUID of player Inkride is b6e1cca6-d5e9-4d05-affd-871036c6fac4
[17:23:09 INFO]: [+] Jason joined the game
[17:23:09 INFO]: Inkride[/86.139.133.27:62392] logged in with entity id 22061 at ([minecraft
verworld]193.49449923095335, 69.12683457519012, -7417.250053380364)
[17:23:12 INFO]: [Owner] Jason » jfc
[17:23:15 INFO]: UUID of player wildwyattgames is 092ed0ca-5ba2-4b90-a907-2262f7410377
[17:23:15 WARN]: Failed to deliver packet, sending fallback clientbound/minecraft:system_chat
io.netty.channel.StacklessClosedChannelException
at io.netty.channel.AbstractChannel.close(ChannelPromise)(Unknown Source) ~[netty-transport-4.2.7.Final.jar:4.2.7.Final]
[17:23:15 INFO]: ScubaSteveCheese lost connection: Timed out
[17:23:15 INFO]: [-] Knowledge left the game
submitted by /u/Tricky-Scarcity-9042
[link] [comments]
Continue reading...
Everything will be normal, then everything freezes, players stand still, it's like when you lose internet while on a server. It stalls for ages, then times everyone out, then continues like nothing happened. The console freezes too, nothing shows up at all during all this. I have spark reports, server logs, plugin list at the bottom of this post.
Keep in mind that I've tried removing a bunch of plugins, and it still happened.
Plugins I've removed and re-added after it froze anyway:
- ClearLag
- Veinminer
- ViaVersion
- ViaBackwards
- TreeFeller
- Skript (theres no scripts that cause it either)
- PlayerNametag
- Minepacks
- ImageFrame
- Geyser
- Floodgate
- Chunky
The freezes are completely random. Sometimes the server will run for 8+ hours without a single issue, and other times it'll freeze after an hour or two. There doesn't seem to be a consistent interval, which makes me think it isn't related to scheduled tasks like autosaving. Sometimes it can go like 10 hours without freezing, if I afk overnight, other times it'll just randomly do it between the ranges of 3-6 hours.
I already tried some things:
- Upgraded the server from 4 GB RAM to 8 GB RAM.
- Checked garbage collection. GC pauses are typically only 8–24 ms, so they don't appear long enough to explain the freezes.
- Limited the world to a 10,000 block border.
- Pregenerated all the chunks using chunky.
- Deleted everything but the plugins and world, reinstalled the paper jar and put the plugins and world back in.
Some things I noticed:
- TPS stays at 20.
- MSPT is normally around 50 ms.
- Memory usage doesn't appear to max out before the freezes. (I upgraded my ram since I was told it was because I didn't have enough ram.)
- After the freeze, the server immediately returns to normal, players get timed out, sometimes not all players. There's been a few times where one player doesn't get timed out, while everyone else does.
Server:
- Paper 26.1.2 build 72
- Java 25
- 8 GB RAM
- Hosted by Pine Hosting
Startup command (i cant change this bc of the host):
java -Dterminal.jline=false -Dterminal.ansi=true -Xms256M -Xmx$((8192*80/100))M -jar server.jar
Plugins:
EconomyShopGUI, ExcellentEnchants, Minepacks, nightcore, PlugManX, Veinminer, AuctionHouse, BetterRTP, ChestShop, ClearLag, DamageIndicator, DeluxeMenus, DynamicLight, Essentials, EssentialsChat, EssentialsSpawn, floodgate, Geyser-Spigot, GriefPrevention, ImageFrame, InteractionVisualizer, InvSeePlusPlus, ItemEdit, LuckPerms, PistonMOTD, PlaceholderAPI, PlayerNametag, PlayerWarps, ProtocolLib, Skript, TAB, TreeFeller, UberEnchant, Vault, ViaBackwards, ViaVersion, X-Commands
Here's a spark log that ran for a long time (like 5+ hours):
https://spark.lucko.me/Wswbb67V7D
Here's a spark log that I ran as a freeze started:
https://spark.lucko.me/HnS7weyl1U
Here's the log of it starting:
https://pastebin.com/3Cy2uQ9d
Here is a log of it freezing one time:
[17:19:03 INFO]: ScubaSteveCheese issued server command: /rtp
[17:19:51 INFO]: ScubaSteveCheese issued server command: /warp end
[17:20:27 INFO]: ScubaSteveCheese has made the advancement [Remote Getaway]
[17:21:39 INFO]: Inkride lost connection: Timed out
[17:21:39 INFO]: [-] Jason left the game
[17:21:41 INFO]: ScubaSteveCheese (/67.149.126.110:49917) lost connection: Disconnected
[17:21:43 INFO]: ScubaSteveCheese was kicked due to keepalive timeout!
[17:21:43 INFO]: ScubaSteveCheese lost connection: Timed out
[17:21:43 INFO]: [-] Knowledge left the game
[17:21:56 INFO]: UUID of player ScubaSteveCheese is b4b8dd5e-a110-478e-9017-1ab63e7be3f1
[17:22:18 INFO]: ScubaSteveCheese (b4b8dd5e-a110-478e-9017-1ab63e7be3f1) lost connection: Disconnected
[17:22:25 INFO]: UUID of player ScubaSteveCheese is b4b8dd5e-a110-478e-9017-1ab63e7be3f1
[17:22:37 INFO]: Inkride (/86.139.133.27:53141) lost connection: Disconnected
[17:22:45 INFO]: [+] Knowledge joined the game
[17:22:45 INFO]: ScubaSteveCheese[/67.149.126.110:49923] logged in with entity id 21940 at ([minecraft:the_end]980.197412348669, 62.14072256902356, 874.6721691404147)
[17:23:09 INFO]: UUID of player Inkride is b6e1cca6-d5e9-4d05-affd-871036c6fac4
[17:23:09 INFO]: [+] Jason joined the game
[17:23:09 INFO]: Inkride[/86.139.133.27:62392] logged in with entity id 22061 at ([minecraft
[17:23:12 INFO]: [Owner] Jason » jfc
[17:23:15 INFO]: UUID of player wildwyattgames is 092ed0ca-5ba2-4b90-a907-2262f7410377
[17:23:15 WARN]: Failed to deliver packet, sending fallback clientbound/minecraft:system_chat
io.netty.channel.StacklessClosedChannelException
at io.netty.channel.AbstractChannel.close(ChannelPromise)(Unknown Source) ~[netty-transport-4.2.7.Final.jar:4.2.7.Final]
[17:23:15 INFO]: ScubaSteveCheese lost connection: Timed out
[17:23:15 INFO]: [-] Knowledge left the game
submitted by /u/Tricky-Scarcity-9042
[link] [comments]
Continue reading...