TickThreading - concurrent entity/tile entity ticks and other optimisations

nallar

New Member
Jul 29, 2019
270
0
0
Build 834 was spamming after about 3 hours of use by 3 people, moving to 854. Spam below.

Edit - Some day I will move to using github.

2013-02-06 01:49:23 [SEVERE] [ForgeModLoader] TickNextTick list out of sync - attempting to recover!
2013-02-06 01:49:23 [SEVERE] [ForgeModLoader] TickNextTick list out of sync - attempting to recover!
2013-02-06 01:49:23 [SEVERE] [ForgeModLoader] TickNextTick list out of sync - attempting to recover!
2013-02-06 01:49:23 [SEVERE] [ForgeModLoader] TickNextTick list out of sync - attempting to recover!
2013-02-06 01:49:23 [SEVERE] [ForgeModLoader] TickNextTick list out of sync - attempting to recover!
2013-02-06 01:49:23 [SEVERE] [ForgeModLoader] TickNextTick list out of sync - attempting to recover!
2013-02-06 01:49:23 [SEVERE] [ForgeModLoader] TickNextTick list out of sync - attempting to recover!
2013-02-06 01:49:23 [SEVERE] [ForgeModLoader] TickNextTick list out of sync - attempting to recover!
2013-02-06 01:49:23 [SEVERE] [ForgeModLoader] TickNextTick list out of sync - attempting to recover!
2013-02-06 01:49:24 [SEVERE] [ForgeModLoader] TickNextTick list out of sync - attempting to recover!
2013-02-06 01:49:24 [SEVERE] [ForgeModLoader] TickNextTick list out of sync - attempting to recover!
2013-02-06 01:49:24 [SEVERE] [ForgeModLoader] TickNextTick list out of sync - attempting to recover!
2013-02-06 01:49:24 [SEVERE] [ForgeModLoader] TickNextTick list out of sync - attempting to recover!
2013-02-06 01:49:24 [SEVERE] [ForgeModLoader] TickNextTick list out of sync - attempting to recover!
2013-02-06 01:49:24 [SEVERE] [ForgeModLoader] TickNextTick list out of sync - attempting to recover!
2013-02-06 01:49:24 [SEVERE] [ForgeModLoader] TickNextTick list out of sync - attempting to recover!
2013-02-06 01:49:24 [SEVERE] [ForgeModLoader] TickNextTick list out of sync - attempting to recover!
2013-02-06 01:49:24 [SEVERE] [ForgeModLoader] TickNextTick list out of sync - attempting to recover!
2013-02-06 01:49:24 [SEVERE] [ForgeModLoader] TickNextTick list out of sync - attempting to recover!
2013-02-06 01:49:24 [SEVERE] [ForgeModLoader] TickNextTick list out of sync - attempting to recover!
2013-02-06 01:49:24 [SEVERE] [ForgeModLoader] TickNextTick list out of sync - attempting to recover!
2013-02-06 01:49:24 [SEVERE] [ForgeModLoader] TickNextTick list out of sync - attempting to recover!
2013-02-06 01:49:24 [SEVERE] [ForgeModLoader] TickNextTick list out of sync - attempting to recover!
2013-02-06 01:49:24 [SEVERE] [ForgeModLoader] TickNextTick list out of sync - attempting to recover!
2013-02-06 01:49:24 [SEVERE] [ForgeModLoader] TickNextTick list out of sync - attempting to recover!
2013-02-06 01:49:24 [SEVERE] [ForgeModLoader] TickNextTick list out of sync - attempting to recover!
2013-02-06 01:49:24 [SEVERE] [ForgeModLoader] TickNextTick list out of sync - attempting to recover!
2013-02-06 01:49:24 [SEVERE] [ForgeModLoader] TickNextTick list out of sync - attempting to recover!
2013-02-06 01:49:24 [SEVERE] [ForgeModLoader] TickNextTick list out of sync - attempting to recover!
2013-02-06 01:49:25 [SEVERE] [ForgeModLoader] TickNextTick list out of sync - attempting to recover!
That's fixed in latest. edit: Or 854 :)
 

WitherSauce

New Member
Jul 29, 2019
82
0
0
Hi,

Out of pure curiosity, would it be possible to make it so this mod does not require running the PATCHME.cmd/sh file? The hosting service i use, while great, does not allow remote execution of files due to security reasons. I am by no means requesting this be implemented :)

On a similar note and slightly off topic, would it be possible to somehow bypass this block by making it so Minecraft/ Forge auto-patches the mods using the PATCHME.cmd at server startup? Similarly, is it possible to execute a server.bat file automatically without remotely and manually executing it?
 

TruculentMC

New Member
Jul 29, 2019
130
0
0
We are having some severe performance degradation after a few hours. After 1-2 hours tps will fall below 20, and users complain of block lag or placed blocks disappearing back to inventory. After ~8 hours uptime overnight, with no more than 1-2 users connected, the server is lagged to almost unplayable levels. Looks like all the time is being spent in world/updateEntities, but I'm not entirely sure how to track it down further... any tips? I've checked the locations indicated by /ticks and while there are some elaborate machine setups, I don't see anything immediately obvious as to what could be causing the server to lag so badly. Any help or advice on what I can do?


Also, can I ask what the 'N' column in /ticks indicates?

Code:
2013-02-06 11:05:07 [INFO] World: Overworld/0
2013-02-06 11:05:07 [INFO] ---- Slowest tick regions ----
2013-02-06 11:05:07 [INFO]   |    X |   Z |   N |   Time
2013-02-06 11:05:07 [INFO] T |   96 | 544 |  68 | 63.822
2013-02-06 11:05:07 [INFO] T |  160 | 288 | 464 | 59.342
2013-02-06 11:05:07 [INFO] T |   96 | 528 |  86 | 54.537
2013-02-06 11:05:07 [INFO] T |  112 | 576 |  46 | 35.609
2013-02-06 11:05:07 [INFO] T | -256 | 432 | 103 | 31.167
2013-02-06 11:05:07 [INFO] T | -128 | 208 | 402 | 30.014
2013-02-06 11:05:07 [INFO] T |  160 | 304 | 214 | 20.034
2013-02-06 11:05:07 [INFO] ---- World stats ----
2013-02-06 11:05:07 [INFO] Average tick time: 1.5571727ms
2013-02-06 11:05:07 [INFO] Max tick time: 63.822044ms
2013-02-06 11:05:07 [INFO] Effective tick time: 24.179768ms
2013-02-06 11:05:07 [INFO] Average effective tick time: 108.89868ms
 
