Random Server Crashes

tlarmontlarmon Join Date: 2002-11-15 Member: 8701Members
edited November 2002 in General Server Discussion
<div class="IPBDescription">I'm going insane</div> My server is fairly popular, and pings are low regardless whatever the playerlimit is, whether it be 16 or 24. Pings when it's a 16 playerlimit are generally ~30ms lower than if I run 24 maxplayers, but that's understandable. However, I do have one main problem that has completely baffled me - my server crashes randomly - completely randomly.

The server is a 3 month old Dell 2.4GHz P4, WinXP Pro w/ SP1, 512MB DDR, on a fast Internet connection. The machine doesn't have any hardware stability problems with any other programs that are ran on it, so I'm baffled.

Things I've tried:

1) Uninstalling absolutely all unnecessary software and services on the machine, so that it's bare bones. I am running NAV2002 on the server, but that's really anything out of the ordinary.

2) Completey uninstalling Half-Life and NS, as well as their directories, reboot, reinstall both with updates to latest versions, and running barebones without ClanMod/MetaMod.

3) Lowering the playerlimit down to 16 players. Obviously, I don't think it's a server load problem. It's more of a problem with the server process just dying after a while, and all clients get the infamous "Warning: Connection Problem".

Right now I have ClanMod installed, and a program that reboots the server automatically when it dies. That works good since it dies every once and a while. Sometimes, a map will be played for 4 hours straight and nobody wins, and the server will die at the end of the map, and other times, the server will have loaded 25 different times (different maps) and in the middle of the map it will die. As I said, completely random. I used to think it was when there were too many ONOS, but I've played with 5 on at a time and it was completely fine.

Any help from other Win32 admins would be greatly appreciated. My 18 player CS server runs no problems at all on my Linux box upstairs at work, but this one seems to have serious issues.

