Problem Direwolf20 1.0.18 Server occasionally kicks all players

  • FTB will be shutting down this forum by the end of July. To participate in our community discussions, please join our Discord! https://ftb.team/discord

compcrasher86

New Member
Jul 29, 2019
5
0
0
Hey all, we're running a new server and its going great except for this oddball problem

Server is running Linux
We are using CreeperHost
Running Direwolf20 1.0.18
No mods added. Mods disabled through Creeperhost interface: AM2, Billund, compactsolars, computercraft, enderstorage, evoc, extrautils, factorization, gravitygun, hats, hatstand, infinibows, minefactoryreloaded, modularpowersuits, morph beta, morpheus, mystcraft, openblocks, openmodsliv, openperipheraladdons, opernperipheralcore, portalgun, powercrystalscore, powersuitaddons, wcraft, redstonearsenal, stevescarts, translocator, waila wr cbe
Server is their Spider Package: 2 cores in a VPS (With a Xeon L5520), 3gB RAM, 55gB hd space, unlimited bandwidth transfer.
The server itself runs well. Randomly (not too often, happens once in a couple hours) with 3 people online (all in different areas of the map) we've experienced instances where everybody on the server will lag abruptly and then everybody will be disconnected. This has only happened with specifically the third person online but we are unsure if that is a coincidence. We cannot pinpoint it to using any specific item, mod, or action. Most of what we're doing right now is vanilla building.

