Server socket error help

Discussion in 'Bukkit Help' started by sumTard, Feb 6, 2011.

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

    sumTard

    I was wondering if anyone had any idea of what could be causing these errors on my server at random. It seems to happen after a long time running. When it happens, the console will just start spamming these errors and any attempt to connect to the server will time out. It also becomes unresponsive and wont take any commands with cpu usage stuck at 100%, requiring a process kill.
    I'm using craftbukkit 220.

    java.net.SocketException: Connection reset
    at java.net.SocketInputStream.read(SocketInputStream.java:168)
    at java.net.SocketInputStream.read(SocketInputStream.java:182)
    at java.io.FilterInputStream.read(FilterInputStream.java:66)
    at net.minecraft.server.Packet.b(SourceFile:102)
    at net.minecraft.server.NetworkManager.f(SourceFile:157)
    at net.minecraft.server.NetworkManager.c(SourceFile:15)
    at net.minecraft.server.NetworkReaderThread.run(SourceFile:68)

    Thanks for any input!
     
  2. Offline

    Plague

    Hmm first it looked like minecraft.net is down but the 100% CPU (if you mean the server) is strange. Try without bukkit or its plugins then.
     
  3. Offline

    sumTard

    It just crashed again and the console is spamming: More than 1000000 updates, aborting lighting updates

    and of course the cpu is maxed out again. What gives??
    Im running on a VPS with 4gb ram and 4 dedicated 2.5ghz xeon cores
     
  4. Offline

    mughi

    are you using worldcraft or a similar editor to create a giant pool of lava?
    (someone else mentioned that a LOT of lava could cause the lighting update error)
    --- merged: Feb 6, 2011 11:07 PM ---
    also:

    operating system and server start command?
     
  5. Offline

    sumTard

    ha, i did have a massive lava pool right under our main city.

    I use ubuntu 10.4 with these runtime args
    java -server -Xms3521M -Xmx3521M -XX:+UseConcMarkSweepGC -XX:parallelGCThreads=4 -XX:+UseParNewGC -XX\:+CMSIncrementalPacing -XX\:parallelGCThreads\=2 -XX\:+AggressiveOpts
    -jar craftbukkit.jar nogui
     
  6. Offline

    mughi

    try this:
    java -d64 -Xincgc -Xmx3521M -jar craftbukkit.jar nogui

    (assuming you have 64bit os)

    but mostly

    try getting rid of the lava pool
     
  7. Offline

    sumTard

    does Xincgc replace all my other arguments? :eek:

    I did remove the lava pool, thanks for the tip. Do you know if glowstone causes this as well?
     
  8. Offline

    mughi

    not that i am aware of (glowstone) i use that like crazy.. i have a 128x128 pyramid made of the stuff :)

    as for your java command, i got that set of instructions from a post by TNT. It works great for me. Xincgc turns on better garbage collection for java. I'm not sure what your other arguments were doing, but yes, the starting commands i gave you were intended to completely replace what you were using. make a different start script, try it out. see if it works for you.. (and let us know) :)
     
Thread Status:
Not open for further replies.

Share This Page