Comments

  • GoleXGoleX Join Date: 2002-11-07 Member: 7681Members
    Happens to my server too. Once ever 2-3 days it'll crash randomly with a full server, logs have no info. Seems like a general NS crash, but I'm not sure how to give any more information when the logs are empty.
  • DrGigglesDrGiggles Join Date: 2002-11-15 Member: 8833Members
    I have the same problem too. Could be one of any number of small bugs that end in crashing the server.
  • DarkSpawnDarkSpawn Join Date: 2002-10-31 Member: 1834Members
    Yep, me too. Once every 24-48 hours or so it goes down with no explanation. Metamod and Clanmod are the only addons.
  • MellonpoprMellonpopr Join Date: 2002-11-01 Member: 2304Members
    same here.. completely stock w2k NS install with hlserver. 2 times it crashed near the end of the map with multiple onos clearing out a marine base *shrug*
  • SerrinSerrin Join Date: 2002-11-01 Member: 2657Members
    Same here

    Except mine comes in bursts, about once a week it'll pick a day and just crash like 2 or 3 times during the day.

    No obvious pattern at all. It'll crash once, wait a few hours, crash again, and then be fine for a week.
  • Max1Max1 Join Date: 2002-11-08 Member: 7730Members
    Me too, heh. Just last night I was on, server was full, and we were about to lose as marines. But, we had built A LOT of turrets in the reactor room which I know didn't help any. It still seems like it crashes about once a day, maybe every other day, which still should be like one per week at the most. Also, when people do the spectator bug and get in the command chair it crashes the server. Someone did that on mine a couple days ago but my admin that was on didn't ban him in time <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink.gif' border='0' valign='absmiddle' alt='wink.gif'><!--endemo-->
  • ZdroneZdrone Join Date: 2002-11-02 Member: 3914Members, Constellation
    Welcome to HLDS on Microsoft guys.

    I've been running 4-6 servers at a time for over a year now and every one of them crashes. No errors, no info in the logs...
    Try serverdoc <a href='http://winsoft.net.au/~stephen/serverdoc/' target='_blank'>http://winsoft.net.au/~stephen/serverdoc/</a> to restart hlds after it dies.
  • tlarmontlarmon Join Date: 2002-11-15 Member: 8701Members
    edited November 2002
    Yep, that's what I use, serverdoc.

    Are all of you guys experiencing the server crashes running Win32 though, or are some of you Linux as well? That's important!

    Unfortunately for me I cannot install Linux on this machine, it's a workstation at work (my workstation), thus it has to run Windows to run certain Microsoft Office applications (Publisher namely). I might be able to work out a dual boot, though. Hrm.

    I noticed that all Linux servers seem to have a higher ping than Win32 servers as well, which is weird. This could just be that the Win32 servers I joined were just more powerful, though.

    Anybody have a *good* link to how to dual boot Windows XP Pro and RH 8? <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo--> I don't want any LILO boot problems! The last time we had to reload LILO every damn week because it kept messing up.
  • DrGigglesDrGiggles Join Date: 2002-11-15 Member: 8833Members
    <!--QuoteBegin--Zdrone+Nov 25 2002, 05:58 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Zdrone @ Nov 25 2002, 05:58 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->Welcome to HLDS on Microsoft guys.

    I've been running 4-6 servers at a time for over a year now and every one of them crashes. No errors, no info in the logs...
    Try serverdoc <a href='http://winsoft.net.au/~stephen/serverdoc/' target='_blank'>http://winsoft.net.au/~stephen/serverdoc/</a> to restart hlds after it dies.<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    I run linux and i still have the strange crashes, lucky for me the package hlds_l with an auto restart script now <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' valign='absmiddle' alt='biggrin.gif'><!--endemo-->
  • SmellslikefecesSmellslikefeces Join Date: 2002-11-11 Member: 8194Members
    Just as an FYI I took my win32 server and installed Linux 7.3 on a separate hard drive to run NS as a comparison. It was slower than the win32 by 20-40 ms with the exact same load on it. I don't mean this as a bash Linux post, I like Linux, but NS seems to just run better on the win32. Buy YMMV!

    Oh my server:
    P3 1gz
    384MB
    on 1.5Mb cable line
  • GoleXGoleX Join Date: 2002-11-07 Member: 7681Members
    Yep I am on Linux too, I use Halfd so it restarts it for me and also sends me an email with details about the crash too.
  • HtNickoliHtNickoli Join Date: 2002-11-24 Member: 9786Members
    I find the server randomly crashes on linux as well. But in the few weeks I've been running NS its crashed all of maybe 4 times. So its hardly an issue with me. And trying to track down a bug that only occurs once every few days, when servers full 24/7 Would be something I wouldent want to track down.

    As far as the linux/windows thing. (lets not start a distro war please!) My NS server runs absolutly fine at 16 players. And if running windows would give me a 20-40 ms ping differance. Then everyone would have a 5-10 ping. I would think thats more of an issue of not knowing how to tweak your os, then any differance between the OS's. It also depends on how well compiled the libs are, between linux and win32. But from what I've seen, they're is no preformance differances between the 2. Other then the failure of the 1.2 patch to address the linux cpu useage issue.(helped win32 alott from what I hear. Didn't really do much for the linux side.)


    [Ht]'s Condomless Brothel.
    16 player NS. (actually 17, with one reserve slot.)
    Halfd + AdminMod.
    RH 8.0
    Dual 2100+ AMD MP's
    1 gig DDR266 registered
    10MB pipe.
  • SuicideDogSuicideDog Join Date: 2002-11-10 Member: 8104Members
    add me to the list of random crashes about every 48-72 hours in.. btw.. I notice the ping will stead go up over those few days between crashes.. not much.. but like 20-40ms. I run Linux also.
  • EpochEpoch Join Date: 2002-10-10 Member: 1474Members
    Yes, I too have "random" server crashes. I run Linux, NS v1.02, Admin Mod, LogD. Before you blame Admin Mod, I must say that I originally thought that was it, but I'm not sure now. I know it is a segmentation fault, but I have yet to catch the error message. I've turned of the auto-restart feature so I can write it down next time it happens. I'll post it here, and see if anyone else is getting the same thing.
  • cracker_jackmaccracker_jackmac Join Date: 2002-11-04 Member: 6891Members, Constellation, Reinforced - Shadow
    <!--QuoteBegin--Epoch+Nov 25 2002, 07:17 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Epoch @ Nov 25 2002, 07:17 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->Yes, I too have "random" server crashes. I run Linux, NS v1.02, Admin Mod, LogD. Before you blame Admin Mod, I must say that I originally thought that was it, but I'm not sure now. I know it is a segmentation fault, but I have yet to catch the error message. I've turned of the auto-restart feature so I can write it down next time it happens. I'll post it here, and see if anyone else is getting the same thing.<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    -debug works great if you use hlds_run script. I've got a huge debug.log (stuck in a crashing loop over night...)
  • EpochEpoch Join Date: 2002-10-10 Member: 1474Members
    Yeah, I'm going to try that if I don't get anything the next time it crashes. I thought I tried -debug before and it told me it was an incorrect option. Perhaps I am mistaken.
  • MellonpoprMellonpopr Join Date: 2002-11-01 Member: 2304Members
    I had another crash last night when onos was in the marine base tearing it up. coincedence ?
  • AVRadianationAVRadianation Join Date: 2002-10-28 Member: 1682Members
    My CS servers rarely crash, but NS crashes daily. It crashes so hard that the entire system hangs for about 3 minutes before the service stops/restarts.

    I use firedaemon pro www.firedaemon.com to run NS as a service and auto-restart when it dies. This also allows me to bind it to a specific CPU since it's not a multi-threaded software package.

    - Rad!
  • MellonpoprMellonpopr Join Date: 2002-11-01 Member: 2304Members
    do you have a console when you run it as a service using firedaemon ?
  • EpochEpoch Join Date: 2002-10-10 Member: 1474Members
    <!--QuoteBegin--Mellonpopr+Nov 26 2002, 05:11 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Mellonpopr @ Nov 26 2002, 05:11 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->I had another crash last night when onos was in the marine base tearing it up.  coincedence ?<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    No. It can happen at any time, it seems, be there tons of action or none at all. It usually happens later in a game for me. Perhaps the server can't handle the number of entities present? I know this: I used to have mp_timelimit 60 and it happened every 48 - 72 hours, but since I've changed to mp_timelimit 30, it has only happened once.
  • MellonpoprMellonpopr Join Date: 2002-11-01 Member: 2304Members
    hmmm i've been running mp_timelimit 30 since 1.02 seems like 1-2 times a day is the norm best I can tell
  • FatSephyFatSephy Join Date: 2002-11-02 Member: 4349Members
    It got quite bad yesterday for one of our servers.. it was crashing between every 15 and 40 minutes at random.. never stayed up for more than 40mins.. but then after about 12 hours of that, it seems to have corrected itself.. now it only crashes about once a day. Running the linux dedicated server (4 servers across 2 boxes), NS 1.02 on dual 1.4ghz boxes with 4gb of ram each. Probably such a small and seemingly insignificant bug.. it's always the way these things are <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink.gif' border='0' valign='absmiddle' alt='wink.gif'><!--endemo-->

    How very odd.
  • GoleXGoleX Join Date: 2002-11-07 Member: 7681Members
    Mine just crashed again tonight... nothing in the logs. I have mp_timelimit set to 15, and this is the first time its crashed in 3 days.
  • MisfireMisfire Join Date: 2002-11-03 Member: 5764Members
    my server crashes too, not as much anymore.

    cs server stays up all day, no crashes.
  • EnemyWithinEnemyWithin Join Date: 2002-11-03 Member: 5572Members
    edited November 2002
    I just upgraded to v1.03 today and it crashed after running for about 2-3 hrs.

    <!--QuoteBegin--Mellonpopr+Nov 26 2002, 07:30 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Mellonpopr @ Nov 26 2002, 07:30 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->do you have a console when you run it as a service using firedaemon ?<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->

    I also use Firedaemon (great product) to run my NS server as a service. It's nice that you don't have to setup your system to auto-login. Firedaemon can show or hide the console depending on how you set it up, but only on the local login. Unfortunately for me, I use Terminal Services to admin the server, so I can't monitor the console in a terminal session.

    For the most part, it doesn't bother me, but it would be nice if someone wrote a program to echo the HLDS console to a remote location. Anyone know of a program that will do this?
Sign In or Register to comment.