2013-02-06 11:05:14 [INFO] TickThreading v1.0.0.834 for MC1.4.7
2013-02-06 11:05:14 [INFO]             World |    TPS | Entities | Tiles | Chunks |     Load
2013-02-06 11:05:14 [INFO] Twilight Forest/7 | 20.000 |        7 |    42 |     28 |   4.312%
2013-02-06 11:05:14 [INFO]   Mining World!/8 | 20.000 |      439 |   912 |    108 |  94.203%
2013-02-06 11:05:14 [INFO]       Overworld/0 |  6.868 |      337 |  8789 |    622 | 291.185%
2013-02-06 11:05:14 [INFO]         Nether/-1 | 20.000 |        7 |    21 |      9 |   3.861%
2013-02-06 11:05:14 [INFO]           Overall | 19.626 |          |       |        | 205.072%
 
2013-02-06 11:05:26 [INFO] Profiling for 10 seconds in Overworld/0
2013-02-06 11:05:37 [INFO]                                    Class |     Time
2013-02-06 11:05:37 [INFO]                     World/updateEntities | 8970.159
2013-02-06 11:05:37 [INFO]                         WorldServer/tick |  332.115
2013-02-06 11:05:37 [INFO]        WorldServer/tickBlocksAndAmbiance |   37.545
2013-02-06 11:05:37 [INFO]     SpawnerAnimals/findChunksForSpawning |   33.906
2013-02-06 11:05:37 [INFO] World/setActivePlayerChunksAndCheckLight |   14.312
2013-02-06 11:05:37 [INFO]                                    Class | Time/tick | Calls
2013-02-06 11:05:37 [INFO]                     World/updateEntities |   135.912 |   264
2013-02-06 11:05:37 [INFO]                         WorldServer/tick |     5.032 |   264
2013-02-06 11:05:37 [INFO]        WorldServer/tickBlocksAndAmbiance |     0.569 |   264
2013-02-06 11:05:37 [INFO]     SpawnerAnimals/findChunksForSpawning |     0.514 |   264
2013-02-06 11:05:37 [INFO] World/setActivePlayerChunksAndCheckLight |     0.217 |   264


After restarting:

Code:
2013-02-06 11:53:35 [INFO] [Minecraft] World: Overworld/0
2013-02-06 11:53:35 [INFO] [Minecraft] ---- Slowest tick regions ----
2013-02-06 11:53:35 [INFO] [Minecraft]   |    X |   Z |   N |   Time
2013-02-06 11:53:35 [INFO] [Minecraft] T |  160 | 288 | 464 | 11.107
2013-02-06 11:53:35 [INFO] [Minecraft] T |   96 | 544 |  68 |  4.522
2013-02-06 11:53:35 [INFO] [Minecraft] T |  176 | 288 | 111 |  2.160
2013-02-06 11:53:35 [INFO] [Minecraft] T |  160 | 304 | 214 |  2.118
2013-02-06 11:53:35 [INFO] [Minecraft] T |  144 | 288 | 344 |  1.583
2013-02-06 11:53:35 [INFO] [Minecraft] E | -208 | 304 |  39 |  1.018
2013-02-06 11:53:35 [INFO] [Minecraft] T |   96 | 528 |  86 |  0.959
2013-02-06 11:53:35 [INFO] [Minecraft] ---- World stats ----
2013-02-06 11:53:35 [INFO] [Minecraft] Average tick time: 0.20007491ms
2013-02-06 11:53:35 [INFO] [Minecraft] Max tick time: 11.106673ms
2013-02-06 11:53:35 [INFO] [Minecraft] Effective tick time: 19.24403ms
2013-02-06 11:53:35 [INFO] [Minecraft] Average effective tick time: 16.095081ms
 
2013-02-06 11:53:37 [INFO] [Minecraft] TickThreading v1.0.0.834 for MC1.4.7
2013-02-06 11:53:37 [INFO] [Minecraft]             World |    TPS | Entities | Tiles | Chunks |    Load
2013-02-06 11:53:37 [INFO] [Minecraft]       Overworld/0 | 20.000 |      335 |  8611 |    580 | 43.147%
2013-02-06 11:53:37 [INFO] [Minecraft] Twilight Forest/7 | 20.000 |        7 |    38 |     26 |  2.576%
2013-02-06 11:53:37 [INFO] [Minecraft]   Mining World!/8 | 20.000 |      438 |   912 |    106 | 11.948%
2013-02-06 11:53:37 [INFO] [Minecraft]         Nether/-1 | 20.000 |        1 |    11 |      6 |  1.999%
2013-02-06 11:53:37 [INFO] [Minecraft]           Overall | 20.091 |          |       |        | 40.678%
 
2013-02-06 11:53:41 [INFO] [Minecraft] Profiling for 10 seconds in Overworld/0
2013-02-06 11:53:52 [INFO] [Minecraft]                                    Class |     Time
2013-02-06 11:53:52 [INFO] [Minecraft]                     World/updateEntities | 4389.125
2013-02-06 11:53:52 [INFO] [Minecraft]                         WorldServer/tick |  394.856
2013-02-06 11:53:52 [INFO] [Minecraft]        WorldServer/tickBlocksAndAmbiance |   57.320
2013-02-06 11:53:52 [INFO] [Minecraft]      PlayerManager/updatePlayerInstances |   35.159
2013-02-06 11:53:52 [INFO] [Minecraft] World/setActivePlayerChunksAndCheckLight |   31.880
2013-02-06 11:53:52 [INFO] [Minecraft]                                    Class | Time/tick | Calls
2013-02-06 11:53:52 [INFO] [Minecraft]                     World/updateEntities |    21.946 |   800
2013-02-06 11:53:52 [INFO] [Minecraft]                         WorldServer/tick |     1.974 |   800
2013-02-06 11:53:52 [INFO] [Minecraft]        WorldServer/tickBlocksAndAmbiance |     0.287 |   800
2013-02-06 11:53:52 [INFO] [Minecraft]      PlayerManager/updatePlayerInstances |     0.176 |   800
2013-02-06 11:53:52 [INFO] [Minecraft] World/setActivePlayerChunksAndCheckLight |     0.159 |   800
[DOUBLEPOST=1360181821][/DOUBLEPOST]
Hi,

