Constant 1-30 minute crashes

Discussion in 'Bukkit Help' started by xeology, Mar 12, 2011.

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

    xeology

    exactly, its less about time and more about the resources to do it. From there I could ATTEMPT to cross reference what changes were made to the hooks and methods called in the plugins and from there I could again ATTEMPT or someone else could assist in making every method continue to spam console so when it crashes the method in question would continue to spam. In fact I am going to compile a list of plugins that should be tested.

    Ok so what we would need is someone to volunteer to run 522 since errors seemed to be more frequent using this for me at least, with these plugins,
    Code:
    Achievements.jar
    Authentication.jar
    AutoSave.jar
    BigBrother.jar
    ChatStamp.jar
    Citizens.jar
    CraftIRC.jar
    dynmap.jar
    General.jar
    iConomy.jar
    mcMMO.jar
    MinecraftCheck.jar
    MonsterHunt.jar
    MyHome.jar
    Permissions.jar
    SearchIDs.jar
    Stats.jar
    TelePlus.jar
    uQuest.jar
    WorldEdit.jar
    WorldGuard.jar
    Removing one at a time on each crash, when one remains and it crashes write it down and start over until no crashes are evident for 24 hours.

    From which point I will do my best (or get help) to dissect the code of the plugin(s) writing down each class and hook, and cross referencing them to hooks and methods changed inside bukkit between 440 and 493.

    Then I or with help will work on making each of those hooks/methods echo to the console continuously until a crash happens and the problematic class is spamming console without stopping. (this server and log I would personally deal with considering it would be A LOT of spam and little resources since it will only be connected to to test status.)

    From there I or with help could look into WHY the method is hanging OR just report the hanging method as a bug to the bukkit team (depending on how complicated it is? I have just started java but it's similarities to the other languages I know may provide the answer)

    I'm in, 440 lags like hell lol, anyone else?

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

    Firelight7300

    LMFAO, I only get this error when griefers "try" to hack (Yeah, i have NoCheat, Lovely Plugin isn't it?)
    I note that you use inactive plugins. Try Deleting all the old ones...
     
  3. Offline

    Sevenos

    Did you read my ticket? There is a chance that all this is caused by trying to lock a file (chunk). Would just have to know if this pushes the CPU usage to 100% or not?
     
  4. Offline

    xeology

    No it does not BUT everyone should TRY to use the newest build of bukkit, I have had no crashes so far. Only thing is once and awhile it will time everyone out randomly and then they can just rejoin with no damage done, but I have only seen this happen ONCE per server restart, besides that it seems to have been fixed.

    Interesint enough. 556 does the same crash but gives the error Too many files open. How many of us are using linux? All of us?

    Try this if you continue to have issues,
    1. 'sudo ulimit -n"
    2. should reply "1024"
    3. Then use
    4. 'sudo ulimit -n 4096'

    Solved my issues

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

    Sevenos

    Hmm I will try 556 soon and may try to rise the limit too, but I would still wonder what opens more than 1024 file handles? All my worlds together have like 200 files, so it still smells like a craftbukkit issue, you just let it happen longer when rising the limit.
     
  6. Offline

    TnT

    I'm running Ubuntu 10.10 x64 - I don't have that issue, or even the ulimit command.
     
  7. Offline

    xeology

    You should have the ulimit command . . . . All linux should to my knowledge . . . Yeah it is an issue sev but it resolves it for the people who are not about to start pulling code apart to fix it (server admins without knowledge of java).

    Seems to be loading chunks where it has this many open. And as for what TnT said, yeah it may not affect everyone. I have 4 worlds running at all times and one is 1.7GB and 1 other is a BiomTerrain world, meaning it is bigger then a normal world as is. But it is most definitely related to chunk loading because the error clearly said so :p
     
  8. Offline

    TnT

    I need to clarify my above statement. I do have the ulimit command. I can't access it through sudo on my system though, so I need to check into that further - it could very well be something specific on my system causing me that issue.

    Still, I don't see that issue, but I don't have a server with a high user count either.

    Code:
    tnt@Dozer:~$ ulimit
    unlimited
    tnt@Dozer:~$ ulimit -n
    1024
    tnt@Dozer:~$ sudo ulimit -n
    [sudo] password for tnt:
    sudo: ulimit: command not found
    tnt@Dozer:~$ sudo ulimit -n 4096
    sudo: ulimit: command not found
     
  9. Offline

    EvilSeph

    Don't you think this is masking the problem, rather than solving it? Judging by that error message, it would seem that plugins are opening file handlers but not closing them and this is, generally, an issue.
     
  10. Offline

    xeology

    Definitely is an issue and this is definitely masking it, however I lowered my restart time a bit to compensate for the resource usage so it doesnt go haywire. But I can narrow down the issue to a set of plugins that open files and have many files (most likely).
    This was more of a "stop the server from crashing" hot fix for now until the problem is figured out, and I am still doing tests here and there, just makes it easier for the time being so users aren't chewing me or other admins out while trying to figure it out.
     
  11. Offline

    Intelli

    I'm now experiencing this issue also.

    I don't have any new information regarding the problem, but my server is crashing several times per day due to this.
     
  12. Offline

    Kalaszek

    I have this problem when player are logout from server.
    I have used this:
    Code:
    tnt@Dozer:~$ ulimit
    unlimited
    tnt@Dozer:~$ ulimit -n
    1024
    tnt@Dozer:~$ sudo ulimit -n
    [sudo] password for tnt:
    sudo: ulimit: command not found
    tnt@Dozer:~$ sudo ulimit -n 4096
    sudo: ulimit: command not found
    , but this not making something good. i have bukkit 446 546
     
Thread Status:
Not open for further replies.

Share This Page