Server not working! Please help!

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

  1. Offline

    ebear

    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

    read time out, last time I had this problem I ran out of RAM.
     
  3. Offline

    ebear


    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

    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 (Text):
    1.  
    2. [USER=90771833]Echo[/USER] OFF
    3. SET BINDIR=%~dp0
    4. CD /D "%BINDIR%"
    5. "%ProgramFiles%\Java\jre7\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit.jar
    6. PAUSE
    7.  
    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

    Thanks, man! I really could have used the help! Can I just write 4G, or does it have to be _M?
     
  6. Offline

    ebear

    This is my startup:
    Code (Text):
    1. cd /Users/ehbaron/Desktop/SERVER
    2. 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

    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 (Text):
    1.  
    2. cd /Users/ehbaron/Desktop/SERVER
    3. 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
     
  8. Offline

    ebear

    256? Got it. I have it at 256M now. Code:

    Code (Text):
    1. #Minecraft Remote Toolkit Properties File
    2. #Sun Feb 17 08:04:24 EST 2013
    3. forced-restart-delay=5m
    4. maximum-heap-size=4096M
    5. toolkit-autoshutdown-alerts=10m,5m,1m
    6. disable-heartbeats-on-missing-plugin=true
    7. restart-on-severe-exception=false
    8. server-saveall-period=0
    9. extra-runtime-arguments=-Djline.terminal\=jline.UnsupportedTerminal
    10. force-save-on-restart=true
    11. server-heartbeat-threshold=1m
    12. server-restart-alerts=10m,5m,1m
    13. minecraft-server-jar=craftbukkit.jar
    14. initial-heap-size=4096M
    15. overridden-process-arguments=
    16. failed-heartbeat-restart-count=5
    17. filter-ansi-escape-codes=auto
    18. severe-exception-detection-level=1
    19. enable-jline=true
    20. server-arguments=--nojline,nogui
    21. toolkit-autoshutdown-delay=0
    22. import-properties=false
    23. server-restart-delay=5h
    24.  
    That's my Toolkit wrapper.properties file.

    Code (Text):
    1. cd /Users/ehbaron/Desktop/SERVER
    2. 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

    It's doing it again. No change, whatsoever. Could it be a corrupted world?
     
  10. Offline

    ghost0001

    Change this line in your wrapper.properties:
    Code (Text):
    1.  
    2. initial-heap-size=4096M
    3.  
    to this:
    Code (Text):
    1.  
    2. initial-heap-size=1024M
    3.  
    See if that helps.

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

    ebear

  12. Offline

    ebear

    It's still doing it.
     
  13. Offline

    ebear

    Could it be a corrupt world?
     
  14. Config file for CleanChat is corrupted or you messed it up.
    Remove CleanChat with it's configs as well as RemoteToolKit.
     
  15. Offline

    ebear

    I can't remove RemoteToolKit, for I need it to startup. I did with clean chat, though. Adriani6
     
  16. Offline

    ebear

    nope. Still doing the same thing. I'll try to re-download RemoteToolKit...
     
  17. Offline

    ebear

    It made no difference.
     
  18. Offline

    ghost0001

    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. To me it looks like those two plugins are causing it, stating by what I see in the crash.log.​
     
  20. Offline

    ebear

    Server works fine with no plugins, with and without RemoteToolKit ghost0001 . What's next? Adriani6
     
  21. Offline

    ghost0001

    ok, add RTK in the vanilla and see if that works. Next add your plugins back in one by one.
     
  22. Offline

    ebear

    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.
     
  23. Offline

    ghost0001

    Keep it up, one by one, eventually you may hit the one plugin that is causing your troubles.
     
  24. Offline

    ebear

    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

  26. Offline

    ebear

    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

    Have you tried to update World Edit?
     
  28. update java to java7, why you all are still using java6?
     
  29. Offline

    ebear

    I've updated Java, I'll try again...
     
  30. Offline

    ebear

    Of course: I was still using 6... Shame on me! :mad:
     

Share This Page