Out of pure curiosity, would it be possible to make it so this mod does not require running the PATCHME.cmd/sh file? The hosting service i use, while great, does not allow remote execution of files due to security reasons. I am by no means requesting this be implemented :)

On a similar note and slightly off topic, would it be possible to somehow bypass this block by making it so Minecraft/ Forge auto-patches the mods using the PATCHME.cmd at server startup? Similarly, is it possible to execute a server.bat file automatically without remotely and manually executing it?

Is it possible to run the patch script on your local machine, and upload the patched server to your hosting provider?
 
  • Like
Reactions: WitherSauce

nallar

New Member
Jul 29, 2019
270
0
0
N = number of entities or tile entities, depending on type. What does `/profile e` show? Also, TP to one of the slow chunks in /ticks and do `/profile c` to see what's making that specific chunk slow.
 

WitherSauce

New Member
Jul 29, 2019
82
0
0
Thanks for the idea! Will give it a shot. Would this method require that I redistribute the patched mods to clients as well, or is it only necessary server side?
 

TruculentMC

New Member
Jul 29, 2019
130
0
0
Neat, I had no idea about those commands. I put the output below of /profile e, from the server console... looks like boilers and some tube/chest setup currently taking too long to tick. Very nice to have the exact blocks with coords to investigate -- thanks for that! I'll check again in some hours when the server starts heavily lagging again.
I can't check /profile c (what does it do?) until I'm home from work and can get on a client. What other commands does TT provide ?


Code:
2013-02-06 13:28:41 [INFO] [Minecraft] Profiling for 10 seconds in Overworld/0
2013-02-06 13:28:52 [INFO] [Minecraft]                  Class | Total Time/Tick
2013-02-06 13:28:52 [INFO] [Minecraft] TileBoilerFireboxSolid |          13.864
2013-02-06 13:28:52 [INFO] [Minecraft]      TileConduitEnergy |           7.665
2013-02-06 13:28:52 [INFO] [Minecraft]       machine.TileTube |           6.576
2013-02-06 13:28:52 [INFO] [Minecraft]       TileTankIronWall |           3.657
2013-02-06 13:28:52 [INFO] [Minecraft]       TileEntityBarrel |           2.770
2013-02-06 13:28:52 [INFO] [Minecraft]                            Class | Time/tick | Calls
2013-02-06 13:28:52 [INFO] [Minecraft] RedPowerTileEntityTurtleExpanded |     0.351 |   996
2013-02-06 13:28:52 [INFO] [Minecraft]           TileBoilerFireboxSolid |     0.257 | 10755
2013-02-06 13:28:52 [INFO] [Minecraft]                  Carts.entMCBase |     0.152 |   400
2013-02-06 13:28:52 [INFO] [Minecraft]              TileEntityInfoPanel |     0.137 |  1993
2013-02-06 13:28:52 [INFO] [Minecraft]              entity.EntityTurret |     0.102 |   600
2013-02-06 13:28:52 [INFO] [Minecraft] com.eloraam.redpower.machine.TileTube@6431c91b x,y,x: -209, 21, 346 took too long: 34ms
2013-02-06 13:28:52 [INFO] [Minecraft] railcraft.common.blocks.machine.beta.TileBoilerFireboxSolid@3d09bb85 x,y,x: 104, 65, 544 took too long: 41ms
2013-02-06 13:28:52 [INFO] [Minecraft] thermalexpansion.transport.tileentity.TileConduitEnergy@15490463 x,y,x: 110, 66, 543 took too long: 40ms
2013-02-06 13:28:52 [INFO] [Minecraft] railcraft.common.blocks.machine.beta.TileBoilerFireboxSolid@47f945fe x,y,x: -118, 66, 200 took too long: 36ms
2013-02-06 13:28:52 [INFO] [Minecraft] railcraft.common.blocks.machine.beta.TileBoilerFireboxSolid@73951c4c x,y,x: 175, 100, 303 took too long: 42ms
2013-02-06 13:28:52 [INFO] [Minecraft] cpw.mods.ironchest.TileEntityIronChest@40ef6d2f x,y,x: 107, 65, 519 took too long: 40ms
2013-02-06 13:28:52 [INFO] [Minecraft] shedar.mods.ic2.nuclearcontrol.tileentities.TileEntityInfoPanel@fffd3923 x,y,x: -224, 99, 423 took too long: 33ms
[DOUBLEPOST=1360186523][/DOUBLEPOST]
Thanks for the idea! Will give it a shot. Would this method require that I redistribute the patched mods to clients as well, or is it only necessary server side?

The patching is only necessary server-side, no need to distribute anything to the clients. Patching the client is possible but unsupported and not recommended; it may not work well or at all.
 
  • Like
Reactions: WitherSauce

nallar

New Member
Jul 29, 2019
270
0
0
Neat, I had no idea about those commands. I put the output below of /profile e, from the server console... looks like boilers and some tube/chest setup currently taking too long to tick. Very nice to have the exact blocks with coords to investigate -- thanks for that! I'll check again in some hours when the server starts heavily lagging again.
I can't check /profile c (what does it do?) until I'm home from work and can get on a client. What other commands does TT provide ?


