Server not working! Please help!

Discussion in 'Bukkit Help' started by ebear, Feb 17, 2013.

  1. Offline

    ebear

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hi. I try to startup my server, I get on, but then after a random amount of time, usually sooner than later, all my players get disconnected with this error message: Java.net.SocketTimeoutException: Read timed out. I don't know why it is, but the server does not show ANY ERRORS, or disconnect messages, but commands and chat just randomly STOP, and players can't get on or stay on. The log from the start, to the time I tried to stop it (many minutes after the crash): http://pastie.org/6199619

    Plugins on my server:

    AntiCheat
    Buycraft
    Cleanchat
    dynmap
    Essentials
    Essentialschat
    EssentialsGroupManager
    iDisguise
    JSONAPI
    MinecraftRKitPlugin
    MiningMachine
    Modreq
    Multiverse-core
    Multiverse-inventories
    Multiverse-portals
    Multiverse-netherportals
    SpamX
    SuperSpleef
    SurvivalGames
    Vault
    WorldEdit
    WorldGuard

    If you need more information, please don't refrain to ask! I'm all ears when it comes to this!
  2. Offline

    ghost0001

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    read time out, last time I had this problem I ran out of RAM.
  3. Offline

    ebear

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME

    How do I allocate more RAM, running the RemoteToolkit? It's not just in a file. Or am I wrong? Idk. :D . Could you walk me through that? I have 16GB RAM on my computer, so I want to allocate 4GB, the other 12GB for other stuff I'm doing.
  4. Offline

    ghost0001

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    what OS are you using? Windows? Linux? in windows, you need to change your BAT file to include more RAM. This is the startup code I use for my windows test server:
    Code:
    [USER=90771833]Echo[/USER] OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles%\Java\jre7\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit.jar
    PAUSE
    
    Changing the -Xmx value to something bigger will help out. This allocates 1GB to my server. But then again, it is a test server for one player in order to config plugins and test compatibility.
  5. Offline

    ebear

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Thanks, man! I really could have used the help! Can I just write 4G, or does it have to be _M?
  6. Offline

    ebear

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    This is my startup:
    Code:
    cd /Users/ehbaron/Desktop/SERVER
    java -Xmx4G -Xms4G -XX:MaxPermSize=4G -jar Minecraft_RKit.jar pass:user
    I have RemoteToolkit, so it's different. Did I change what you said I should? I am running MAC, NOT PC!
  7. Offline

    ghost0001

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Um, i would use M personally. So, 1024M in each GB would be 4096M. And don't start it so high, give it a small amount so it can build up to the 4GB. Start it at 1GB if you need.
    Example:
    Code:
    cd /Users/ehbaron/Desktop/SERVER
    java -Xms256M -Xmx512M -XX:MaxPermSize=512M -jar Minecraft_RKit.jar pass:user
    Wait, nm, you are using Remote tool kit, you need to adjust the RAM usage in its config file, not here. So you need to use as little RAM as possible for this. Give it 256M

    This post has been edited 2 times. It was last edited by ghost0001 Feb 17, 2013.
  8. Offline

    ebear

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    256? Got it. I have it at 256M now. Code:

    Code:
    #Minecraft Remote Toolkit Properties File
    #Sun Feb 17 08:04:24 EST 2013
    forced-restart-delay=5m
    maximum-heap-size=4096M
    toolkit-autoshutdown-alerts=10m,5m,1m
    disable-heartbeats-on-missing-plugin=true
    restart-on-severe-exception=false
    server-saveall-period=0
    extra-runtime-arguments=-Djline.terminal\=jline.UnsupportedTerminal
    force-save-on-restart=true
    server-heartbeat-threshold=1m
    server-restart-alerts=10m,5m,1m
    minecraft-server-jar=craftbukkit.jar
    initial-heap-size=4096M
    overridden-process-arguments=
    failed-heartbeat-restart-count=5
    filter-ansi-escape-codes=auto
    severe-exception-detection-level=1
    enable-jline=true
    server-arguments=--nojline,nogui
    toolkit-autoshutdown-delay=0
    import-properties=false
    server-restart-delay=5h
    
    That's my Toolkit wrapper.properties file.

    Code:
    cd /Users/ehbaron/Desktop/SERVER
    java -Xmx256M -Xms256M -XX:MaxPermSize=256M -jar Minecraft_RKit.jar ehbaron:asheyb
    That's the startup. I'm checking if it works now...
  9. Offline

    ebear

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    It's doing it again. No change, whatsoever. Could it be a corrupted world?
  10. Offline

    ghost0001

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Change this line in your wrapper.properties:
    Code:
    initial-heap-size=4096M
    
    to this:
    Code:
    initial-heap-size=1024M
    
    See if that helps.

    This will start you off with a smaller java process and then expand when needed not to exceed 4096M.

    This post has been edited 1 time. It was last edited by ghost0001 Feb 17, 2013.
  11. Offline

    ebear

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  12. Offline

    ebear

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    It's still doing it.
  13. Offline

    ebear

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Could it be a corrupt world?
  14. Offline

    Adriani6

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Config file for CleanChat is corrupted or you messed it up.
    Remove CleanChat with it's configs as well as RemoteToolKit.
  15. Offline

    ebear

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I can't remove RemoteToolKit, for I need it to startup. I did with clean chat, though. @Adriani6
  16. Offline

    ebear

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    nope. Still doing the same thing. I'll try to re-download RemoteToolKit...
  17. Offline

    ebear

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    It made no difference.
  18. Offline

    ghost0001

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    ok, lets try some basic troubleshooting. Change up your server to a basic vanilla bukkit, no plugins. And see if this works. First without RTK then with. Next add your plugins, one by one, and start up your server. Now is the "read time out" a console error or a connection error?
  19. Offline

    Adriani6

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    To me it looks like those two plugins are causing it, stating by what I see in the crash.log.
  20. Offline

    ebear

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Server works fine with no plugins, with and without RemoteToolKit @ghost0001 . What's next? @Adriani6

    This post has been edited 1 time. It was last edited by ebear Feb 18, 2013.
  21. Offline

    ghost0001

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    ok, add RTK in the vanilla and see if that works. Next add your plugins back in one by one.
  22. Offline

    ebear

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    kk. I know it's not WorldEdit or Essentials, for I'm using them 2 make a map. They work fine. @ghost0001 I'll have it done by tomorrow morning. EST, that is.

    This post has been edited 2 times. It was last edited by ebear Feb 18, 2013.
  23. Offline

    ghost0001

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Keep it up, one by one, eventually you may hit the one plugin that is causing your troubles.
  24. Offline

    ebear

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    IT'S THE SPLEEF PLUGIN! I just added it and now the server is doing that. Should I erase the configurations, or just re-download it altogether @ghost0001 ? Thanks for the help!
  25. Offline

    ebear

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  26. Offline

    ebear

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Wait. It's still doing it, even after I fixed the plugins! I see an error for WorldEdit, though: java.lang.UnsupportedClassVersionError: MCPCPlusXNmsBlock_147 : Unsupported major.minor version 51.0
    The console also says "First attempt at checking for RemoteToolkit Plugin...", and it doesn't return ANY other information! I still need help! Could there still not be enough RAM?
  27. Offline

    ghost0001

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Have you tried to update World Edit?
  28. Offline

    Shevchik

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    update java to java7, why you all are still using java6?
  29. Offline

    ebear

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I've updated Java, I'll try again...
  30. Offline

    ebear

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Of course: I was still using 6... Shame on me! :mad:

Share This Page