AntiqueAtlasTeam / AntiqueAtlas

A Minecraft mod that adds a fancy interactive map item.
http://www.minecraftforum.net/topic/2045745-164forge-antique-atlas
Other
256 stars 77 forks source link

Server freeze on player connection #128

Open Sirse opened 7 years ago

Sirse commented 7 years ago

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.

Kenkron commented 7 years ago

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?

Sirse commented 7 years ago

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.

Kenkron commented 7 years ago

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

Sirse commented 7 years ago

Yea, about 3-5 seconds.

Kenkron commented 7 years ago

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.

Sirse commented 7 years ago

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

Kenkron commented 7 years ago

Oops. I forgot you were on 1.7.10. I haven't updated that branch yet. I'll let you know when I do.

On Jun 12, 2017 2:46 AM, "Sirse" notifications@github.com wrote:

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

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/AntiqueAtlasTeam/AntiqueAtlas/issues/128#issuecomment-307703918, or mute the thread https://github.com/notifications/unsubscribe-auth/ABSqAk3f9kAvXF89X5oDEbHP8YZLXzLjks5sDN7RgaJpZM4Nocx2 .

Sirse commented 7 years ago

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

Sirse commented 7 years ago

Whats about 1.7.10 update?

Kenkron commented 7 years ago

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