Code:
2013-02-06 13:28:41 [INFO] [Minecraft] Profiling for 10 seconds in Overworld/0
2013-02-06 13:28:52 [INFO] [Minecraft]                  Class | Total Time/Tick
2013-02-06 13:28:52 [INFO] [Minecraft] TileBoilerFireboxSolid |          13.864
2013-02-06 13:28:52 [INFO] [Minecraft]      TileConduitEnergy |          7.665
2013-02-06 13:28:52 [INFO] [Minecraft]      machine.TileTube |          6.576
2013-02-06 13:28:52 [INFO] [Minecraft]      TileTankIronWall |          3.657
2013-02-06 13:28:52 [INFO] [Minecraft]      TileEntityBarrel |          2.770
2013-02-06 13:28:52 [INFO] [Minecraft]                            Class | Time/tick | Calls
2013-02-06 13:28:52 [INFO] [Minecraft] RedPowerTileEntityTurtleExpanded |    0.351 |  996
2013-02-06 13:28:52 [INFO] [Minecraft]          TileBoilerFireboxSolid |    0.257 | 10755
2013-02-06 13:28:52 [INFO] [Minecraft]                  Carts.entMCBase |    0.152 |  400
2013-02-06 13:28:52 [INFO] [Minecraft]              TileEntityInfoPanel |    0.137 |  1993
2013-02-06 13:28:52 [INFO] [Minecraft]              entity.EntityTurret |    0.102 |  600
2013-02-06 13:28:52 [INFO] [Minecraft] com.eloraam.redpower.machine.TileTube@6431c91b x,y,x: -209, 21, 346 took too long: 34ms
2013-02-06 13:28:52 [INFO] [Minecraft] railcraft.common.blocks.machine.beta.TileBoilerFireboxSolid@3d09bb85 x,y,x: 104, 65, 544 took too long: 41ms
2013-02-06 13:28:52 [INFO] [Minecraft] thermalexpansion.transport.tileentity.TileConduitEnergy@15490463 x,y,x: 110, 66, 543 took too long: 40ms
2013-02-06 13:28:52 [INFO] [Minecraft] railcraft.common.blocks.machine.beta.TileBoilerFireboxSolid@47f945fe x,y,x: -118, 66, 200 took too long: 36ms
2013-02-06 13:28:52 [INFO] [Minecraft] railcraft.common.blocks.machine.beta.TileBoilerFireboxSolid@73951c4c x,y,x: 175, 100, 303 took too long: 42ms
2013-02-06 13:28:52 [INFO] [Minecraft] cpw.mods.ironchest.TileEntityIronChest@40ef6d2f x,y,x: 107, 65, 519 took too long: 40ms
2013-02-06 13:28:52 [INFO] [Minecraft] shedar.mods.ic2.nuclearcontrol.tileentities.TileEntityInfoPanel@fffd3923 x,y,x: -224, 99, 423 took too long: 33ms
You might want to try a newer build for better profiling, it shows %time as well. /profile c is almost exactly the same as /profile e, just limited to a single chunk.
 

TruculentMC

New Member
Jul 29, 2019
130
0
0
Sure, I'll update to the latest at the next server restart.
Would turning off waitForEntityTickCompletion help, for those instances when particular chunk(s) are slow, to keep the entire server from also lagging as much? I see it's noted as Experimental, though. :D



BTW, I had someone who was AFK but somehow caused this alert every second or so. They were standing next to a door & chicken chunks loader, but were not actually moving at all. I was able to replicate it. Should it really be generating if the player isn't actually moving at all?

2013-02-06 13:45:03 [WARNING] [TickThreading] Admin notify: Truculent moved wrongly!

Also it could be useful to have some more detail on how exactly exactly the player moved wrongly.
 

nallar

New Member
Jul 29, 2019
270
0
0
Sure, I'll update to the latest at the next server restart.
Would turning off waitForEntityTickCompletion help, for those instances when particular chunk(s) are slow, to keep the entire server from also lagging as much? I see it's noted as Experimental, though. :D



BTW, I had someone who was AFK but somehow caused this alert every second or so. They were standing next to a door & chicken chunks loader, but were not actually moving at all. I was able to replicate it. Should it really be generating if the player isn't actually moving at all?

2013-02-06 13:45:03 [WARNING] [TickThreading] Admin notify: Truculent moved wrongly!

Also it could be useful to have some more detail on how exactly exactly the player moved wrongly.
It's just a vanilla minecraft warning, I can't give any more detail. Chunk loaders probably have a square collision bounding box on the server, and the correct bounding box on the client -> can cause that issue.

If they get annoying, turn it off in the config. (antiCheatNotify)
 

TruculentMC

New Member
Jul 29, 2019
130
0
0
I thought so too about the collision box... but, it's not possible to provide even the XYZ of the player when the warning occurs? And I saw the config - I will leave it enabled though as I can just kick people if they are doing something dumb. ;)


Can I run /profile c from the console and specify a specific chunk to profile?
 

nallar

New Member
Jul 29, 2019
270
0
0
I thought so too about the collision box... but, it's not possible to provide even the XYZ of the player when the warning occurs? And I saw the config - I will leave it enabled though as I can just kick people if they are doing something dumb. ;)


Can I run /profile c from the console and specify a specific chunk to profile?
Not the way it works currently, it just redirects vanilla messages.

I'll add coords for /profile c soon.
 

Biochao

New Member
Jul 29, 2019
203
0
1
Dynmap seems to have a problem trying to get the world time. Also, something that I noticed before I installed Dynmap that could be related was when I would sleep in a bed the time wouldn't change to 0. Sometimes the sun would be at the noon position or it would even be night still.
Code:
[INFO] [dynmap] Enabled
2013-02-06 18:32:20 [SEVERE] [dynmap] Error while checking world times:
java.lang.NullPointerException
    at yc.G(World.java:4023)
    at org.dynmap.forge.ForgeWorld.getTime(ForgeWorld.java:104)
    at org.dynmap.MapManager$CheckWorldTimes$1.call(MapManager.java:726)
    at org.dynmap.MapManager$CheckWorldTimes$1.call(MapManager.java:722)
    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at org.dynmap.forge.DynmapPlugin$ForgeServer.tickEnd(DynmapPlugin.java:708)
    at cpw.mods.fml.common.SingleIntervalHandler.tickEnd(SingleIntervalHandler.java:32)
    at cpw.mods.fml.common.FMLCommonHandler.tickEnd(FMLCommonHandler.java:70)
    at cpw.mods.fml.common.FMLCommonHandler.onPostServerTick(FMLCommonHandler.java:274)
    at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:212)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:103)
    at fy.run(SourceFile:849)
