Server Time Out

Discussion in 'Bukkit Help' started by tschagg, Mar 6, 2013.

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

    tschagg

    hey guys, i've a problem

    the server time out every day, sometimes multiblie times a day.
    only way to fix is, kill the java process.

    any solutions for that problem?
    (Linux)

    thank you!
     
  2. Offline

    RetroCola

    Crashlogs? HR_Error? anything? : D
     
  3. Offline

    tschagg

    New
    2013-03-05 04:13:57 [INFO] Read timed out
    2013-03-05 04:14:12 [INFO] Read timed out
    2013-03-05 04:14:50 [INFO] Read timed out
    2013-03-05 04:18:34 [INFO] Connection reset
    2013-03-05 04:20:06 [INFO] Read timed out

    only this all the time, no crashlog​
     
  4. Offline

    Lolmewn

    What plugins are you using?
    Also, server.properties?
     
  5. Offline

    tschagg

  6. Offline

    mbaxter ʇıʞʞnq ɐ sɐɥ ı

    When your server does this, get a thread dump. Then pastie that thread dump (it'll be large).

    On windows, go to the console window and press ctrl break
    On linux, go to the console window and press ctrl \

    Alternately you can get it outputted with the jstack command if you have that available.

    tschagg
     
  7. Offline

    tschagg

    ok im waiting for the next server timeout, and then i post the dump :)

    where get the log saved after the jstack command in the root console?

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

    mbaxter ʇıʞʞnq ɐ sɐɥ ı

    jstack outputs where you run it. I probably should have mentioned more about using jstack.

    It's run in its own window (terminal/command prompt) and the usage is: jstack pid where "pid" is the process id of the java process running your server.
     
  9. Offline

    tschagg


    ok i got it:

    http://pastie.org/6411374

    i looked at the cpu usage too, it was in 100%, seems like a plugin is overloading the server then.
    can u find out with that log which plugin does this?

    or u have a solution to find it out?
     
  10. Offline

    mbaxter ʇıʞʞnq ɐ sɐɥ ı

    PEX crashed your server. This is a known problem with the plugin, and my advice is switching to another plugin.
     
  11. Offline

    tschagg

    ok thanks!
    which one is better and similar?
     
  12. Offline

    mbaxter ʇıʞʞnq ɐ sɐɥ ı

    Pretty much everything is better than crashing. For convenience, bPermissions has a command to import from PEX.
     
    tschagg likes this.
  13. What is your server version?

    I think the first thing to do is to ensure the plugins are up to date. If you are running 1.4.6 or 1.4.7 then you are running hell-outdated plugins.

    As far as i can see, the server locked up while mchat was checking permissions from an asynchronous task, which is a no-go by itself. I suggest replacing mchat in this case, whatever you do with PEX. Though using another permission plugin might prevent the locking, asynchronous permission check can still cause arbitrary trouble leading to crashes and whatever, potentially.
     
    tschagg likes this.
  14. Offline

    tschagg

    thank you so so much guys! i'll try it for a few days :) the server is now a bit more stable without the mChat.
    thousand thanks!
     
Thread Status:
Not open for further replies.

Share This Page