Relevant forge logs from the server are as follows:
Code:
2014-03-17 04:09:59 [INFO] [STDOUT] Sending serverside check to: BLebow
2014-03-17 04:10:04 [INFO] [STDERR] java.net.SocketException: Connection reset
2014-03-17 04:10:04 [INFO] [STDERR]    at java.net.SocketInputStream.read(SocketInputStream.java:189)
2014-03-17 04:10:04 [INFO] [STDERR]    at java.net.SocketInputStream.read(SocketInputStream.java:121)
2014-03-17 04:10:04 [INFO] [STDERR]    at java.net.SocketInputStream.read(SocketInputStream.java:203)
2014-03-17 04:10:04 [INFO] [STDERR]    at java.io.DataInputStream.readUnsignedByte(DataInputStream.java:288)
2014-03-17 04:10:04 [INFO] [STDERR]    at net.minecraft.network.packet.Packet.func_73272_a(Packet.java:145)
2014-03-17 04:10:04 [INFO] [STDERR]    at net.minecraft.network.TcpConnection.func_74447_i(TcpConnection.java:325)
2014-03-17 04:10:04 [INFO] [STDERR]    at net.minecraft.network.TcpConnection.func_74450_c(TcpConnection.java:549)
2014-03-17 04:10:04 [INFO] [STDERR]    at net.minecraft.network.TcpReaderThread.run(SourceFile:94)
2014-03-17 04:10:04 [INFO] [Minecraft-Server] /95.154.229.123:65521 lost connection
2014-03-17 04:12:17 [INFO] [STDERR] java.net.SocketTimeoutException: Read timed out
2014-03-17 04:12:17 [INFO] [STDERR]    at java.net.SocketInputStream.socketRead0(Native Method)
2014-03-17 04:12:17 [INFO] [STDERR]    at java.net.SocketInputStream.read(SocketInputStream.java:150)
2014-03-17 04:12:17 [INFO] [STDERR]    at java.net.SocketInputStream.read(SocketInputStream.java:121)
2014-03-17 04:12:17 [INFO] [STDERR]    at java.io.FilterInputStream.read(FilterInputStream.java:133)
2014-03-17 04:12:17 [INFO] [STDERR]    at org.bouncycastle.crypto.io.CipherInputStream.nextChunk(Unknown Source)
2014-03-17 04:12:17 [INFO] [STDERR]    at org.bouncycastle.crypto.io.CipherInputStream.read(Unknown Source)
2014-03-17 04:12:17 [INFO] [STDERR]    at java.io.DataInputStream.readInt(DataInputStream.java:387)
2014-03-17 04:12:17 [INFO] [STDERR]    at java.io.DataInputStream.readFloat(DataInputStream.java:446)
2014-03-17 04:12:17 [INFO] [STDERR]    at net.minecraft.network.packet.Packet13PlayerLookMove.func_73267_a(SourceFile:31)
2014-03-17 04:12:17 [INFO] [STDERR]    at net.minecraft.network.packet.Packet.func_73272_a(Packet.java:166)
2014-03-17 04:12:17 [INFO] [STDERR]    at net.minecraft.network.TcpConnection.func_74447_i(TcpConnection.java:325)
2014-03-17 04:12:17 [INFO] [STDERR]    at net.minecraft.network.TcpConnection.func_74450_c(TcpConnection.java:549)
2014-03-17 04:12:17 [INFO] [STDERR]    at net.minecraft.network.TcpReaderThread.run(SourceFile:94)
2014-03-17 04:12:17 [INFO] [Minecraft-Server] compcrasher86 lost connection: disconnect.genericReason
2014-03-17 04:12:17 [INFO] [Minecraft-Server] compcrasher86 left the game
2014-03-17 04:12:17 [INFO] [STDOUT] Unloading Player: compcrasher86
2014-03-17 04:12:21 [INFO] [STDERR] java.net.SocketTimeoutException: Read timed out
2014-03-17 04:12:21 [INFO] [STDERR]    at java.net.SocketInputStream.socketRead0(Native Method)
2014-03-17 04:12:21 [INFO] [STDERR]    at java.net.SocketInputStream.read(SocketInputStream.java:150)
2014-03-17 04:12:21 [INFO] [STDERR]    at java.net.SocketInputStream.read(SocketInputStream.java:121)
2014-03-17 04:12:21 [INFO] [STDERR]    at java.io.FilterInputStream.read(FilterInputStream.java:133)
2014-03-17 04:12:21 [INFO] [STDERR]    at org.bouncycastle.crypto.io.CipherInputStream.nextChunk(Unknown Source)
2014-03-17 04:12:21 [INFO] [STDERR]    at org.bouncycastle.crypto.io.CipherInputStream.read(Unknown Source)
2014-03-17 04:12:21 [INFO] [STDERR]    at java.io.DataInputStream.readUnsignedByte(DataInputStream.java:288)
2014-03-17 04:12:21 [INFO] [STDERR]    at net.minecraft.network.packet.Packet.func_73272_a(Packet.java:145)
2014-03-17 04:12:21 [INFO] [STDERR]    at net.minecraft.network.TcpConnection.func_74447_i(TcpConnection.java:325)
2014-03-17 04:12:21 [INFO] [STDERR]    at net.minecraft.network.TcpConnection.func_74450_c(TcpConnection.java:549)
2014-03-17 04:12:21 [INFO] [STDERR]    at net.minecraft.network.TcpReaderThread.run(SourceFile:94)
2014-03-17 04:12:21 [INFO] [Minecraft-Server] lilsmallman215 lost connection: disconnect.genericReason
2014-03-17 04:12:21 [INFO] [Minecraft-Server] lilsmallman215 left the game
2014-03-17 04:12:21 [INFO] [STDOUT] Unloading Player: lilsmallman215
2014-03-17 04:12:49 [SEVERE] [Minecraft-Server] Reached end of stream for /67.240.202.134
2014-03-17 04:12:51 [FINEST] [ForgeModLoader] Received valid FML login packet from /67.240.202.134:53664
2014-03-17 04:12:52 [INFO] [ForgeModLoader] User lilsmallman215 connecting with mods [CoFHMasquerade, CalclaviaCore, BiblioCraft, Opis, MagicBees, TwilightForest, BuildCraft|Transport, NEIAddons|MiscPeripherals, ObsidiPlates, MapWriter, TMechworks, Thaumcraft, BiblioWoodsBoP, CoFHWorld, TConstruct, Forestry, BinnieCore, IronChest, ProjRed|Transmission, ProjRed|Transportation, Natura, BuildCraft|Energy, Railcraft, LogisticsPipes|Main, NEIAddons, ChickenChunks, ProjRed|Integration, BiomesOPlenty, CoFHCore, ProjRed|Core, AppliedEnergistics, ProjRed|Illumination, ThaumicTinkerer, CoFHLoot, ProjRed|Expansion, ThermalExpansion, GateCopy, inventorytweaks, BuildCraft|Silicon, ProjRed|Compatibility, ThaumicTinkererKami, switches, IC2NuclearControl, DenPipes-Forestry, BuildCraft|Core, DenPipes, PluginsforForestry, ForgeMultipart, IC2, ExtraBees, DenPipes-Emerald, flatsigns, BuildCraft|Factory, MFFS, Forge, Additional-Buildcraft-Objects, BiblioWoodsNatura, numina, ExtraTrees, McMultipart, BiblioWoodsForestry, ProjRed|Exploration, BuildCraft|Builders, CoFHSocial]
2014-03-17 04:12:52 [INFO] [Minecraft-Server] lilsmallman215[/67.240.202.134:53664] logged in with entity id 655233 at (-86.42569713247248, 71.0, -987.7707576132342)
2014-03-17 04:12:52 [INFO] [Minecraft-Server] lilsmallman215 joined the game
2014-03-17 04:12:52 [INFO] [STDOUT] Loading Player: lilsmallman215
2014-03-17 04:12:52 [INFO] [STDOUT] Sending serverside check to: lilsmallman215
2014-03-17 04:13:11 [INFO] [STDERR] java.net.SocketTimeoutException: Read timed out
2014-03-17 04:13:11 [INFO] [STDERR]    at java.net.SocketInputStream.socketRead0(Native Method)
2014-03-17 04:13:11 [INFO] [STDERR]    at java.net.SocketInputStream.read(SocketInputStream.java:150)
2014-03-17 04:13:11 [INFO] [STDERR]    at java.net.SocketInputStream.read(SocketInputStream.java:121)
2014-03-17 04:13:11 [INFO] [STDERR]    at java.io.FilterInputStream.read(FilterInputStream.java:133)
2014-03-17 04:13:11 [INFO] [STDERR]    at org.bouncycastle.crypto.io.CipherInputStream.nextChunk(Unknown Source)
2014-03-17 04:13:11 [INFO] [STDERR]    at org.bouncycastle.crypto.io.CipherInputStream.read(Unknown Source)
2014-03-17 04:13:11 [INFO] [STDERR]    at java.io.DataInputStream.readInt(DataInputStream.java:387)
2014-03-17 04:13:11 [INFO] [STDERR]    at java.io.DataInputStream.readFloat(DataInputStream.java:446)
2014-03-17 04:13:11 [INFO] [STDERR]    at net.minecraft.network.packet.Packet13PlayerLookMove.func_73267_a(SourceFile:30)
2014-03-17 04:13:11 [INFO] [STDERR]    at net.minecraft.network.packet.Packet.func_73272_a(Packet.java:166)
2014-03-17 04:13:11 [INFO] [STDERR]    at net.minecraft.network.TcpConnection.func_74447_i(TcpConnection.java:325)
2014-03-17 04:13:11 [INFO] [STDERR]    at net.minecraft.network.TcpConnection.func_74450_c(TcpConnection.java:549)
2014-03-17 04:13:11 [INFO] [STDERR]    at net.minecraft.network.TcpReaderThread.run(SourceFile:94)
2014-03-17 04:13:11 [INFO] [Minecraft-Server] BLebow lost connection: disconnect.genericReason
2014-03-17 04:13:11 [INFO] [Minecraft-Server] BLebow left the game
2014-03-17 04:13:11 [INFO] [STDOUT] Unloading Player: BLebow