2013-02-06 18:32:25 [SEVERE] [dynmap] Error while checking world times:
java.lang.NullPointerException
2013-02-06 18:32:30 [SEVERE] [dynmap] Error while checking world times:
java.lang.NullPointerException
2013-02-06 18:32:35 [SEVERE] [dynmap] Error while checking world times:
java.lang.NullPointerException
2013-02-06 18:32:40 [SEVERE] [dynmap] Error while checking world times:
java.lang.NullPointerException
2013-02-06 18:32:45 [SEVERE] [dynmap] Error while checking world times:
java.lang.NullPointerException
2013-02-06 18:32:50 [SEVERE] [dynmap] Error while checking world times:
java.lang.NullPointerException
2013-02-06 18:32:55 [SEVERE] [dynmap] Error while checking world times:
java.lang.NullPointerException
2013-02-06 18:33:00 [SEVERE] [dynmap] Error while checking world times:
java.lang.NullPointerException
2013-02-06 18:33:05 [SEVERE] [dynmap] Error while checking world times:
java.lang.NullPointerException
2013-02-06 18:33:10 [SEVERE] [dynmap] Error while checking world times:
java.lang.NullPointerException
2013-02-06 18:33:15 [SEVERE] [dynmap] Error while checking world times:
java.lang.NullPointerException
2013-02-06 18:33:20 [SEVERE] [dynmap] Error while checking world times:
java.lang.NullPointerException
2013-02-06 18:33:25 [SEVERE] [dynmap] Error while checking world times:
java.lang.NullPointerException
2013-02-06 18:33:30 [SEVERE] [dynmap] Error while checking world times:
java.lang.NullPointerException
2013-02-06 18:33:35 [SEVERE] [dynmap] Error while checking world times:
java.lang.NullPointerException
2013-02-06 18:33:40 [SEVERE] [dynmap] Error while checking world times:
java.lang.NullPointerException
 

TruculentMC

New Member
Jul 29, 2019
130
0
0
Maybe I'm dumb and there's a way to do this already, but how can I get the output of '/profile' or other commands out of the client? It's scrolling the top off the chat buffer. I guess getting /chunks c coord will solve that as I can do everything from the server console.

BTW, a major major source of lag was Railcraft fireboxes pulling fuel from adjacent chest. I fixed it easily by moving the chest away, and putting a filter & timer to feed the fuel in. I dunno if you can optimize this any, I'll report it to CovertJaguar though.

EDIT: Correction... It's only a problem with Ender Chest next to a Boiler -- no lag when pulling from vanilla or Iron Chest.


Ender Chest next to Boiler in 160,288 / 176,288 :
Code:
2013-02-07 00:08:06 [INFO] [Minecraft] ---- Slowest tick regions ----
2013-02-07 00:08:06 [INFO] [Minecraft]   |    X |   Z |   N |  Time
2013-02-07 00:08:06 [INFO] [Minecraft] T |  160 | 288 | 544 | 8.910
2013-02-07 00:08:06 [INFO] [Minecraft] T |  176 | 288 | 106 | 4.934
2013-02-07 00:08:06 [INFO] [Minecraft] T |   96 | 544 |  68 | 3.456
2013-02-07 00:08:06 [INFO] [Minecraft] T | -240 | 432 | 514 | 1.207
2013-02-07 00:08:06 [INFO] [Minecraft] T |  160 | 304 | 215 | 1.206
2013-02-07 00:08:06 [INFO] [Minecraft] T | -256 | 432 | 103 | 1.128
2013-02-07 00:08:06 [INFO] [Minecraft] T |  144 | 288 | 344 | 0.699
2013-02-07 00:08:06 [INFO] [Minecraft] ---- World stats ----
2013-02-07 00:08:06 [INFO] [Minecraft] Average tick time: 0.1693994ms
2013-02-07 00:08:06 [INFO] [Minecraft] Max tick time: 8.909748ms
2013-02-07 00:08:06 [INFO] [Minecraft] Effective tick time: 17.695452ms
2013-02-07 00:08:06 [INFO] [Minecraft] Average effective tick time: 16.117867ms

Vanilla Chest next to Boiler in 160,288 / 176,288
Code:
2013-02-07 00:11:32 [INFO] [Minecraft] World: Overworld/0
2013-02-07 00:11:32 [INFO] [Minecraft] ---- Slowest tick regions ----
2013-02-07 00:11:32 [INFO] [Minecraft]   |    X |   Z |   N |  Time
2013-02-07 00:11:32 [INFO] [Minecraft] T |   96 | 544 |  68 | 3.257
2013-02-07 00:11:32 [INFO] [Minecraft] T | -304 | 240 | 178 | 1.066
2013-02-07 00:11:32 [INFO] [Minecraft] T | -240 | 432 | 514 | 0.957
2013-02-07 00:11:32 [INFO] [Minecraft] T |  160 | 304 | 215 | 0.885
2013-02-07 00:11:32 [INFO] [Minecraft] T |  160 | 288 | 548 | 0.877
2013-02-07 00:11:32 [INFO] [Minecraft] T | -304 | 224 | 253 | 0.874
2013-02-07 00:11:32 [INFO] [Minecraft] T |   96 | 560 |  75 | 0.856
2013-02-07 00:11:32 [INFO] [Minecraft] ---- World stats ----
2013-02-07 00:11:32 [INFO] [Minecraft] Average tick time: 0.09747992ms
2013-02-07 00:11:32 [INFO] [Minecraft] Max tick time: 3.2565176ms
2013-02-07 00:11:32 [INFO] [Minecraft] Effective tick time: 8.875532ms
2013-02-07 00:11:32 [INFO] [Minecraft] Average effective tick time: 9.219569ms
[code]
 

nallar

New Member
Jul 29, 2019
270
0
0
Dynmap seems to have a problem trying to get the world time. Also, something that I noticed before I installed Dynmap that could be related was when I would sleep in a bed the time wouldn't change to 0. Sometimes the sun would be at the noon position or it would even be night still.
Code:
[INFO] [dynmap] Enabled
2013-02-06 18:32:20 [SEVERE] [dynmap] Error while checking world times:
java.lang.NullPointerException
    at yc.G(World.java:4023)
    at org.dynmap.forge.ForgeWorld.getTime(ForgeWorld.java:104)
    at org.dynmap.MapManager$CheckWorldTimes$1.call(MapManager.java:726)
    at org.dynmap.MapManager$CheckWorldTimes$1.call(MapManager.java:722)
    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at org.dynmap.forge.DynmapPlugin$ForgeServer.tickEnd(DynmapPlugin.java:708)
    at cpw.mods.fml.common.SingleIntervalHandler.tickEnd(SingleIntervalHandler.java:32)
    at cpw.mods.fml.common.FMLCommonHandler.tickEnd(FMLCommonHandler.java:70)
    at cpw.mods.fml.common.FMLCommonHandler.onPostServerTick(FMLCommonHandler.java:274)
    at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:212)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:103)
    at fy.run(SourceFile:849)
