Antique Atlas

Antique Atlas

32M Downloads

Server freeze on player connection

Sirse opened this issue · 12 comments

commented

MC 1.7.10, latest AA
I DONT SURE!
If player connects to server with big atlas in inventory - server temporary frezes.

[21:33:19] [Server thread/INFO] [FML/]: [Server thread] Server side modded connection established
[21:33:19] [Server thread/INFO] [antiqueatlas/]: Sent custom biome data to player Stargazer
[21:33:19] [Server thread/INFO] [antiqueatlas/]: Sent markers data #-1 to player Stargazer
[21:33:20] [Server thread/INFO] [antiqueatlas/]: Sending dimension #0
[21:33:21] [Server thread/INFO] [antiqueatlas/]: Sent dimension #0 (575 tiles)
[21:33:21] [Server thread/INFO] [antiqueatlas/]: Sending dimension #-1
[21:33:21] [Server thread/INFO] [antiqueatlas/]: Sent dimension #-1 (7 tiles)
[21:33:21] [Server thread/INFO] [antiqueatlas/]: Sending dimension #1
[21:33:21] [Server thread/INFO] [antiqueatlas/]: Sent dimension #1 (8 tiles)
[21:33:21] [Server thread/INFO] [antiqueatlas/]: Sending dimension #-3
[21:33:21] [Server thread/INFO] [antiqueatlas/]: Sent dimension #-3 (9 tiles)
[21:33:21] [Server thread/INFO] [antiqueatlas/]: Sent Atlas #671 data to player Stargazer
[21:33:21] [Server thread/INFO] [antiqueatlas/]: Sent markers data #671 to player Stargazer
[21:33:21] [Server thread/INFO] [antiqueatlas/]: Sending dimension #0
[21:33:21] [Server thread/INFO] [antiqueatlas/]: Sent dimension #0 (328 tiles)
[21:33:21] [Server thread/INFO] [antiqueatlas/]: Sending dimension #-1
[21:33:21] [Server thread/INFO] [antiqueatlas/]: Sent dimension #-1 (7 tiles)
[21:33:21] [Server thread/INFO] [antiqueatlas/]: Sending dimension #1
[21:33:21] [Server thread/INFO] [antiqueatlas/]: Sent dimension #1 (0 tiles)
[21:33:21] [Server thread/INFO] [antiqueatlas/]: Sending dimension #-3
[21:33:21] [Server thread/INFO] [antiqueatlas/]: Sent dimension #-3 (0 tiles)
[21:33:21] [Server thread/INFO] [antiqueatlas/]: Sending dimension #7
[21:33:21] [Server thread/INFO] [antiqueatlas/]: Sent dimension #7 (0 tiles)
[21:33:21] [Server thread/INFO] [antiqueatlas/]: Sent Atlas #712 data to player Stargazer
[21:33:21] [Server thread/INFO] [antiqueatlas/]: Sent markers data #712 to player Stargazer

Need testing, i think. The problem is not permanent.

commented

i hop this get fix

commented

Note: this appears to send ~32 packets.

After this log data, was there a message like "warning, server can't keep up. Is the server overloaded, or did the system time change?"

If so, what number does it give for the delay?

commented

No. Server don't drop TPS (according to Essentials plugin), but on client connection other players can't open containers, chat messages delivers with delay. After few seconds all works fine.
My server work is about half year, but this problem reported after AA update, this is first suspect.

PS: I'm using latest Thermos build.

commented

Well, the packets are sent over the course of three seconds. Is that about how long the lag lasted?

commented

Yea, about 3-5 seconds.

commented

If you're still encountering this problem, could you try again with v4.4.4? It turns out I was sending way to much information. Like, O(n^2) too much information.

commented
commented

Ok. I'm build 1.7.10 branch with implemented fix and test it today.

commented

Sry for late reply. My players tested it, lags on connection are reduced alot.
Wait for 1.7.10 branch update.

commented

Whats about 1.7.10 update?

commented

Sorry, I had to move across the state. I'll see if I can have this stuff by the end of the week.

commented

Hi, guess I'll try to revive this old issue before creating a new one. It seems I have a similar issue on 1.12.2 (SevTech Ages).

Once a certain player (ign Megumin_CC) connects, jvm locks up. It doesn't die it just freezes and all players timeout. This occurs, after [antiqueatlas]: Saving local markers data to NBT is written to stdout.

We are still in early game, so

big atlas in inventory