Myself and other server mod are proficient with Linux and MC in most instances. We switched over from hosting our own server with a private pack to a hosted server with a wider supported modpack. So far its been great except for this issue. Hoping somebody could steer us in the right direction or suggest some more troubleshooting. Its the only major issue we're having right now. Thanks!
 

ziat007

New Member
Jul 29, 2019
6
0
0
I am having the same problem :( also the RAM usage and TPS is high.
I am using some parameter.
 

N-kay

New Member
Jul 29, 2019
21
0
0
Came here looking for someone who has the same problem, good to know I'm not the only one.

I also got a Creeperhost server, but I'm running the monster pack.
For a couple of days now, the server just freaks out once or twice per day and 'kicks' everyone, and you can't stay connected for longer than 30 seconds after that. This usually last about 5 minutes, then everybody can connect normally and everything is fine. The TPS are fine at all times though, no problems there.

How I understand it, 'end of stream' means that the internet connection from or to the server can't handle the data and is overloaded, so it disconnects the players. Since everyone on the sever has it, it can't be clientside, so it has to be a server- or host-side problem. Am I right with this? I want this confirmed, because then I can open a sup ticket with the knowledge that it's not my fault, but theirs.
 

compcrasher86

New Member
Jul 29, 2019
5
0
0
Came here looking for someone who has the same problem, good to know I'm not the only one.

I also got a Creeperhost server, but I'm running the monster pack.
For a couple of days now, the server just freaks out once or twice per day and 'kicks' everyone, and you can't stay connected for longer than 30 seconds after that. This usually last about 5 minutes, then everybody can connect normally and everything is fine. The TPS are fine at all times though, no problems there.

How I understand it, 'end of stream' means that the internet connection from or to the server can't handle the data and is overloaded, so it disconnects the players. Since everyone on the sever has it, it can't be clientside, so it has to be a server- or host-side problem. Am I right with this? I want this confirmed, because then I can open a sup ticket with the knowledge that it's not my fault, but theirs.

Fortunately our server does not suffer from excessive ram usage or TPS issues either. We usually restart the server process weekly and the highest I've seen the RAM usage is 34%. Worst I've seen is 20TPS/40ms. When its just me online its more like 20TPS/12ms. Server CPU usage has never gone above 9% and we have a good chunk of mods disabled so I have trouble believing it could be overloaded. I would imagine if it were any of our individual internet connections only one of us would get kicked, not the entire player-base. The server itself has never crashed since we launched, and our VPS has 100% uptime. Its odd because most people in here with DW20 issues see crashing, but ours seems to be stable, the server shows no indication of going offline. Our disconnects follow a massive lag, so I would agree that a connectivity issue could be the culprit. We figured Creeperhost would be reputable not to have issues like this but its definitely possible. The only thing I noticed is different about these disconnects vs normal disconnects is the bouncycastle lines. I will try abruptly removing one of our players' computers from network and see what kind of error message it throws. What datacenter is yours in? Ours is in Atlanta. If you decide to file a ticket please keep me updated, I may do the same myself if this continues.
 

TheTeaSpoon

New Member
Jul 29, 2019
5
0
0
We have been having this issue on our lets play. I have managed to solve it by the arguments, what exactly is your issue? Have you applied the arguments? Please describe your issue and I am happy to help :)
 