2013-02-06 18:32:25 [SEVERE] [dynmap] Error while checking world times:
java.lang.NullPointerException
2013-02-06 18:32:30 [SEVERE] [dynmap] Error while checking world times:
java.lang.NullPointerException
2013-02-06 18:32:35 [SEVERE] [dynmap] Error while checking world times:
java.lang.NullPointerException
2013-02-06 18:32:40 [SEVERE] [dynmap] Error while checking world times:
java.lang.NullPointerException
2013-02-06 18:32:45 [SEVERE] [dynmap] Error while checking world times:
java.lang.NullPointerException
2013-02-06 18:32:50 [SEVERE] [dynmap] Error while checking world times:
java.lang.NullPointerException
2013-02-06 18:32:55 [SEVERE] [dynmap] Error while checking world times:
java.lang.NullPointerException
2013-02-06 18:33:00 [SEVERE] [dynmap] Error while checking world times:
java.lang.NullPointerException
2013-02-06 18:33:05 [SEVERE] [dynmap] Error while checking world times:
java.lang.NullPointerException
2013-02-06 18:33:10 [SEVERE] [dynmap] Error while checking world times:
java.lang.NullPointerException
2013-02-06 18:33:15 [SEVERE] [dynmap] Error while checking world times:
java.lang.NullPointerException
2013-02-06 18:33:20 [SEVERE] [dynmap] Error while checking world times:
java.lang.NullPointerException
2013-02-06 18:33:25 [SEVERE] [dynmap] Error while checking world times:
java.lang.NullPointerException
2013-02-06 18:33:30 [SEVERE] [dynmap] Error while checking world times:
java.lang.NullPointerException
2013-02-06 18:33:35 [SEVERE] [dynmap] Error while checking world times:
java.lang.NullPointerException
2013-02-06 18:33:40 [SEVERE] [dynmap] Error while checking world times:
java.lang.NullPointerException
Turn off worldCleaning in TT's config. Also report to dynmap that at org.dynmap.MapManager$CheckWorldTimes$1.call(MapManager.java:722) is using unloaded worlds.
 

Ryat

New Member
Jul 29, 2019
20
0
0
Not sure if this is TC or Mytown. Thanks

Using TC 732 with DW v5

Code:
---- Minecraft Crash Report ----
// You're mean.
 
Time: 2/7/13 8:40 PM
Description: Exception in server tick loop
 
java.lang.RuntimeException: org.sqlite.JDBC
    at ee.lutsu.alpha.mc.mytown.MyTown.modsLoaded(MyTown.java:101)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:487)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)
    at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)
    at com.google.common.eventbus.EventBus.post(EventBus.java:268)
    at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:140)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)
    at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)
    at com.google.common.eventbus.EventBus.post(EventBus.java:268)
    at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:83)
    at cpw.mods.fml.common.Loader.serverStarted(Loader.java:715)
    at cpw.mods.fml.common.FMLCommonHandler.handleServerStarted(FMLCommonHandler.java:319)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:83)
    at fy.run(SourceFile:849)
Caused by: java.lang.ClassNotFoundException: org.sqlite.JDBC
    at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:185)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at ee.lutsu.alpha.mc.mytown.sql.Database.connect(Database.java:193)
    at ee.lutsu.alpha.mc.mytown.MyTownDatasource.init(MyTownDatasource.java:29)
    at ee.lutsu.alpha.mc.mytown.MyTown.modsLoaded(MyTown.java:97)
    ... 28 more
Caused by: java.lang.NullPointerException
 
 
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
 
-- System Details --
Details:
    Minecraft Version: 1.4.7
    Operating System: Windows 8 (amd64) version 6.2
    Java Version: 1.7.0_10, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 138985960 bytes (132 MB) / 258932736 bytes (246 MB) up to 8555069440 bytes (8158 MB)
    JVM Flags: 10 total; -XX:UseSSE=4 -XX:+UseCMSCompactAtFullCollection -XX:ParallelGCThreads=4 -XX:+UseConcMarkSweepGC -XX:+DisableExplicitGC -XX:+CMSIncrementalMode -XX:+CMSIncrementalPacing -XX:+UseCompressedOops -XX:+AggressiveOpts -Xmx8192M
    AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
    Suspicious classes: FML and Forge are installed
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: MCP v7.26a FML v4.7.22.539 Minecraft Forge 6.6.0.515 64 mods loaded, 64 mods active
    mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available-.........
.......................
    Profiler Position: N/A (disabled)
    Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
    Player Count: 0 / 20; []
    Is Modded: Definitely; Server brand changed to 'tickthreading-fml'
    Type: Dedicated Server (map_server.txt)
 

nallar

New Member
Jul 29, 2019
270
0
0
Not sure if this is TC or Mytown. Thanks

Using TC 732 with DW v5

Code:
---- Minecraft Crash Report ----
// You're mean.
 
Time: 2/7/13 8:40 PM
Description: Exception in server tick loop
 
java.lang.RuntimeException: org.sqlite.JDBC
    at ee.lutsu.alpha.mc.mytown.MyTown.modsLoaded(MyTown.java:101)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:487)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)
    at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)
    at com.google.common.eventbus.EventBus.post(EventBus.java:268)
    at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:140)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)
    at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)
    at com.google.common.eventbus.EventBus.post(EventBus.java:268)
    at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:83)
    at cpw.mods.fml.common.Loader.serverStarted(Loader.java:715)
    at cpw.mods.fml.common.FMLCommonHandler.handleServerStarted(FMLCommonHandler.java:319)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:83)
    at fy.run(SourceFile:849)
Caused by: java.lang.ClassNotFoundException: org.sqlite.JDBC
    at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:185)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at ee.lutsu.alpha.mc.mytown.sql.Database.connect(Database.java:193)
    at ee.lutsu.alpha.mc.mytown.MyTownDatasource.init(MyTownDatasource.java:29)
    at ee.lutsu.alpha.mc.mytown.MyTown.modsLoaded(MyTown.java:97)
    ... 28 more
Caused by: java.lang.NullPointerException
 
 
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
 
-- System Details --
Details:
    Minecraft Version: 1.4.7
    Operating System: Windows 8 (amd64) version 6.2
    Java Version: 1.7.0_10, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 138985960 bytes (132 MB) / 258932736 bytes (246 MB) up to 8555069440 bytes (8158 MB)
    JVM Flags: 10 total; -XX:UseSSE=4 -XX:+UseCMSCompactAtFullCollection -XX:ParallelGCThreads=4 -XX:+UseConcMarkSweepGC -XX:+DisableExplicitGC -XX:+CMSIncrementalMode -XX:+CMSIncrementalPacing -XX:+UseCompressedOops -XX:+AggressiveOpts -Xmx8192M
    AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
    Suspicious classes: FML and Forge are installed
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: MCP v7.26a FML v4.7.22.539 Minecraft Forge 6.6.0.515 64 mods loaded, 64 mods active
    mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available-.........
