Realm Crash

Page 1 of 2 12 LastLast
Results 1 to 15 of 21
  1. #1
    JD | Web Developer mrosenov is offline
    MemberRank
    Jun 2012 Join Date
    BulgariaLocation
    555Posts

    Realm Crash

    Hello guys I have a little problem with th realms, the server is running two days and then realm crash... this is the error which I get
    Code:
    assert failed:"0 && "加锁的时间过长"" in file spinlock.c:119
    I have read many posts, but none of them helped me....


  2. #2
    Apprentice adyzu is offline
    MemberRank
    Jul 2012 Join Date
    RomaniaLocation
    22Posts

    Re: Realm Crash

    that means you need more ram's on your server

  3. #3
    JD | Web Developer mrosenov is offline
    MemberRank
    Jun 2012 Join Date
    BulgariaLocation
    555Posts

    Re: Realm Crash

    well im using 4/6GB and is not from this... cuz you can run jd server with 4gb ram with one realm w/o any problem...
    When I started the server there wasnt any problems, when the players start to play this error start to show up every night when me or my friend is offline.
    I think someone is trying to dupe items and thats why the realm crash.

  4. #4
    Account Upgraded | Title Enabled! Valkyrie is offline
    MemberRank
    Feb 2012 Join Date
    Brisbane, AUSLocation
    362Posts

    Re: Realm Crash

    Quote Originally Posted by adyzu View Post
    that means you need more ram's on your server

    Adyzu is right. It's memory swapping, and thus you are losing data that is requried to run the realm.

  5. #5
    JD | Web Developer mrosenov is offline
    MemberRank
    Jun 2012 Join Date
    BulgariaLocation
    555Posts

    Re: Realm Crash

    @Not Ling, Lol, Im runnin JD Server on my pc with only 2GB Ram and works w/o any problems, but on the machine ~.~ crashes every night at the same time..
    Last edited by mrosenov; 24-05-15 at 02:54 PM.

  6. #6
    Web Developer Hulu is offline
    MemberRank
    Apr 2012 Join Date
    RaGEZONELocation
    326Posts

    Re: Realm Crash

    Quote Originally Posted by mrosenov View Post
    @Not Ling, Lol, Im runnin JD Server on my pc with only 2GB Ram and works w/o any problems, but on the machine ~.~ crashes every night at the same time..
    What OS are you running and which version?

  7. #7
    JD | Web Developer mrosenov is offline
    MemberRank
    Jun 2012 Join Date
    BulgariaLocation
    555Posts

    Re: Realm Crash

    @Hulu, Ubuntu 14.04 - 64 bit. Using your files from your forum (v1378).

    Update:

    We upgraded our server machine to 16 GB RAM.

    Update:

    REALM CRASHED AGAIN, even after we upgrade our mashine to 16 GB RAM!

    Here are the logs... again this fking error... @Hulu @Not Ling
    Attachment 152036
    Last edited by mrosenov; 26-05-15 at 10:30 AM. Reason: REALM CRASHED... AGAIN!

  8. #8
    Valued Member Perryl is offline
    MemberRank
    Aug 2012 Join Date
    Ontario, CanadaLocation
    142Posts

    Re: Realm Crash

    Quote Originally Posted by mrosenov View Post
    Hello guys I have a little problem with th realms, the server is running two days and then realm crash... this is the error which I get
    Code:
    assert failed:"0 && "加锁的时间过长"" in file spinlock.c:119
    I have read many posts, but none of them helped me....
    Error is generic and useless. It can be caused by over a dozen different things that I know of so far.

    When Voida files released without ascension, if you modded certain files to try and get ascension to work you would eventually get that error. That error can also be caused by not enough ram too. Essentially the issue is that something has "locked for too long". Something you changed is causing it. My servers can run indefinitely without that error popping up. We have a lot more than 6 gigs of ram though.

    - - - Updated - - -

    Quote Originally Posted by mrosenov View Post
    @Not Ling, Lol, Im runnin JD Server on my pc with only 2GB Ram and works w/o any problems, but on the machine ~.~ crashes every night at the same time..
    If it crashes every night at the same time you need to figure out what the server was trying to do at that time. Do you have an automated backup starting around that time? Is there a triggered event that you modded? etc.

    I don't think a player is trying to dupe items. There were two methods for that, one requires them to be able to connect your database, and the other requires you to not have disabled the console. I also don't think it's your RAM, but I can't really tell you what it is because the error is rather generic, despite what others might think.

  9. #9
    Account Upgraded | Title Enabled! Valkyrie is offline
    MemberRank
    Feb 2012 Join Date
    Brisbane, AUSLocation
    362Posts

    Re: Realm Crash

    The error that caused the realm crash was discovered to be a spinlock.
    This was already explained in detail to anyone who wished to know what it was.

    Basically, when 2 processes try to access the same file or script at once, one will lock it (whichever had it first) and the other will sit and wait. This can cause crashing depending on which file is being accessed. This was on Ubuntu, and since moving to CentOS, this issue has not surfaced again.

    I would say it has something to do with the way the kernel header is built in Ubuntu, but that is just my hunch.

  10. #10
    Valued Member Perryl is offline
    MemberRank
    Aug 2012 Join Date
    Ontario, CanadaLocation
    142Posts

    Re: Realm Crash

    Quote Originally Posted by Not Ling View Post
    The error that caused the realm crash was discovered to be a spinlock.
    This was already explained in detail to anyone who wished to know what it was.

    Basically, when 2 processes try to access the same file or script at once, one will lock it (whichever had it first) and the other will sit and wait. This can cause crashing depending on which file is being accessed. This was on Ubuntu, and since moving to CentOS, this issue has not surfaced again.

    I would say it has something to do with the way the kernel header is built in Ubuntu, but that is just my hunch.
    We're on Ubuntu(14.0.4) and do not have this issue. I'm not sure it can be entirely blamed on Ubuntu.

  11. #11
    JD | Web Developer mrosenov is offline
    MemberRank
    Jun 2012 Join Date
    BulgariaLocation
    555Posts

    Re: Realm Crash

    Quote Originally Posted by Perryl View Post
    We're on Ubuntu(14.0.4) and do not have this issue. I'm not sure it can be entirely blamed on Ubuntu.
    Well we moved on other machine, and the bug gone, 3 days running the server without that bug >.<

  12. #12
    Account Upgraded | Title Enabled! Valkyrie is offline
    MemberRank
    Feb 2012 Join Date
    Brisbane, AUSLocation
    362Posts

    Re: Realm Crash

    Quote Originally Posted by Perryl View Post
    We're on Ubuntu(14.0.4) and do not have this issue. I'm not sure it can be entirely blamed on Ubuntu.
    Perryl, I'm almost certain it's to do with how the kernel headers are built in Ubuntu, compared to that of CentOS, and because the server was built into CentOS, I think there is some kind of dependency there (even small) that Ubuntu may lack.

  13. #13
    Valued Member extazy20 is offline
    MemberRank
    Feb 2012 Join Date
    101Posts

    Re: Realm Crash

    This is problem with HDD. I've had it before.

  14. #14
    Apprentice acon12 is offline
    MemberRank
    Dec 2012 Join Date
    11Posts

    Re: Realm Crash

    Up, how fix it???

  15. #15
    Apprentice acon12 is offline
    MemberRank
    Dec 2012 Join Date
    11Posts

    Re: Realm Crash

    help ???? :(



Page 1 of 2 12 LastLast

Advertisement