does not apply (or at least I think so).


The entire login sequence:

[16:44:53] [User Authenticator #2/INFO] [net.minecraft.server.network.NetHandlerLoginServer]: UUID of player Megumin_CC is 6fd4bdf0-8755-4104-84d1-28b9c72312cc
[16:44:53] [Netty Server IO #5/INFO] [FML]: Client protocol version 2
[16:44:53] [Netty Server IO #5/INFO] [FML]: Client attempting to join with 272 mods : [email protected],[email protected]_for_1.12,[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],betterwithlib@${version},[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]+dev.151.822d839,[email protected],[email protected],[email protected],micdoodlecore@,[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],jmapstages@@VERSION@,[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],appliedenergistics2@rv6-stable-7,[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
[16:44:53] [Netty Server IO #5/INFO] [journeymap]: CLIENT
[16:44:53] [Netty Server IO #5/INFO] [CodeChickenLib-ConfigSync]: Skipping config sync, No mods have registered a syncable config.
[16:45:00] [Server thread/INFO] [FML]: [Server thread] Server side modded connection established
[16:45:00] [Server thread/INFO] [net.minecraft.server.management.PlayerList]: Megumin_CC[/89.245.36.21:32296] logged in with entity id 3560 at (-228.20163442904018, 71.49520087700593, -905.0650121086146)
[16:45:00] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Megumin_CC joined the game
[16:45:00] [Server thread/INFO] [journeymap]: Megumin_CC joining dimension 0
[16:45:00] [Server thread/INFO] [Waila]: Player EntityPlayerMP['Megumin_CC'/3560, l='world', x=-228.20, y=71.50, z=-905.07] connected. Sending ping
[16:45:00] [Server thread/INFO] [buildinggadgets]: Sending SyncedConfig to freshly logged in player Megumin_CC.
[16:45:00] [Server thread/INFO] [Prestige]: Syncing requested for Megumin_CC.
[16:45:00] [Server thread/INFO] [FML]: Loading dimension 144 (world) (net.minecraft.server.dedicated.DedicatedServer@f7af6bb)
[16:45:00] [Server thread/INFO] [compactmachines3]: Loaded data for compact machine world: 0 spawn points, next machine id is 0, players with beds: 0
[16:45:00] [Server thread/INFO] [Actually Additions]: Sending Player Data to player Megumin_CC with UUID 6fd4bdf0-8755-4104-84d1-28b9c72312cc.
[16:45:00] [Server thread/INFO] [antiqueatlas]: Sent custom biome data to player Megumin_CC
[16:45:00] [Server thread/INFO] [antiqueatlas]: Sent markers data #-1 to player Megumin_CC
[16:45:00] [Server thread/INFO] [Mekanism]: Sent config to 'Megumin_CC.'
[16:45:00] [Server thread/INFO] [journeymap]: Sending log in packet.
[16:45:00] [Server thread/INFO] [ViesCraft]: Logged in Server
[16:45:00] [Server thread/INFO] [Astral Sorcery]: [Astral Sorcery] Waiting for server synchronization on login for Megumin_CC...
[16:45:00] [Server thread/INFO] [antiqueatlas]: Sending dimension #0
[16:45:00] [Server thread/INFO] [antiqueatlas]: Sent dimension #0 (17 tiles)
[16:45:00] [Server thread/INFO] [antiqueatlas]: Sending dimension #28885
[16:45:00] [Server thread/INFO] [antiqueatlas]: Sent dimension #28885 (4 tiles)
[16:45:00] [Server thread/INFO] [antiqueatlas]: Sent Atlas #0 data to player Megumin_CC
[16:45:00] [Server thread/INFO] [antiqueatlas]: Sent markers data #0 to player Megumin_CC
[16:45:00] [Server thread/INFO] [Astral Sorcery]: [Astral Sorcery] Synchronizing baseline information to Megumin_CC
[16:45:02] [Server thread/INFO] [FML]: Unloading dimension 144
[16:45:03] [Server thread/WARN] [net.minecraft.server.MinecraftServer]: Can't keep up! Did the system time change, or is the server overloaded? Running 3031ms behind, skipping 60 tick(s)
[16:45:05] [Server thread/INFO] [antiqueatlas]: Saving local markers data to NBT
[16:45:05] [Server thread/INFO] [antiqueatlas]: Saving local markers data to NBT

We have already tried to update jre (oracle, openjdk, corretto) but that didn't help.