.......................
    Profiler Position: N/A (disabled)
    Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
    Player Count: 0 / 20; []
    Is Modded: Definitely; Server brand changed to 'tickthreading-fml'
    Type: Dedicated Server (map_server.txt)

This is probably not a TT or a MyTown issue - it's a not reading MyTown's install instructions properly issue :p

Make sure you have MyTownLib in your mods folder.

Maybe I'm dumb and there's a way to do this already, but how can I get the output of '/profile' or other commands out of the client? It's scrolling the top off the chat buffer. I guess getting /chunks c coord will solve that as I can do everything from the server console.

BTW, a major major source of lag was Railcraft fireboxes pulling fuel from adjacent chest. I fixed it easily by moving the chest away, and putting a filter & timer to feed the fuel in. I dunno if you can optimize this any, I'll report it to CovertJaguar though.

EDIT: Correction... It's only a problem with Ender Chest next to a Boiler -- no lag when pulling from vanilla or Iron Chest.


Ender Chest next to Boiler in 160,288 / 176,288 :
Code:
2013-02-07 00:08:06 [INFO] [Minecraft] ---- Slowest tick regions ----
2013-02-07 00:08:06 [INFO] [Minecraft]  |    X |  Z |  N |  Time
2013-02-07 00:08:06 [INFO] [Minecraft] T |  160 | 288 | 544 | 8.910
2013-02-07 00:08:06 [INFO] [Minecraft] T |  176 | 288 | 106 | 4.934
2013-02-07 00:08:06 [INFO] [Minecraft] T |  96 | 544 |  68 | 3.456
2013-02-07 00:08:06 [INFO] [Minecraft] T | -240 | 432 | 514 | 1.207
2013-02-07 00:08:06 [INFO] [Minecraft] T |  160 | 304 | 215 | 1.206
2013-02-07 00:08:06 [INFO] [Minecraft] T | -256 | 432 | 103 | 1.128
2013-02-07 00:08:06 [INFO] [Minecraft] T |  144 | 288 | 344 | 0.699
2013-02-07 00:08:06 [INFO] [Minecraft] ---- World stats ----
2013-02-07 00:08:06 [INFO] [Minecraft] Average tick time: 0.1693994ms
2013-02-07 00:08:06 [INFO] [Minecraft] Max tick time: 8.909748ms
2013-02-07 00:08:06 [INFO] [Minecraft] Effective tick time: 17.695452ms
2013-02-07 00:08:06 [INFO] [Minecraft] Average effective tick time: 16.117867ms

Vanilla Chest next to Boiler in 160,288 / 176,288
Code:
2013-02-07 00:11:32 [INFO] [Minecraft] World: Overworld/0
2013-02-07 00:11:32 [INFO] [Minecraft] ---- Slowest tick regions ----
2013-02-07 00:11:32 [INFO] [Minecraft]  |    X |  Z |  N |  Time
2013-02-07 00:11:32 [INFO] [Minecraft] T |  96 | 544 |  68 | 3.257
2013-02-07 00:11:32 [INFO] [Minecraft] T | -304 | 240 | 178 | 1.066
2013-02-07 00:11:32 [INFO] [Minecraft] T | -240 | 432 | 514 | 0.957
2013-02-07 00:11:32 [INFO] [Minecraft] T |  160 | 304 | 215 | 0.885
2013-02-07 00:11:32 [INFO] [Minecraft] T |  160 | 288 | 548 | 0.877
2013-02-07 00:11:32 [INFO] [Minecraft] T | -304 | 224 | 253 | 0.874
2013-02-07 00:11:32 [INFO] [Minecraft] T |  96 | 560 |  75 | 0.856
2013-02-07 00:11:32 [INFO] [Minecraft] ---- World stats ----
2013-02-07 00:11:32 [INFO] [Minecraft] Average tick time: 0.09747992ms
2013-02-07 00:11:32 [INFO] [Minecraft] Max tick time: 3.2565176ms
2013-02-07 00:11:32 [INFO] [Minecraft] Effective tick time: 8.875532ms
2013-02-07 00:11:32 [INFO] [Minecraft] Average effective tick time: 9.219569ms
[code]
/profile c now works with coords.
 

TruculentMC

New Member
Jul 29, 2019
130
0
0
Thanks, we updated to #877. I got this exception on server startup, is it your bug or something else?

Code:
2013-02-08 11:33:37 [SEVERE] [ForgeModLoader] A TileEntity turtleex(dan200.turtle.shared.RedPowerTileEntityTurtleExpanded) has thrown an exception during loading, its state cannot be restored. Report this to the mod author
java.lang.RuntimeException: Error registering 'Melee Turtle'. UpgradeID '8' is already registered by 'Melee Turtle'
        at dan200.turtle.shared.CCTurtleProxyCommon.registerTurtleUpgradeInternal(CCTurtleProxyCommon.java:189)
        at dan200.turtle.shared.CCTurtleProxyCommon.addStandardToolSet(CCTurtleProxyCommon.java:291)
        at dan200.turtle.shared.CCTurtleProxyCommon.addRedPowerUpgrades(CCTurtleProxyCommon.java:321)
        at dan200.turtle.shared.CCTurtleProxyCommon.getTurtleUpgrade(CCTurtleProxyCommon.java:80)
        at dan200.CCTurtle.getTurtleUpgrade(CCTurtle.java:137)
        at dan200.turtle.shared.TileEntityTurtle.a(TileEntityTurtle.java:1099)
        at any.c(TileEntity.java:150)
        at aam.a(AnvilChunkLoader.java:418)
        at aam.a(AnvilChunkLoader.java:103)
        at aam.a(AnvilChunkLoader.java:79)
        at im.f(ChunkProviderServer.java:141)
        at im.c(ChunkProviderServer.java:178)
        at im.d(ChunkProviderServer.java:128)
        at yc.e(World.java:524)
        at yc.q(World.java:42)
        at me.nallar.tickthreading.minecraft.TickManager.lock(TickManager.java:266)
        at me.nallar.tickthreading.minecraft.tickregion.TileEntityTickRegion.doTick(TileEntityTickRegion.java:64)
        at me.nallar.tickthreading.minecraft.tickregion.TickRegion.run(TickRegion.java:42)
        at me.nallar.tickthreading.minecraft.ThreadManager$2.run(ThreadManager.java:89)
        at me.nallar.tickthreading.minecraft.ThreadManager$1.run(ThreadManager.java:40)
        at me.nallar.tickthreading.minecraft.ThreadManager$ServerWorkThread.run(ThreadManager.java:150)

