Need help with really bad errors on my server

Discussion in 'Bukkit Help' started by Carlos Fuentes, Mar 28, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    Carlos Fuentes

    So I run a minecraft server, using the latest craftbukkit build available. Somewhat often, for reasons I can't pinpoint, I get MASSIVE amounts of "SEVERE" errors. During the errors, server lag reaches a critical point. Typically, once a player leaves, with the disconnect reason being GeneericReason (as opposed to disconnect) the server simply crashes. *any* action yields a timeout. Any tips? I run with Worldedit, Worldguard, Quickstrasse, and DefaultCommands.

    Here's a log. Please note, though, that there were more severe errors in the server, I just didn't include them all.

    11-03-28 21:14:18 [SEVERE] java.lang.IllegalStateException: Failed to remove player. net.minecraft.server.EntityPlayer@434b8(metroidpwner at 126.3369778414581,103.70543899415348,235.37572079332324) isn't in chunk 18, 19
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.PlayerInstance.b(PlayerInstance.java:49)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.PlayerManager.b(PlayerManager.java:101)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:114)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:551)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.NetworkManager.a(SourceFile:234)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    2011-03-28 21:14:18 [SEVERE] java.lang.IllegalStateException: Failed to remove player. net.minecraft.server.EntityPlayer@434b8(metroidpwner at 126.3369778414581,103.70543899415348,235.37572079332324) isn't in chunk 18, 20
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.PlayerInstance.b(PlayerInstance.java:49)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.PlayerManager.b(PlayerManager.java:101)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:114)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:551)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.NetworkManager.a(SourceFile:234)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    2011-03-28 21:14:18 [SEVERE] java.lang.IllegalStateException: Failed to remove player. net.minecraft.server.EntityPlayer@434b8(metroidpwner at 126.3369778414581,103.70543899415348,235.37572079332324) isn't in chunk 18, 21
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.PlayerInstance.b(PlayerInstance.java:49)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.PlayerManager.b(PlayerManager.java:101)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:114)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:551)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.NetworkManager.a(SourceFile:234)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    2011-03-28 21:14:18 [SEVERE] java.lang.IllegalStateException: Failed to remove player. net.minecraft.server.EntityPlayer@434b8(metroidpwner at 126.3369778414581,103.70543899415348,235.37572079332324) isn't in chunk 18, 22
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.PlayerInstance.b(PlayerInstance.java:49)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.PlayerManager.b(PlayerManager.java:101)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:114)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:551)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.NetworkManager.a(SourceFile:234)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    2011-03-28 21:14:18 [SEVERE] java.lang.IllegalStateException: Failed to remove player. net.minecraft.server.EntityPlayer@434b8(metroidpwner at 126.3369778414581,103.70543899415348,235.37572079332324) isn't in chunk 18, 23
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.PlayerInstance.b(PlayerInstance.java:49)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.PlayerManager.b(PlayerManager.java:101)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:114)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:551)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.NetworkManager.a(SourceFile:234)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    2011-03-28 21:14:18 [SEVERE] java.lang.IllegalStateException: Failed to remove player. net.minecraft.server.EntityPlayer@434b8(metroidpwner at 126.3369778414581,103.70543899415348,235.37572079332324) isn't in chunk 18, 24
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.PlayerInstance.b(PlayerInstance.java:49)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.PlayerManager.b(PlayerManager.java:101)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:114)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:551)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.NetworkManager.a(SourceFile:234)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    2011-03-28 21:14:18 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    2011-03-28 21:14:32 [INFO] VTBM returned to spawn.
    2011-03-28 21:14:32 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-03-28 21:14:35 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-03-28 21:14:39 [INFO] VTBM lost connection: disconnect.quitting
    2011-03-28 21:15:31 [SEVERE] java.net.SocketException: Connection reset
    2011-03-28 21:15:31 [SEVERE] at java.net.SocketInputStream.read(Unknown Source)
    2011-03-28 21:15:31 [SEVERE] at java.net.SocketInputStream.read(Unknown Source)
    2011-03-28 21:15:31 [SEVERE] at java.io.FilterInputStream.read(Unknown Source)
    2011-03-28 21:15:31 [SEVERE] at net.minecraft.server.Packet.b(SourceFile:113)
    2011-03-28 21:15:31 [SEVERE] at net.minecraft.server.NetworkManager.f(SourceFile:155)
    2011-03-28 21:15:31 [SEVERE] at net.minecraft.server.NetworkManager.c(SourceFile:9)
    2011-03-28 21:15:31 [SEVERE] at net.minecraft.server.NetworkReaderThread.run(SourceFile:62)
    2011-03-28 21:15:31 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-03-28 21:15:31 [INFO] /**.***.***.***:**** lost connection
    2011-03-28 21:15:31 [INFO] /**.***.***.***:**** lost connection
    2011-03-28 21:15:31 [INFO] /**.***.***.***:**** lost connection
    2011-03-28 21:15:31 [INFO] tanjou lost connection: disconnect.quitting
    2011-03-28 21:18:17 [INFO] Chevve set his/her status to Afk.
    2011-03-28 21:18:58 [INFO] /**.***.***.***:**** lost connection
    2011-03-28 21:18:58 [INFO] /**.***.***.***:**** lost connection
    2011-03-28 21:18:58 [INFO] <Chevve> brag test
    2011-03-28 21:18:59 [INFO] Chevve lost connection: disconnect.endOfStream
     
  2. Offline

    SpaceManiac

    Does this happen with other people besides 'metroidpwner'?
     
  3. Offline

    Carlos Fuentes

    That's my MC username. Yeah, it does :/
     
  4. Offline

    SpaceManiac

    Hmm. Does it still happen if you try it on a different map? (Try copying your entire server folder except the map, changing the port, and connecting to that, if you don't want to disrupt your normal server any worse).
     
  5. Offline

    Carlos Fuentes

    I'll try that tonight, when there's less traffic. Thanks for the tip! Do you think allocating more RAM to the server might help?
     
  6. Offline

    mughi

    How much ram does it have now?

    If more than 2 gb, adding more ram prolly wont solve this. And it would be better to fix the root issue than hide it by throwing more hardware at it.
     
  7. Offline

    TnT

    Try removing the .dat files for the players in question. See if that helps.
     
  8. Offline

    Carlos Fuentes

    The server right now runs with 1.5gb of RAM. it's not a large population server, so I don't think any more is too necessary.

    Changing the world did not help.

    I'll try removing the .dat files, but if you don't mind me asking, what do they do?
    edit: I don't think that'll solve the problem, as the players can log back in fine after the server restarts (though, for some reason, they'll be in another location).
     
  9. Offline

    TnT

    The player.dat files holds the inventory information, and I believe it also holds the player position, hence asking for it to be removed. They should start in a different location, but shouldn't have this problem show up again.
     
  10. Offline

    Carlos Fuentes

    Ah, alright. No, that didn't really help much :(

    There are a few lines that are standing out to me. There's one that says:

    [SEVERE] Could not pass event BLOCK_IGNITE to WorldGuard. That's popped up a few times.

    2011-03-28 21:18:59 [INFO] Chevve lost connection: disconnect.endOfStream

    That end of stream seems to happen to exploz0r, my co-Op, and I a lot of the time.

    2011-03-28 21:15:31 [SEVERE] java.net.SocketException: Connection reset

    This one pops up quite a bit, too. My brother brought up the point it might have to do with a poor internet connection, but it's happened with JUST one player on the server (me) sitting right next to the server computer.

    I'll try again with a different world - I hope it isn't corrupt. That would *suck*
     
  11. Offline

    TnT

    Make sure your World Guard plugin is compatible with the build you are using.

    You could have a faulty nic in your PC causing you to have those issues.
     
  12. Offline

    Carlos Fuentes

    I'll check compatibility now. I don't think the nic's messed up, but it is kind of an older computer that I've added to. I'll troubleshoot it, thanks for the tip!

    A new lead! It would seem that errors occur when players leave the server without a clean disconnect.

    2011-03-29 15:00:28 [INFO] <metroidpwner> i want to see what happens to the server if you just close out of MC with the x button
    2011-03-29 15:00:30 [INFO] <metroidpwner> no disconnecting

    2011-03-29 15:00:59 [INFO] <TeenageAngst> you want me to just close MC with the window X?
    2011-03-29 15:01:01 [INFO] <metroidpwner> yessir
    2011-03-29 15:01:06 [INFO] <TeenageAngst> k one sec
    2011-03-29 15:01:08 [INFO] <metroidpwner> okay
    2011-03-29 15:01:16 [SEVERE] java.net.SocketException: Connection reset
    2011-03-29 15:01:16 [SEVERE] at java.net.SocketInputStream.read(Unknown Source)
    2011-03-29 15:01:16 [SEVERE] at java.net.SocketInputStream.read(Unknown Source)
    2011-03-29 15:01:16 [SEVERE] at java.io.FilterInputStream.read(Unknown Source)
    2011-03-29 15:01:16 [SEVERE] at net.minecraft.server.Packet.b(SourceFile:113)
    2011-03-29 15:01:16 [SEVERE] at net.minecraft.server.NetworkManager.f(SourceFile:155)
    2011-03-29 15:01:16 [SEVERE] at net.minecraft.server.NetworkManager.c(SourceFile:9)
    2011-03-29 15:01:16 [SEVERE] at net.minecraft.server.NetworkReaderThread.run(SourceFile:62)
    2011-03-29 15:01:16 [SEVERE] java.net.SocketException: Connection reset by peer: socket write error
    2011-03-29 15:01:16 [SEVERE] at java.net.SocketOutputStream.socketWrite0(Native Method)
    2011-03-29 15:01:16 [SEVERE] at java.net.SocketOutputStream.socketWrite(Unknown Source)
    2011-03-29 15:01:16 [SEVERE] at java.net.SocketOutputStream.write(Unknown Source)
    2011-03-29 15:01:16 [SEVERE] at java.io.DataOutputStream.write(Unknown Source)
    2011-03-29 15:01:16 [SEVERE] at net.minecraft.server.Packet.a(SourceFile:148)
    2011-03-29 15:01:16 [SEVERE] at net.minecraft.server.NetworkManager.e(SourceFile:130)
    2011-03-29 15:01:16 [SEVERE] at net.minecraft.server.NetworkManager.d(SourceFile:9)
    2011-03-29 15:01:16 [SEVERE] at net.minecraft.server.NetworkWriterThread.run(SourceFile:83)
    2011-03-29 15:01:16 [INFO] TeenageAngst lost connection: disconnect.genericReason

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  13. Offline

    TnT

    You'll get that same error if you run a vanilla MC server and someone hits the 'x'. That error can be safely ignored unless you notice your server doesn't allow anyone back in until you restart it.
     
  14. Offline

    Carlos Fuentes

    You just described *exactly* what my problem is :p in some cases, the server just locks up completely.
     
  15. Offline

    TnT

    If you are on Linux, try changing the ulimit from 1024 to something higher (4096).
    Code:
    ulimit -n 4096
    should do it.

    Its not an ideal fix, I know, but its all I have for you.
     
  16. Offline

    Carlos Fuentes

    Unnnnfortunately I'm running of 32 bit xp (less than ideal, I know). I'm looking to upgrade to a 64 bit machine once I make enough from donations, which should hopefully be soon. Any way to do the same idea on my machine?

    Oh, one more thing. This just happened:

    2011-03-29 15:21:37 [INFO] tatashi lost connection: disconnect.quitting
    2011-03-29 15:21:44 [SEVERE] java.net.SocketException: Connection reset
    2011-03-29 15:21:44 [SEVERE] at java.net.SocketInputStream.read(Unknown Source)
    2011-03-29 15:21:44 [SEVERE] at java.net.SocketInputStream.read(Unknown Source)
    2011-03-29 15:21:44 [SEVERE] at java.io.FilterInputStream.read(Unknown Source)
    2011-03-29 15:21:44 [SEVERE] at net.minecraft.server.Packet.b(SourceFile:113)
    2011-03-29 15:21:44 [SEVERE] at net.minecraft.server.NetworkManager.f(SourceFile:155)
    2011-03-29 15:21:44 [SEVERE] at net.minecraft.server.NetworkManager.c(SourceFile:9)
    2011-03-29 15:21:44 [SEVERE] at net.minecraft.server.NetworkReaderThread.run(SourceFile:62)
    2011-03-29 15:21:51 [INFO] /81.135.114.170:59364 lost connection

    It doesn't seem like he Xed out, since he doesn't have the disconnect.genericReason in there.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  17. Offline

    TnT

    My brief googling is showing no comparable command for XP.

    Did your server become unresponsive after that guy hit the 'x'?

    Does your server network connection flake out? You said you play from a system right beside your server - is the switch (or router) you are using have bad ports perhaps?
     
  18. Offline

    Carlos Fuentes


    Hmm. I'll consider switching to Ubuntu then, I saw your thread.

    I've tried using another router, no dice :/

    THIS just happened. Locked the server completely, and I need to restart it.

    After the errors, all the IPs on my server then lost connection. The last line read: tatashi lost connection: disconnect.quitting

    The errors began immediately after exploz0r left.
     

    Attached Files:

  19. Offline

    TnT

    Any chance you can try without any plugins?
     
  20. Offline

    Carlos Fuentes

    I'll have to give it a try later. I try to eliminate downtime as much as possible, and everything seems to be running smoothly for now. I'll try to run without addons at like 4 am tonight, with little traffic
     
  21. Offline

    Carlos Fuentes

    I've yet to try it, but assuming that the plugins ARE the source of the problem, what could I do to fix it?
     
  22. Offline

    Plague

    post in the problematic plugin's thread, the developer can fix it.
     
Thread Status:
Not open for further replies.

Share This Page