Open TheLemzz opened 5 months ago
Flags for java server: java -Xms2G -Xmx2G -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true -XX:+UnlockDiagnosticVMOptions -XX:-UseAESCTRIntrinsics -XX:+AlwaysPreTouch -jar server.jar nogui
Flags for java server:
I checked, the flags are not the cause of the crash.
I changed the timeout period in JavaGen\stream\JavaRequests line 45: Internet::getURL($url, 50); the server crashes less often, but chunks load extremely slowly and a warning constantly appears in the java server: "Can't keep up! Is the server overloaded? Running 48576ms or 971 ticks behind". due to a long timeout, the server will crashes again.
Well, after the new version of JavaGen, everything has become much better(but Java server still send an error " Exception in thread "pool-14-thread-19" java.lang.RuntimeException: java.io.IOException").
This issue fixed for overworld, but not for nether or end.
okay now this is a very weird issue. No idea where to start with tbh, first of all, which error is thrown at first? the one from pocketmine or the one from java? And maybe, if you can, I would be happy if you ran a profiler over the server process, so I can see what takes up so much time for the java server to get the chunk, because I didn't have any experiences like this
It looks like it's happening at the same time. On the java server, there is a warning about the server overload sometimes. You did a task in a recent commit to test the connection to the java server (or whatever, I still don't understand why overworld is generated normally now) and it worked, but the nether world and the end world are still crashing.
yeah the error probably happens because the chunk takes so long to encode & the pocketmine client closes the connection. Can you join the java server with a minecraft client and just go in the nether / end to see if this works fine? Because that behaviour is very unnatural
I just got the same error when I was flying in the overworld...
[13:12:53 WARN]: Can't keep up! Is the server overloaded? Running 2826ms or 56 ticks behind [16:25:12 WARN]: Can't keep up! Is the server overloaded? Running 2652ms or 53 ticks behind [16:29:29 WARN]: Can't keep up! Is the server overloaded? Running 2772ms or 55 ticks behind [16:29:50 WARN]: Can't keep up! Is the server overloaded? Running 5302ms or 106 ticks behind [16:30:22 WARN]: Exception in thread "pool-14-thread-24" java.lang.RuntimeException: java.io.IOException: broken pipe [16:30:22 WARN]: at ChunkSender-1.0-SNAPSHOT.jar//ChunkSender.request.ChunkRequestHandler.lambda$handle$0(ChunkRequestHandler.java:42) [16:30:22 WARN]: at java.base/java.lang.Thread.run(Thread.java:840) [16:30:22 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [16:30:22 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [16:30:22 WARN]: at java.base/java.lang.Thread.run(Thread.java:840) [16:30:22 WARN]: Caused by: java.io.IOException: Обрыв канала [16:30:22 WARN]: at java.base/sun.nio.ch.FileDispatcherImpl.write0(Native Method) [16:30:22 WARN]: at java.base/sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:62) [16:30:22 WARN]: at java.base/sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:132) [16:30:22 WARN]: at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:97) [16:30:22 WARN]: at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:53) [16:30:22 WARN]: at java.base/sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:532) [16:30:22 WARN]: at jdk.httpserver/sun.net.httpserver.Request$WriteStream.write(Request.java:393) [16:30:22 WARN]: at jdk.httpserver/sun.net.httpserver.FixedLengthOutputStream.write(FixedLengthOutputStream.java:81) [16:30:22 WARN]: at java.base/java.io.FilterOutputStream.write(FilterOutputStream.java:108) [16:30:22 WARN]: at jdk.httpserver/sun.net.httpserver.PlaceholderOutputStream.write(ExchangeImpl.java:459) [16:30:22 WARN]: at ChunkSender-1.0-SNAPSHOT.jar//ChunkSender.request.ChunkRequestHandler.lambda$handle$0(ChunkRequestHandler.java:39) [16:30:22 WARN]: ... 4 more [16:30:23 WARN]: Exception in thread "pool-14-thread-31" java.lang.RuntimeException: java.io.IOException: Обрыв канала [16:30:23 WARN]: at ChunkSender-1.0-SNAPSHOT.jar//ChunkSender.request.ChunkRequestHandler.lambda$handle$0(ChunkRequestHandler.java:42) [16:30:23 WARN]: at java.base/java.lang.Thread.run(Thread.java:840) [16:30:23 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [16:30:23 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [16:30:23 WARN]: at java.base/java.lang.Thread.run(Thread.java:840) [16:30:23 WARN]: Caused by: java.io.IOException: broken pipe [16:30:23 WARN]: at java.base/sun.nio.ch.FileDispatcherImpl.write0(Native Method) [16:30:23 WARN]: at java.base/sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:62) [16:30:23 WARN]: at java.base/sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:132) [16:30:23 WARN]: at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:97) [16:30:23 WARN]: at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:53) [16:30:23 WARN]: at java.base/sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:532) [16:30:23 WARN]: at jdk.httpserver/sun.net.httpserver.Request$WriteStream.write(Request.java:393) [16:30:23 WARN]: at jdk.httpserver/sun.net.httpserver.FixedLengthOutputStream.write(FixedLengthOutputStream.java:81) [16:30:23 WARN]: at java.base/java.io.FilterOutputStream.write(FilterOutputStream.java:108) [16:30:23 WARN]: at jdk.httpserver/sun.net.httpserver.PlaceholderOutputStream.write(ExchangeImpl.java:459) [16:30:23 WARN]: at ChunkSender-1.0-SNAPSHOT.jar//ChunkSender.request.ChunkRequestHandler.lambda$handle$0(ChunkRequestHandler.java:39) [16:30:23 WARN]: ... 4 more
TPS from last 1m, 5m, 15m: 18.03, 19.39, 19.56 TPS from last 1m, 5m, 15m: 15.92, 18.34, 19.19 the Java server is extremely overloaded
i make a timings report: https://timings.aikar.co/dev/?id=3ce7dddb47a64e2997b9ea9e6d7fc306 (JAVA)
does this error happen when you only load a nether / end world and not the overworld?
This error appears everywhere, in any world. I went to the Nether through the JAVA server, then I went to the pocketmine server and I was able to enter the Nether without errors (So far)
The longer I play on the world, the more likely it is that the server will crash
yeah its probably because more chunks are loaded and not unloaded. Though I didnt find a way to unload all chunks without problems yet
This happens even when I just teleport to a random place.. can we just increase the timeout period for the first time? later it will be possible to think about optimization
Possible to reduce the load on the Java server is preloading some chunks. but it will have to be done by a user like me
its not good for chunks to load longer than 3000ms, in this case we need to optimize
I think it's better to wait longer for chunks loading than to completely stop the server
Possible to reduce the load on the Java server is preloading some chunks. but it will have to be done by a user like me
what exactly do you mean? why only by a user like you?
what exactly do you mean? why only by a user like you?
You can install a plugin like Chunky on the java server, and use it to generate a world of, for example, 1000x1000 blocks. At leaast the java server will no longer have to generate chunks in 1000x1000 blocks
on average, the waiting time for a chunk to load does not exceed 10000ms
You can install a plugin like Chunky on the java server, and use it to generate a world of, for example, 1000x1000 blocks. At leaast the java server will no longer have to generate chunks in 1000x1000 blocks
yeah but tbh then you can also convert the map from java to bedrock in this case
You can install a plugin like Chunky on the java server, and use it to generate a world of, for example, 1000x1000 blocks. At leaast the java server will no longer have to generate chunks in 1000x1000 blocks
yeah but tbh then you can also convert the map from java to bedrock in this case
Not fully, because the chests will be empty, and I have to turn off the generation of structures
I think the problem is ChunkSender.jar because it is the java server that is overloaded. Without ChunkSender, the java server quietly loads chunks
I think the problem is ChunkSender.jar because it is the java server that is overloaded. Without ChunkSender, the java server quietly loads chunks
Yeah I think the problem is that chunks are loaded, but not unloaded automatically. When players load chunk they also unload some
Isn't unloading chunks the task of the server itself?
gotta say I'm a bit confused, the time to load the chunks grew extremly and I dont know why. Im looking into this right now and the next days
Okay, thank you. I hope you can solve this problem, i will help as much as I can
Something new:
Thread/ERROR]: Current Thread: Server thread
[19:19:08] [Paper Watchdog Thread/ERROR]: PID: 26 | Suspended: false | Native: false | State: RUNNABLE
[19:19:08] [Paper Watchdog Thread/ERROR]: Stack:
[19:19:08] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.synth.ImprovedNoise.noise(ImprovedNoise.java:63)
[19:19:08] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.synth.BlendedNoise.compute(BlendedNoise.java:108)
[19:19:08] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$Ap2.compute(DensityFunctions.java:252)
[19:19:08] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$Ap2.compute(DensityFunctions.java:248)
[19:19:08] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$RangeChoice.compute(DensityFunctions.java:867)
[19:19:08] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$PureTransformer.compute(DensityFunctions.java:842)
[19:19:08] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$Ap2.compute(DensityFunctions.java:261)
[19:19:08] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$PureTransformer.compute(DensityFunctions.java:842)
[19:19:08] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$PureTransformer.compute(DensityFunctions.java:842)
[19:19:08] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$Ap2.fillArray(DensityFunctions.java:301)
[19:19:08] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$PureTransformer.fillArray(DensityFunctions.java:847)
[19:19:08] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$TransformerWithContext.fillArray(DensityFunctions.java:1125)
[19:19:08] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.NoiseChunk$NoiseInterpolator.fillArray(NoiseChunk.java:744)
[19:19:08] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.NoiseChunk.fillSlice(NoiseChunk.java:205)
[19:19:08] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.NoiseChunk.advanceCellX(NoiseChunk.java:223)
[19:19:08] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.NoiseBasedChunkGenerator.iterateNoiseColumn(NoiseBasedChunkGenerator.java:174)
[19:19:08] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.NoiseBasedChunkGenerator.getBaseHeight(NoiseBasedChunkGenerator.java:121)
[19:19:08] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.structure.structures.MineshaftStructure.generatePiecesAndAdjust(MineshaftStructure.java:56)
[19:19:08] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.structure.structures.MineshaftStructure.findGenerationPoint(MineshaftStructure.java:42)
[19:19:08] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.structure.Structure.findValidGenerationPoint(Structure.java:154)
[19:19:08] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.structure.StructureCheck.canCreateStructure(StructureCheck.java:185)
[19:19:08] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.structure.StructureCheck.lambda$checkStart$1(StructureCheck.java:177)
[19:19:08] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.structure.StructureCheck$$Lambda$8811/0x00007f0f1077e860.get(Unknown Source)
[19:19:08] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.structure.StructureCheck$SynchronisedLong2BooleanMap.getOrCompute(StructureCheck.java:133)
[19:19:08] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.structure.StructureCheck.checkStart(StructureCheck.java:176)
[19:19:08] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.StructureManager.checkStructurePresence(StructureManager.java:167)
[19:19:08] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.chunk.ChunkGenerator.getStructureGeneratingAt(ChunkGenerator.java:305)
[19:19:08] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.chunk.ChunkGenerator.getNearestGeneratedStructure(ChunkGenerator.java:275)
[19:19:08] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.chunk.ChunkGenerator.findNearestMapStructure(ChunkGenerator.java:201)
[19:19:08] [Paper Watchdog Thread/ERROR]: ChunkSender-1.0-SNAPSHOT.jar//ChunkSender.request.LocateRequestHandler.lambda$handle$0(LocateRequestHandler.java:68)
[19:19:08] [Paper Watchdog Thread/ERROR]: ChunkSender-1.0-SNAPSHOT.jar//ChunkSender.request.LocateRequestHandler$$Lambda$8802/0x00007f0f112e7a38.call(Unknown Source)
[19:19:08] [Paper Watchdog Thread/ERROR]: org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftFuture.run(CraftFuture.java:88)
[19:19:08] [Paper Watchdog Thread/ERROR]: org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:482)
[19:19:08] [Paper Watchdog Thread/ERROR]: net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1646)
[19:19:08] [Paper Watchdog Thread/ERROR]: net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:447)
[19:19:08] [Paper Watchdog Thread/ERROR]: net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1525)
[19:19:08] [Paper Watchdog Thread/ERROR]: net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1226)
[19:19:08] [Paper Watchdog Thread/ERROR]: net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319)
[19:19:08] [Paper Watchdog Thread/ERROR]: net.minecraft.server.MinecraftServer$$Lambda$6230/0x00007f0f10b77248.run(Unknown Source)
[19:19:08] [Paper Watchdog Thread/ERROR]: java.base@17.0.10/java.lang.Thread.run(Thread.java:840)
[19:19:08] [Paper Watchdog Thread/ERROR]: ------------------------------
[19:19:08] [Paper Watchdog Thread/ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH ---
[19:19:08] [Paper Watchdog Thread/ERROR]: ------------------------------
[19:19:13] [Paper Watchdog Thread/ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH - git-Paper-463 (MC: 1.20.4) ---
[19:19:13] [Paper Watchdog Thread/ERROR]: The server has not responded for 15 seconds! Creating thread dump
[19:19:13] [Paper Watchdog Thread/ERROR]: ------------------------------
[19:19:13] [Paper Watchdog Thread/ERROR]: Server thread dump (Look for plugins here before reporting to Paper!):
[19:19:13] [Paper Watchdog Thread/ERROR]: ------------------------------
[19:19:13] [Paper Watchdog Thread/ERROR]: Current Thread: Server thread
[19:19:13] [Paper Watchdog Thread/ERROR]: PID: 26 | Suspended: false | Native: false | State: RUNNABLE
[19:19:13] [Paper Watchdog Thread/ERROR]: Stack:
[19:19:13] [Paper Watchdog Thread/ERROR]: java.base@17.0.10/java.util.Objects.equals(Objects.java:64)
[19:19:13] [Paper Watchdog Thread/ERROR]: java.base@17.0.10/java.lang.invoke.DirectMethodHandle$Holder.invokeStatic(DirectMethodHandle$Holder)
[19:19:13] [Paper Watchdog Thread/ERROR]: java.base@17.0.10/java.lang.invoke.LambdaForm$MH/0x00007f0f1023ec00.invoke(LambdaForm$MH)
[19:19:13] [Paper Watchdog Thread/ERROR]: java.base@17.0.10/java.lang.invoke.LambdaForm$MH/0x00007f0f10280000.invoke(LambdaForm$MH)
[19:19:13] [Paper Watchdog Thread/ERROR]: java.base@17.0.10/java.lang.invoke.DelegatingMethodHandle$Holder.delegate(DelegatingMethodHandle$Holder)
[19:19:13] [Paper Watchdog Thread/ERROR]: java.base@17.0.10/java.lang.invoke.LambdaForm$MH/0x00007f0f1023fc00.guard(LambdaForm$MH)
[19:19:13] [Paper Watchdog Thread/ERROR]: java.base@17.0.10/java.lang.invoke.DelegatingMethodHandle$Holder.delegate(DelegatingMethodHandle$Holder)
[19:19:13] [Paper Watchdog Thread/ERROR]: java.base@17.0.10/java.lang.invoke.LambdaForm$MH/0x00007f0f1023fc00.guard(LambdaForm$MH)
[19:19:13] [Paper Watchdog Thread/ERROR]: java.base@17.0.10/java.lang.invoke.LambdaForm$MH/0x00007f0f10280400.linkToTargetMethod(LambdaForm$MH)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$HolderHolder.equals(DensityFunctions.java:571)
[19:19:13] [Paper Watchdog Thread/ERROR]: java.base@17.0.10/java.util.HashMap.computeIfAbsent(HashMap.java:1206)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.NoiseChunk.wrap(NoiseChunk.java:335)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.NoiseChunk$$Lambda$8445/0x00007f0f112fbd98.apply(Unknown Source)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$HolderHolder.mapAll(DensityFunctions.java:585)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$MarkerOrMarked.mapAll(DensityFunctions.java:736)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$HolderHolder.mapAll(DensityFunctions.java:585)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$Mapped.mapAll(DensityFunctions.java:648)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$Mapped.a(DensityFunctions.java:604)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$HolderHolder.mapAll(DensityFunctions.java:585)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$Ap2.mapAll(DensityFunctions.java:309)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$HolderHolder.mapAll(DensityFunctions.java:585)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$Mapped.mapAll(DensityFunctions.java:648)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$Mapped.a(DensityFunctions.java:604)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$HolderHolder.mapAll(DensityFunctions.java:585)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$Ap2.mapAll(DensityFunctions.java:309)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$HolderHolder.mapAll(DensityFunctions.java:585)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$Ap2.mapAll(DensityFunctions.java:309)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$Spline$Coordinate.mapAll(DensityFunctions.java:1107)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$Spline.lambda$mapAll$0(DensityFunctions.java:1054)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$w$$Lambda$7109/0x00007f0f10dd24d8.visit(Unknown Source)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.util.CubicSpline$Multipoint.lambda$mapAll$3(CubicSpline.java:287)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.util.CubicSpline$Multipoint.lambda$mapAll$3(CubicSpline.java:287)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.util.CubicSpline$e$$Lambda$7110/0x00007f0f10dd2700.apply(Unknown Source)
[19:19:13] [Paper Watchdog Thread/ERROR]: java.base@17.0.10/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
[19:19:13] [Paper Watchdog Thread/ERROR]: java.base@17.0.10/java.util.AbstractList$RandomAccessSpliterator.forEachRemaining(AbstractList.java:720)
[19:19:13] [Paper Watchdog Thread/ERROR]: java.base@17.0.10/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
[19:19:13] [Paper Watchdog Thread/ERROR]: java.base@17.0.10/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
[19:19:13] [Paper Watchdog Thread/ERROR]: java.base@17.0.10/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:575)
[19:19:13] [Paper Watchdog Thread/ERROR]: java.base@17.0.10/java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)
[19:19:13] [Paper Watchdog Thread/ERROR]: java.base@17.0.10/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:616)
[19:19:13] [Paper Watchdog Thread/ERROR]: java.base@17.0.10/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:622)
[19:19:13] [Paper Watchdog Thread/ERROR]: java.base@17.0.10/java.util.stream.ReferencePipeline.toList(ReferencePipeline.java:627)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.util.CubicSpline$Multipoint.lambda$mapAll$3(CubicSpline.java:287)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.util.CubicSpline$Multipoint.lambda$mapAll$3(CubicSpline.java:287)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.util.CubicSpline$e$$Lambda$7110/0x00007f0f10dd2700.apply(Unknown Source)
[19:19:13] [Paper Watchdog Thread/ERROR]: java.base@17.0.10/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
[19:19:13] [Paper Watchdog Thread/ERROR]: java.base@17.0.10/java.util.AbstractList$RandomAccessSpliterator.forEachRemaining(AbstractList.java:720)
[19:19:13] [Paper Watchdog Thread/ERROR]: java.base@17.0.10/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
[19:19:13] [Paper Watchdog Thread/ERROR]: java.base@17.0.10/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
[19:19:13] [Paper Watchdog Thread/ERROR]: java.base@17.0.10/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:575)
[19:19:13] [Paper Watchdog Thread/ERROR]: java.base@17.0.10/java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)
[19:19:13] [Paper Watchdog Thread/ERROR]: java.base@17.0.10/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:616)
[19:19:13] [Paper Watchdog Thread/ERROR]: java.base@17.0.10/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:622)
[19:19:13] [Paper Watchdog Thread/ERROR]: java.base@17.0.10/java.util.stream.ReferencePipeline.toList(ReferencePipeline.java:627)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.util.CubicSpline$Multipoint.lambda$mapAll$3(CubicSpline.java:287)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$Spline.mapAll(DensityFunctions.java:1053)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$HolderHolder.mapAll(DensityFunctions.java:585)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$Ap2.mapAll(DensityFunctions.java:309)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$HolderHolder.mapAll(DensityFunctions.java:585)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$Ap2.mapAll(DensityFunctions.java:309)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$HolderHolder.mapAll(DensityFunctions.java:585)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$Ap2.mapAll(DensityFunctions.java:309)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$HolderHolder.mapAll(DensityFunctions.java:585)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$MarkerOrMarked.mapAll(DensityFunctions.java:736)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$HolderHolder.mapAll(DensityFunctions.java:585)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$MarkerOrMarked.mapAll(DensityFunctions.java:736)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$HolderHolder.mapAll(DensityFunctions.java:585)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$Ap2.mapAll(DensityFunctions.java:309)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$HolderHolder.mapAll(DensityFunctions.java:585)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$Ap2.mapAll(DensityFunctions.java:309)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$HolderHolder.mapAll(DensityFunctions.java:585)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$Ap2.mapAll(DensityFunctions.java:309)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$HolderHolder.mapAll(DensityFunctions.java:585)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$Mapped.mapAll(DensityFunctions.java:648)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$Mapped.a(DensityFunctions.java:604)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$HolderHolder.mapAll(DensityFunctions.java:585)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$Ap2.mapAll(DensityFunctions.java:309)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$HolderHolder.mapAll(DensityFunctions.java:585)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$Ap2.mapAll(DensityFunctions.java:309)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$HolderHolder.mapAll(DensityFunctions.java:585)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$Ap2.mapAll(DensityFunctions.java:309)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$HolderHolder.mapAll(DensityFunctions.java:585)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$RangeChoice.mapAll(DensityFunctions.java:887)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$HolderHolder.mapAll(DensityFunctions.java:585)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$Ap2.mapAll(DensityFunctions.java:309)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$HolderHolder.mapAll(DensityFunctions.java:585)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$Ap2.mapAll(DensityFunctions.java:309)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$HolderHolder.mapAll(DensityFunctions.java:585)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$Ap2.mapAll(DensityFunctions.java:309)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$HolderHolder.mapAll(DensityFunctions.java:585)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$Ap2.mapAll(DensityFunctions.java:309)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$HolderHolder.mapAll(DensityFunctions.java:585)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$Ap2.mapAll(DensityFunctions.java:309)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$HolderHolder.mapAll(DensityFunctions.java:585)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$Ap2.mapAll(DensityFunctions.java:309)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$HolderHolder.mapAll(DensityFunctions.java:585)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$BlendDensity.mapAll(DensityFunctions.java:387)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$HolderHolder.mapAll(DensityFunctions.java:585)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$MarkerOrMarked.mapAll(DensityFunctions.java:736)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$HolderHolder.mapAll(DensityFunctions.java:585)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$Ap2.mapAll(DensityFunctions.java:309)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$HolderHolder.mapAll(DensityFunctions.java:585)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$Mapped.mapAll(DensityFunctions.java:648)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$Mapped.a(DensityFunctions.java:604)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$HolderHolder.mapAll(DensityFunctions.java:585)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$Ap2.mapAll(DensityFunctions.java:309)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$HolderHolder.mapAll(DensityFunctions.java:585)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.NoiseRouter.mapAll(NoiseRouter.java:17)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.NoiseChunk.<init>(NoiseChunk.java:122)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.NoiseBasedChunkGenerator.iterateNoiseColumn(NoiseBasedChunkGenerator.java:171)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.NoiseBasedChunkGenerator.getBaseHeight(NoiseBasedChunkGenerator.java:121)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.structure.structures.MineshaftStructure.generatePiecesAndAdjust(MineshaftStructure.java:56)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.structure.structures.MineshaftStructure.findGenerationPoint(MineshaftStructure.java:42)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.structure.Structure.findValidGenerationPoint(Structure.java:154)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.structure.StructureCheck.canCreateStructure(StructureCheck.java:185)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.structure.StructureCheck.lambda$checkStart$1(StructureCheck.java:177)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.structure.StructureCheck$$Lambda$8811/0x00007f0f1077e860.get(Unknown Source)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.structure.StructureCheck$SynchronisedLong2BooleanMap.getOrCompute(StructureCheck.java:133)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.structure.StructureCheck.checkStart(StructureCheck.java:176)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.StructureManager.checkStructurePresence(StructureManager.java:167)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.chunk.ChunkGenerator.getStructureGeneratingAt(ChunkGenerator.java:305)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.chunk.ChunkGenerator.getNearestGeneratedStructure(ChunkGenerator.java:275)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.chunk.ChunkGenerator.findNearestMapStructure(ChunkGenerator.java:201)
[19:19:13] [Paper Watchdog Thread/ERROR]: ChunkSender-1.0-SNAPSHOT.jar//ChunkSender.request.LocateRequestHandler.lambda$handle$0(LocateRequestHandler.java:68)
[19:19:13] [Paper Watchdog Thread/ERROR]: ChunkSender-1.0-SNAPSHOT.jar//ChunkSender.request.LocateRequestHandler$$Lambda$8802/0x00007f0f112e7a38.call(Unknown Source)
[19:19:13] [Paper Watchdog Thread/ERROR]: org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftFuture.run(CraftFuture.java:88)
[19:19:13] [Paper Watchdog Thread/ERROR]: org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:482)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1646)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:447)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1525)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1226)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319)
[19:19:13] [Paper Watchdog Thread/ERROR]: net.minecraft.server.MinecraftServer$$Lambda$6230/0x00007f0f10b77248.run(Unknown Source)
[19:19:13] [Paper Watchdog Thread/ERROR]: java.base@17.0.10/java.lang.Thread.run(Thread.java:840)
[19:19:13] [Paper Watchdog Thread/ERROR]: ------------------------------
[19:19:13] [Paper Watchdog Thread/ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH ---
[19:19:13] [Paper Watchdog Thread/ERROR]: ------------------------------
[19:19:18] [Paper Watchdog Thread/ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH - git-Paper-463 (MC: 1.20.4) ---
[19:19:18] [Paper Watchdog Thread/ERROR]: The server has not responded for 20 seconds! Creating thread dump
[19:19:18] [Paper Watchdog Thread/ERROR]: ------------------------------
[19:19:18] [Paper Watchdog Thread/ERROR]: Server thread dump (Look for plugins here before reporting to Paper!):
[19:19:18] [Paper Watchdog Thread/ERROR]: ------------------------------
[19:19:18] [Paper Watchdog Thread/ERROR]: Current Thread: Server thread
[19:19:18] [Paper Watchdog Thread/ERROR]: PID: 26 | Suspended: false | Native: false | State: RUNNABLE
[19:19:18] [Paper Watchdog Thread/ERROR]: Stack:
[19:19:18] [Paper Watchdog Thread/ERROR]: java.base@17.0.10/java.util.HashMap.hash(HashMap.java:338)
[19:19:18] [Paper Watchdog Thread/ERROR]: java.base@17.0.10/java.util.HashMap.computeIfAbsent(HashMap.java:1191)
[19:19:18] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.NoiseChunk.wrap(NoiseChunk.java:335)
[19:19:18] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.NoiseChunk$$Lambda$8445/0x00007f0f112fbd98.apply(Unknown Source)
[19:19:18] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$Ap2.mapAll(DensityFunctions.java:309)
[19:19:18] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$HolderHolder.mapAll(DensityFunctions.java:585)
[19:19:18] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$Ap2.mapAll(DensityFunctions.java:309)
[19:19:18] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$Spline$Coordinate.mapAll(DensityFunctions.java:1107)
[19:19:18] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$Spline.lambda$mapAll$0(DensityFunctions.java:1054)
[19:19:18] [Paper Watchdog Thread/ERROR]: net.minecraft.world.level.levelgen.DensityFunctions$w$$Lambda$7109/0x00007f0f10dd24d8.visit(Unknown Source)
[19:19:18] [Paper Watchdog Thread/ERROR]: net.minecraft.util.CubicSpline$Multipoint.lambda$mapAll$3(CubicSpline.java:287)
[19:19:18] [Paper Watchdog Thread/ERROR]: net.minecraft.util.CubicSpline$Multipoint.lambda$mapAll$3(CubicSpline.java:287)
[19:19:18] [Paper Watchdog Thread/ERROR]: net.minecraft.util.CubicSpline$e$$Lambda$7110/0x00007f0f10dd2700.apply(Unknown Source)
Current Thread: pool-13-thread-36
[19:19:59 ERROR]: PID: 4410 | Suspended: false | Native: false | State: WAITING
[19:19:59 ERROR]: Stack:
[19:19:59 ERROR]: java.base@17.0.10/jdk.internal.misc.Unsafe.park(Native Method)
[19:19:59 ERROR]: java.base@17.0.10/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
[19:19:59 ERROR]: java.base@17.0.10/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506)
[19:19:59 ERROR]: java.base@17.0.10/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3465)
[19:19:59 ERROR]: java.base@17.0.10/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3436)
[19:19:59 ERROR]: java.base@17.0.10/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1623)
[19:19:59 ERROR]: java.base@17.0.10/java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:435)
[19:19:59 ERROR]: java.base@17.0.10/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1062)
[19:19:59 ERROR]: java.base@17.0.10/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1122)
[19:19:59 ERROR]: java.base@17.0.10/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[19:19:59 ERROR]: java.base@17.0.10/java.lang.Thread.run(Thread.java:840)
[19:19:59 ERROR]: ------------------------------
I did some tests and flew around the worlds for several minutes with the new version (for both, pmmp and java) and got no more problems...please test this if you encounter any issues @TheLemzz
Still crashing. PMMP: 5.14.1 Paper Java: git-Paper-484
Server still freezing or is there the old error (broken pipe)?
Broken pipe error, I haven't see any freezing server yet after update
okay now this should hopefully be fixed, at least the server shouldnt overload anymore, please test this if you have some free time. (new chunksender version)
crashing again:
[21:10:40 INFO]: [ChunkSender] [STDOUT] error: java.io.IOException: broken pipe [21:10:40 WARN]: Nag author(s): '[HimmelKreis4865]' of 'ChunkSender v1.2' about their usage of System.out/err.print. Please use your plugin's logger instead (JavaPlugin#getLogger). [21:10:40 INFO]: [ChunkSender] [STDOUT] error station 1: java.util.concurrent.CompletionException: java.lang.RuntimeException: java.io.IOException: broken pipe
but the console no longer issues "server overload?"
hm yeah now at this point i have no idea. I thought the broken pipe came because it took too long to load the chunks but it doesn't seem to be the case ig...what do you do exactly to produce this error? im not able to reproduce it rn
I just load chunks. If I teleport to a random location, it very often causes the server crash.. Right now I don't notice any reports of server overload. An error may occur while transferring chunk data
I think the java server shouldn't crash anymore though, so can you maybe run some timings and let the server crash and send the reports to me?
PMMP server or Java server?
java
and one more question, after how much onlinetime will the server crash? so does this happen directly after startup or does it work for some hours before crashing?
At the start of the server, a crash may occur if the spawn territory has not yet been loaded on the java server (at least it was like that before, I haven't tested it now). Basically, the server crashes at the moment the chunks load, usually within two minutes
timings cannot save when server crash happen
If you do not use /tp to a chunks that has not yet been generated, then there are less crashes(compared to what it was)
yeah I'm starting to loose my mind, I made a script that teleports me to a random location every 3 seconds and let it run since 20 minutes...got no crash
1 hour later, still no error. This is really fucking weird. What os are you running on?
Virtualization: kvm Operating System: Ubuntu 20.04.6 LTS Kernel: Linux 5.4.0-174-generic Architecture: x86-64
i use /tp ~X ~ ~Z and I got an error 5 seconds later
When I try to generate a world, an error occurs.
the following log appears on the java server:
Can't keep up! Is the server overloaded? Running 4116ms or 82 ticks behind [00:23:21 WARN]: Exception in thread "pool-14-thread-1" java.lang.RuntimeException: java.io.IOException: broken pipe [00:23:21 WARN]: at ChunkSender-1.0-SNAPSHOT.jar//ChunkSender.request.ChunkRequestHandler.lambda$handle$0(ChunkRequestHandler.java:42) [00:23:21 WARN]: at java.base/java.lang.Thread.run(Thread.java:840) [00:23:21 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [00:23:21 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [00:23:21 WARN]: at java.base/java.lang.Thread.run(Thread.java:840) [00:23:21 WARN]: Caused by: java.io.IOException: Обрыв канала [00:23:21 WARN]: at java.base/sun.nio.ch.FileDispatcherImpl.write0(Native Method) [00:23:21 WARN]: at java.base/sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:62) [00:23:21 WARN]: at java.base/sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:132) [00:23:21 WARN]: at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:97) [00:23:21 WARN]: at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:53) [00:23:21 WARN]: at java.base/sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:532) [00:23:21 WARN]: at jdk.httpserver/sun.net.httpserver.Request$WriteStream.write(Request.java:393) [00:23:21 WARN]: at jdk.httpserver/sun.net.httpserver.FixedLengthOutputStream.write(FixedLengthOutputStream.java:81) [00:23:21 WARN]: at java.base/java.io.FilterOutputStream.write(FilterOutputStream.java:108) [00:23:21 WARN]: at jdk.httpserver/sun.net.httpserver.PlaceholderOutputStream.write(ExchangeImpl.java:459) [00:23:21 WARN]: at ChunkSender-1.0-SNAPSHOT.jar//ChunkSender.request.ChunkRequestHandler.lambda$handle$0(ChunkRequestHandler.java:39) [00:23:21 WARN]: ... 4 more
on the PocketMine server:
Thread: AsyncWorker#1 Error: Connection to the upstream Java Server lost! Check the status of the server File: plugins/JavaGen-main/src/JavaGen/stream/JavaRequests Line: 47 Type: RuntimeException Backtrace:
0 pmsrc/plugins/JavaGen-main/src/JavaGen/stream/JavaRequests(19): JavaGen\stream\JavaRequests::request(string[70] http://localhost:8000/chunkRequest?chunkX=16&chunkZ=16&dimension=world)
1 pmsrc/plugins/JavaGen-main/src/JavaGen/generator/BaseJavaGenerator(54): JavaGen\stream\JavaRequests::requestChunk(object JavaGen\helper\Dimension#49068, int 16, int 16, null)
2 pmsrc/src/world/generator/PopulationTask(122): JavaGen\generator\BaseJavaGenerator->generateChunk(object pocketmine\world\SimpleChunkManager#49121, int 16, int 16)
3 pmsrc/src/world/generator/PopulationTask(93): pocketmine\world\generator\PopulationTask::setOrGenerateChunk(object pocketmine\world\SimpleChunkManager#49121, object JavaGen\generator\OverworldGenerator#49126, int 16, int 16, null)
4 pmsrc/src/scheduler/AsyncTask(81): pocketmine\world\generator\PopulationTask->onRun()
5 (): pocketmine\scheduler\AsyncTask->run()
The Internet connection is stable. Linux system. Java 17. paper latest version. Java server still working after crashing