TheTeaSpoon

New Member
Jul 29, 2019
5
0
0
Fortunately our server does not suffer from excessive ram usage or TPS issues either. We usually restart the server process weekly and the highest I've seen the RAM usage is 34%. Worst I've seen is 20TPS/40ms. When its just me online its more like 20TPS/12ms. Server CPU usage has never gone above 9% and we have a good chunk of mods disabled so I have trouble believing it could be overloaded. I would imagine if it were any of our individual internet connections only one of us would get kicked, not the entire player-base. The server itself has never crashed since we launched, and our VPS has 100% uptime. Its odd because most people in here with DW20 issues see crashing, but ours seems to be stable, the server shows no indication of going offline. Our disconnects follow a massive lag, so I would agree that a connectivity issue could be the culprit. We figured Creeperhost would be reputable not to have issues like this but its definitely possible. The only thing I noticed is different about these disconnects vs normal disconnects is the bouncycastle lines. I will try abruptly removing one of our players' computers from network and see what kind of error message it throws. What datacenter is yours in? Ours is in Atlanta. If you decide to file a ticket please keep me updated, I may do the same myself if this continues.
Hello,
Have you applied these arguments and modified them specifically to your server?
It helps more than you can imagine. I have been playing around with arguments for the past quarter of a year, there a pain to get correctly, but once you do they boost minecraft massively.
I just realised this is another thread.
Here are the arguments:
Code:
java -server -Xms4G -Xmx4G -XX:PermSize=256m -XX:NewRatio=3 -XX:SurvivorRatio=3 -XX:TargetSurvivorRatio=80 -XX:MaxTenuringThreshold=8 -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:MaxGCPauseMillis=10 -XX:GCPauseIntervalMillis=50 -XX:MaxGCMinorPauseMillis=7 -XX:+ExplicitGCInvokesConcurrent -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=60 -XX:+BindGCTaskThreadsToCPUs -Xnoclassgc
-jar "{JAR}" nogui
Modify the -Xms4G and -Xmx4G depending on the amount of ram you wish to allocate to the server at maximum.
Add your minecraft.jar name instead of this {JAR}
 