edit:
#877 seems to be thrashing my server pretty bad, possibly leaking memory? I run with -Xmx1280M (I realize that's only the heap size) and it's taking all 2G physical and over 1G of swap and climbing.

Code:
top - 12:21:43 up  1:09,  1 user,  load average: 374.50, 129.39, 48.47
Tasks:  96 total,   1 running,  95 sleeping,   0 stopped,   0 zombie
Cpu(s): 27.3%us,  2.1%sy,  0.0%ni, 54.4%id, 16.0%wa,  0.0%hi,  0.0%si,  0.2%st
Mem:   2040268k total,  1769768k used,   270500k free,      196k buffers
Swap:  4194300k total,  1416880k used,  2777420k free,     9184k cached
 
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
28030 mcraft    20   0 13.9g 275m 3200 S  115 13.8  39:05.97 java
  411 root      20   0     0    0    0 R   12  0.0   1:15.20 kswapd0
 1269 root       0 -20     0    0    0 R    1  0.0   0:05.89 kworker/0:1H
29526 mcraft    20   0 17340  768  448 R    1  0.0   0:00.24 top
    1 root      20   0 24320   12   12 S    0  0.0   0:01.63 init
    2 root      20   0     0    0    0 S    0  0.0   0:00.00 kthreadd
 

nallar

New Member
Jul 29, 2019
270
0
0
Thanks, we updated to #877. I got this exception on server startup, is it your bug or something else?

Code:
2013-02-08 11:33:37 [SEVERE] [ForgeModLoader] A TileEntity turtleex(dan200.turtle.shared.RedPowerTileEntityTurtleExpanded) has thrown an exception during loading, its state cannot be restored. Report this to the mod author
java.lang.RuntimeException: Error registering 'Melee Turtle'. UpgradeID '8' is already registered by 'Melee Turtle'
        at dan200.turtle.shared.CCTurtleProxyCommon.registerTurtleUpgradeInternal(CCTurtleProxyCommon.java:189)
        at dan200.turtle.shared.CCTurtleProxyCommon.addStandardToolSet(CCTurtleProxyCommon.java:291)
        at dan200.turtle.shared.CCTurtleProxyCommon.addRedPowerUpgrades(CCTurtleProxyCommon.java:321)
        at dan200.turtle.shared.CCTurtleProxyCommon.getTurtleUpgrade(CCTurtleProxyCommon.java:80)
        at dan200.CCTurtle.getTurtleUpgrade(CCTurtle.java:137)
        at dan200.turtle.shared.TileEntityTurtle.a(TileEntityTurtle.java:1099)
        at any.c(TileEntity.java:150)
        at aam.a(AnvilChunkLoader.java:418)
        at aam.a(AnvilChunkLoader.java:103)
        at aam.a(AnvilChunkLoader.java:79)
        at im.f(ChunkProviderServer.java:141)
        at im.c(ChunkProviderServer.java:178)
        at im.d(ChunkProviderServer.java:128)
        at yc.e(World.java:524)
        at yc.q(World.java:42)
        at me.nallar.tickthreading.minecraft.TickManager.lock(TickManager.java:266)
        at me.nallar.tickthreading.minecraft.tickregion.TileEntityTickRegion.doTick(TileEntityTickRegion.java:64)
        at me.nallar.tickthreading.minecraft.tickregion.TickRegion.run(TickRegion.java:42)
        at me.nallar.tickthreading.minecraft.ThreadManager$2.run(ThreadManager.java:89)
        at me.nallar.tickthreading.minecraft.ThreadManager$1.run(ThreadManager.java:40)
        at me.nallar.tickthreading.minecraft.ThreadManager$ServerWorkThread.run(ThreadManager.java:150)

edit:
#877 seems to be thrashing my server pretty bad, possibly leaking memory? I run with -Xmx1280M (I realize that's only the heap size) and it's taking all 2G physical and over 1G of swap and climbing.

Code:
top - 12:21:43 up  1:09,  1 user,  load average: 374.50, 129.39, 48.47
Tasks:  96 total,  1 running,  95 sleeping,  0 stopped,  0 zombie
Cpu(s): 27.3%us,  2.1%sy,  0.0%ni, 54.4%id, 16.0%wa,  0.0%hi,  0.0%si,  0.2%st
Mem:  2040268k total,  1769768k used,  270500k free,      196k buffers
Swap:  4194300k total,  1416880k used,  2777420k free,    9184k cached
 
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
28030 mcraft    20  0 13.9g 275m 3200 S  115 13.8  39:05.97 java
  411 root      20  0    0    0    0 R  12  0.0  1:15.20 kswapd0
1269 root      0 -20    0    0    0 R    1  0.0  0:05.89 kworker/0:1H
29526 mcraft    20  0 17340  768  448 R    1  0.0  0:00.24 top
    1 root      20  0 24320  12  12 S    0  0.0  0:01.63 init
    2 root      20  0    0    0    0 S    0  0.0  0:00.00 kthreadd
Can you find exactly which build number this starts happening on, or provide a heap dump? (compressed and PMd link, don't want to give that out.)
 

TruculentMC

New Member
Jul 29, 2019
130
0
0
Sure, I had to roll back to #834, but I have a spare server I can redeploy #877 to. I didn't see a PM from you though...?
BTW - to repatch to a different version, I need to start with a clean install each time, yes?
 

nallar

New Member
Jul 29, 2019
270
0
0
Sure, I had to roll back to #834, but I have a spare server I can redeploy #877 to. I didn't see a PM from you though...?
BTW - to repatch to a different version, I need to start with a clean install each time, yes?
No need to start clean, just run the patcher again. (either start the server then stop then run the patcher, or change the path in PATCHME.sh to the new TT jar's location then run the patcher)

Currently checking a heapdump from 865, although I don't know if the issue is in that build.