Server Crashing

2»

Comments

  • SandrockSandrock Join Date: 2002-12-16 Member: 10905Members, Constellation, Reinforced - Shadow
    It probably has something to do with the way halflife/ns handles buildings (they are entities right?). When a building is destroyed, it probably remains in the server's memory somewhere. That would explain why the server crashes in really really long games. In those kinds of games, lots of buildings are destroyed/replaced, and if still in the server memory, would eventually bog down the server and cause it to crash. Just one possible theory.
  • LornathLornath Join Date: 2002-11-30 Member: 10280Members
    That "svonly = 1" is incorrect though, right? I did a quick search, and it looks like svonly is 1 if mod is server-side only, or 0 otherwise. There's a client part to NS....

    But if it works, who cares! <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo--> Still no crashes?

    -Lorn
  • [WHO]Them[WHO]Them You can call me Dave Join Date: 2002-12-11 Member: 10593Members, Constellation
    server #62
    says it all
  • masterswordmanmasterswordman Join Date: 2002-12-21 Member: 11303Members
  • cracker_jackmaccracker_jackmac Join Date: 2002-11-04 Member: 6891Members, Constellation, Reinforced - Shadow
    <!--QuoteBegin--[WHO]Them+Feb 7 2003, 11:01 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> ([WHO]Them @ Feb 7 2003, 11:01 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> server #62
    says it all <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    i made it to server #80 something before. But i'm an idiot, killed the server and reloaded it with AMX.


    ggrr....oh well.
  • FlippyGcFlippyGc Join Date: 2003-02-09 Member: 13325Members
    Well, I have a server that doesn't crash alot. Ever since 1.04, It only crashed 3 times.

    All the crashes happen on the same map, and same status. Happen on ns_nothing

    1st Crash - Marines have cargo, lots of Sentry Guns, Etc. HA, HMG, JP, U name it, they got it. Aliens have 2 hive, Fades, Lerks, Skulks. All Res around. Crashes around that time.
    2cd Crash - Same thing.
    3rd Crash - Marines have Cargo and Via. JetPacks and HMg. Start up HA. Comm have 550+ Res (yes he did). Aliens had powersilo about to be killed, building outside of power and crash.

    For my server, it crashes anytime for a long game in ns_nothing, and have cargo, and i think alot of res as well.

    -Flippy <!--emo&::skulk::--><img src='http://www.unknownworlds.com/forums/html/emoticons/skulk.gif' border='0' style='vertical-align:middle' alt='skulk.gif'><!--endemo-->
  • UberFubarLlamaUberFubarLlama Join Date: 2002-12-15 Member: 10852Members
    I'm going to hae to agree with sandrocky... it seems like there is a memory leak...
  • verboseverbose Join Date: 2002-11-25 Member: 9968Members, Constellation
    <!--QuoteBegin--UberFubarLlama+Feb 19 2003, 12:27 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (UberFubarLlama @ Feb 19 2003, 12:27 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> I'm going to hae to agree with sandrocky... it seems like there is a memory leak... <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    I doubt it. A memory leak would slowly consume all available "real" memory on the machine, then cause extreme performance problems as it begins using virtual memory. Only when all available memory (real and virtual) was used would things start crashing. This assumes you haven't imposed other memory restrictions through login classes, etc., which would bring the memory-exhaustion state about sooner.

    Of course, if someone has oberserved HLDS consuming all available memory, and then going south, feel free to say so. I expect the game would become completely unplayable long before it would crash, unless some routines in HLDS assume some level of atomicity regarding memory reads/writes/allocations that ceases to exist when virtual memory begins to be used, but I doubt that's the case.
  • Scum_of_the_UniverseScum_of_the_Universe Join Date: 2003-02-06 Member: 13174Members
    <!--QuoteBegin--Epoch+Feb 3 2003, 07:49 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Epoch @ Feb 3 2003, 07:49 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> Long games and having many structures on the map seem to crash my server. It used to happen every day but after removing Meta Mod it seems to happen less frequent. Coincidence? The machine is a Linux 1.3 GHz Athlon with 1024 MB SD-RAM and 12 players. <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    Well removing metamod would certainly free up resources
  • Scum_of_the_UniverseScum_of_the_Universe Join Date: 2003-02-06 Member: 13174Members
    <!--QuoteBegin--verbose+Feb 19 2003, 02:43 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (verbose @ Feb 19 2003, 02:43 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--QuoteBegin--UberFubarLlama+Feb 19 2003, 12:27 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (UberFubarLlama @ Feb 19 2003, 12:27 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> I'm going to hae to agree with sandrocky... it seems like there is a memory leak... <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    I doubt it. A memory leak would slowly consume all available "real" memory on the machine, then cause extreme performance problems as it begins using virtual memory. Only when all available memory (real and virtual) was used would things start crashing. This assumes you haven't imposed other memory restrictions through login classes, etc., which would bring the memory-exhaustion state about sooner.

    Of course, if someone has oberserved HLDS consuming all available memory, and then going south, feel free to say so. I expect the game would become completely unplayable long before it would crash, unless some routines in HLDS assume some level of atomicity regarding memory reads/writes/allocations that ceases to exist when virtual memory begins to be used, but I doubt that's the case. <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    afaik hlds has it's own memory restrictions.
    do metamod+plugins sit in this allocation?
  • VirgilVirgil Join Date: 2003-02-11 Member: 13434Members
    I run right now a bare bones linux system, as well as ns server no mods no nothing, just a tweaked server cfg. I have only had it crash when we mine stress tested it, but no random crashes, I a running a gig duron, 512 megs of ram and redhat 8. so it is just an Idea to check out and closely watch all of your processes. especaiialy on those windows boxes, that is a problem with XP or Adv Server 2000.
  • verboseverbose Join Date: 2002-11-25 Member: 9968Members, Constellation
    FYI, if your server exits with something similar to this:

    FATAL ERROR (shutting down): Hunk_Alloc: failed on 12392 bytes
    (or other *Alloc errors)

    you need to alter your HLDS command line to increase the heapsize. "-heapsize 40960" would be an okay place to start, as the default is 32MB.

    If it crashes without an error, or segfaults, it's not a heapsize problem. What errors are people logging (if any) with mine/sentry (suspected) crashes? GDB results from analyzing core files?
Sign In or Register to comment.