N-kay

New Member
Jul 29, 2019
21
0
0
I chose UK as location, quick searching for the geolocation of the IP revealed that my server is in Grantham, England to be exact.


What do you mean arguments? Do you mean the java arguments the server gets launched with? Because Creeperhost has it's own set, I don't even know most of them. Below is the full command the server is launched with. This command is sent directly via the cp, there is no valid startscript on the vserver itself. Of course you can add your own, but then you couldn't start the server from the cp anymore.

Code:
SCREEN -LdmS minecraft java -d64 -server -DJINTEGRA_NATIVE_MODE -DJINTEGRA_COINIT_VALUE=0 -Dsun.io.useCanonCaches=false -XX:Thre
adPriorityPolicy=42 -XX:CompileThreshold=1500 -XX:-UseGCOverheadLimit -XX:+TieredCompilation -XX:ParallelGCThreads=4 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=15 -XX:
+UnlockExperimentalVMOptions -XX:+UseAdaptiveGCBoundary -XX:PermSize=256M -XX:MaxPermSize=256M -XX:+UseGCOverheadLimit -XX:+UseBiasedLocking -Xnoclassgc -Xverify:none -XX:UseSS
E=3 -XX:+UseThreadPriorities -Djava.net.preferIPv4Stack=true -XX:+UseLargePages -XX:NewRatio=3 -XX:SurvivorRatio=3 -XX:MaxTenuringThreshold=8 -XX:+UseParNewGC -XX:+UseConcMarkS
weepGC -XX:MaxGCPauseMillis=10 -XX:GCPauseIntervalMillis=50 -XX:MaxGCMinorPauseMillis=7 -XX:+ExplicitGCInvokesConcurrent -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOcc
upancyFraction=60 -XX:+BindGCTaskThreadsToCPUs -XX:+UseStringCache -XX:+OptimizeStringConcat -XX:+UseFastAccessorMethods -Xrs -XX:+UseCompressedOops -XX:+AggressiveOpts -Xmx505
7M -jar craftbukkit.jar nogui *removed server adress*
 

TheTeaSpoon

New Member
Jul 29, 2019
5
0
0
It seems like they have arguments set up. Hosting I have encountered did not have arguments set up. The arguments seems to be set appropriate to your server, I assume CreeperHost dynamically sets the parameters up. I host my own server so I havetoo set them up myself depending on the rig.
I recommend you to post together on the CreeperHost forum and contact there technical support.
https://www.creeperhost.net/supporttickets.php