sp1ritCS commented 3 years ago

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 : bnbgamingcore@0.12.0,jaff@1.7_for_1.12,sevtweaks@0.3.1-25,noworldgen5you@1.0.6,uppers@0.0.6,contenttweaker@1.12.2-4.9.1,ironjetpacks@1.1.0,neat@1.4-17,infoaccessories@1.0.11,ctm@MC1.12.2-0.3.3.22,xnet@1.8.2,lex@1.0.8,reauth@3.6.0,playerskins@1.0.4,colouredtooltips@1.0.7,rangedpumps@0.5,forgelin@1.8.2,microblockcbe@2.6.1.81,stg@1.12.2-1.2.3,randompatches@1.12.2-1.22.0.0,darkutils@1.8.230,betterbuilderswands@0.13.2,morpheus@1.12.2-3.5.106,waila@1.8.26,waterstrainer@3.2.0,galacticraftplanets@4.0.2.236,guideapi@1.12-2.1.8-63,acintegration@1.11.2,mysticalagradditions@1.3.2,refinedstorage@1.6.16,betterwithlib@${version},industrialforegoing@1.12.2-1.12.2,tipthescales@1.0.4,geolosys@2.2.6,redstoneflux@2.1.0,buildcraftsilicon@7.99.24.1,poweradapters@1.0.9,reccomplex@1.4.8.2,modtweaker@4.0.17,resourceloader@1.5.3,gobblecore@1.12-0.1.6.35,watercontrolextreme@1.0.0,igwmod@1.4.4-15,abyssalcraft@1.9.19.1,buildcraftbuilders@7.99.24.1,gamestages@2.0.123,buildcraftfactory@7.99.24.1,advgenerators@0.9.20.12,teslacorelib@1.0.15,ceramics@1.12-1.3.7,fat_cat@0.0.5,triumph@3.19.2,FML@8.0.99.99,tombstone@4.0.0,enderutilities@0.7.15,primal_tech@0.3.5,chargers@1.2.0.4,weirdinggadget@1.0,forgemultipartcbe@2.6.1.81,indlog@1.3.4,codechickenlib@3.2.3.358,dungpipe@1.0,clienttweaks@3.1.11,cd4017be_lib@6.4.17,ctgui@1.0.0,mobstages@2.0.13,trumpetskeleton@1.12-1.0.2.1,sevpatches@1.4,tinkerstages@2.0.17,supersoundmuffler@1.0.2.10,mystagradcompat@1.2,smoothfont@mc1.12.2-2.1.2,jei@4.15.0.283,bnbgaminglib@2.17.6,emberroot@1.3.9,custommainmenu@2.0.9.1,bibliocraft@2.4.5,mekanism@1.12.2-9.8.3.390,samsocean@1.0.2,bdlib@1.14.3.12,simplegenerators@1.12.2-2.0.20.2,smoothfontcore@mc1.12.2-2.1.2,naturescompass@1.5.1,compactmachines3@3.0.18,aroma1997core@2.0.0.2,chameleon@1.12-4.1.3,horsepower@2.6.4,conarm@1.2.4,farmingforblockheads@3.1.28,inventorytweaks@1.64+dev.151.822d839,pneumaticcraft@1.12.2-0.11.1-361,charcoalblock@1.1,vc@5.9.16,micdoodlecore@,crafttweaker@4.1.20,immersivepetroleum@1.1.9,forge@14.23.5.2854,playerbosses@1.0,prospectors@1.0.2,quickleafdecay@1.2.4,antiqueatlas@4.6.3,cyclicmagic@1.20.3,ironchest@1.12.2-7.0.67.844,ferdinandsflowers@1.10.4.1,minecraft@1.12.2,wildcrops@1.0.1,tcomplement@1.12.2-0.4.3,mousetweaks@2.10,immersiveengineering@0.12-98,primal@0.6.104,despawningspawners@1.1,rustic@1.1.4,astikorcarts@1.12.2-0.1.2.7,mpbasic@1.4.7,totemic@1.12.2-0.11.6,mantle@1.12-1.3.3.55,integrateddynamics@1.0.14,thebetweenlands@3.5.10,bringbedrockback@0.0.4,autoreglib@1.3-31,galacticraftcore@4.0.2.236,simpleautorun@1.12.1-1.2,harvest@1.12-1.2.7-20,tallgates@1.0.0,wopper@1.12-r5,pickletweaks@2.1.3,betterbedrock@5.1,fastfurnace@1.3.1,appleskin@1.0.14,minecraftmultipartcbe@2.6.1.81,oeintegration@2.3.4,antiqueatlasoverlay@1.2,spatialservermod@1.3,immcraft@1.6.0,mobends@0.24,pdp@1.12.2-1.2.4,base@3.13.0,defaultoptions@9.2.8,buildcraftlib@7.99.24.1,cyclopscore@1.3.0,jmapstages@@VERSION@,orestages@2.0.37,astralsorcery@1.10.21,modularmachinery@1.9.5,realdrops@1.2.14,universalmodifiers@1.12.2-1.0.16.1,rftools@7.73,extendedcrafting@1.5.6,incontrol@3.9.16,lttweaker@1.1.14,kleeslabs@5.4.12,findme@1.1.0,reborncore@3.13.12.447,controlling@3.0.9,cookingforblockheads@6.5.0,placebo@1.6.0,mputils@1.5.6,bookshelf@2.3.581,huntingdim@1.0.42,improvedbackpacks@1.12.2-1.5.0.0,ironbackpacks@1.12.2-3.0.8-12,extraplanets@1.12.2-0.5.6,streams@0.4.8,buildinggadgets@2.8.3,waddles@0.6.0,carryon@1.12.3,sev_tweaks_npc@0.0.4,loadingscreens@0.3.1,mcjtylib_ng@3.5.4,fbp@2.4.1,mekatweaks@1.0.0-3,twilightforest@3.8.689,mob_grinding_utils@0.3.13,immersivetech@1.3.10,actuallybaubles@1.1,primalchests@1.0.3,tothebatpoles@1.12.2-1.1.0.1,rebornstorage@1.0.0,tinkertoolleveling@1.12.2-1.1.0.DEV.b23e769,betterwithmods@1.12-2.3.20-1027,commoncapabilities@2.4.1,crafttweakerjei@2.0.3,betterwithaddons@0.50-hotfix,galacticrafttweaker@1.12.2-1.0.3,mtlib@3.0.6,valkyrielib@1.12.2-2.0.20.1,aromabackup@2.1.1.4,togetherforever@1.0.2,sasit@1.1.32,teslacorelib_registries@1.0.15,dimstages@2.0.23,actuallyadditions@1.12.2-r149,oreexcavation@1.4.150,rftoolscontrol@2.0.2,elevatorid@1.4.2,aromabackuprecovery@2.1.1.4,norecipebook@1.2.1,environmentaltech@1.12.2-2.0.20.1,moreoverlays@1.15.1,death_compass@0.0.3,simplyarrows@1.0.4,vtt@0.6.4,quantumstorage@4.6.8,buildcraftcore@7.99.24.1,movillages@1.5.4,betteradvancements@0.1.0.77,ynot@0.2.4,jarm@1.1.2,cucumber@1.1.3,overloaded@0.0.59,witherskelefix@2.6.3,buildcrafttransport@7.99.24.1,thirstybottles@2.0.1,scannable@1.6.3.24,ivtoolkit@1.3.3-1.12,wawla@2.6.275,dimensionalcontrol@2.13.0,yoyos@1.12.2-1.3.0.21,mcp@9.42,clumps@3.1.2,progressiontweaks@1.12.2-0.3.40,journeymap@1.12.2-5.5.4,appliedenergistics2@rv6-stable-7,roadrunner@1.0.1,tumbleweed@1.12-0.4.7,nex@2.0.8,storagenetwork@1.7.11,beneath@1.5.1,jeid@1.0.3-55,foamfixcore@7.7.4,multiblockstages@1.2.0,prestige@1.1.30,integrateddynamicscompat@1.0.0,bonsaitrees@1.1.4,toastcontrol@1.8.1,walljump@1.12.2-1.2.3,traverse@1.6.0,enderstorage@2.4.6.137,farseek@2.5,nutrition@4.3.0,armoreablemobs@1.1.2,recipestages@1.1.3,zenstages@0.5.0-null,bloodmagic@1.12.2-2.4.1-103,buildcraftrobotics@7.99.24.1,mysticalagriculture@1.7.5,tconstruct@1.12.2-2.12.0.135,enchdesc@1.1.15,itemstages@2.0.49,baubles@1.5.2,stevescarts@2.4.32.137,car@1.2.12,mundaneredstone@1.1.4,justenoughpetroleum@0.1,quark@r1.5-158,spartanshields@1.5.4,fastbench@1.7.3,storagedrawers@5.2.2,natura@1.12.2-4.3.2.69,animalium@0.3.8,wanionlib@1.12.2-2.2,magma_monsters@0.3.0,chisel@MC1.12.2-0.2.1.35,foamfix@0.10.10-1.12.2,modularrouters@1.12.2-3.3.0-33,mjrlegendslib@1.12.2-1.1.8,wailastages@2.0.23,refinedstorageaddons@0.4.5,mercurius@1.0.6,chiselsandbits@14.33,translocators@2.5.2.81,betterfoliage@2.3.1
[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.

KibaTheBarbarian commented 2 years ago

i hop this get fix