SRCDS Steam group


Odd server crash on startup
#1
I start my server up via a batch script which keeps it alive should it crash. the text below, in case anyone is wondering, is what I use:
Code:
echo off
cls
title Server Keepalive
start /DC:\css /B C:\css\srcdsfpsboost.exe
:hlds
echo (%date%)(%time%) SERVER STARTED
echo ==============================================
start /DC:\css /WAIT /AboveNormal C:\css\srcds.exe -console -autoupdate -game cstrike +map surf_greatriver +maxplayers 20 -tickrate 66  +fps_max 0 +mp_dynamicpricing 0
echo (%date%)(%time%) WARNING: CRASH
goto hlds

I needed to restart my server after making a simple timelimit change in one of my config files. Not wanting to wait until the round ended, I simply typed quit into the console as I always do. Well something odd happened this time, my server would appear to startup, it would fail, then the batch file would attempt to restart it again, still to no avail.

I know everything is installed correctly and works, becuase if I start up my server by typing "start /DC:\css /WAIT /AboveNormal C:\css\srcds.exe -console -autoupdate -game cstrike +map surf_greatriver +maxplayers 20 -tickrate 66 +fps_max 0 +mp_dynamicpricing 0" into a command prompt instead of running the batch file, it all works just fine. Even with and without running srcdsfpsboost.exe, no problems as long as I start it manually from the command line. I even tried messing with data execution prevention with no success.

Right before the server crashes, this is what is displayed, which can be seen in the screenshot below:
http://img183.imageshack.us/img183/5670/wtfjb3.jpg

I've tried searching using those errors as well, with little useful info. I would greatly appreciate if someone can offer any advice, becuase I really don't feel like trying something as drastic as a clean install of srcds or even a format.

I'm running the latest versions of Mani, event scripts and event scripts tools. If you need any of my config files, please let me know and I will post them as well.



UPDATE: I've found that it will run fine one time-only if started manually from a command prompt, but if I exit or it crashes, entering the same "C:\css\srcds.exe -console -autoupdate -game cstrike +map surf_greatriver +maxplayers 20 -tickrate 66 +fps_max 0 +mp_dynamicpricing 0" will give me the same silent crash.
Reply
#2
What plugins are you running? Seems like a bad one to me.
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply
#3
Yeah I would follow suit with Drocona. It sounds like you can recreate a crash easily so try removing the plug-ins one by one to single out the bad one and then post back with which one it is if that's the case.

If that fails you, try verifying/updating your server content. If that fails, I have a different solution for you.
Reply
#4
Ok...now this is very odd, or maybe it isn't...

I was at a loss for things to check so I ran a full chkdsk /r on the server overnight. It completed and said it made one or more corrections to the volume. So I booted into windows, gave the server a try via the batch script and it seems to be working now; it even correctly restarts if i quit the server/crash it.

Is it possible I have something wrong with the hard drive?


PLUGINS: Mani, ES, EST, Ghostchat, and a few event scripts.
Reply
#5
tbh I haven't run into a server with bad clusters or anything like that so I wouldn't know how SRCDS would perform. I guess just keep running it and let us know if it continues to crash.
Reply
#6
manofphat Wrote:tbh I haven't run into a server with bad clusters or anything like that so I wouldn't know how SRCDS would perform. I guess just keep running it and let us know if it continues to crash.

Yeah, the drive I'm using in there is an old 40gb seagate that was sitting on my desk for literally 2 years (who knows how old it was before that, and I'm too lazy to go look at the manufacturing date). I'm honestly surprised it worked at all. I might run diagnostics on the drives via my UBCD sometime if I have more issues.
Reply
#7
cool. Thanks for keeping us in the know dude.
Reply
#8
indeed, very helpful for us and others that might get this problem Smile
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply
#9
Well it did it again...server crashed and instead of restarting as it normally should, it went back into the endless loop of trying to start up and failing. So I gave it a try manually by typing all the startup options into the command prompt and for some reason that worked. I hope it doesn't crash again becuase I'm not sure if it will start up again. When the load on my server goes down a bit probably late tonight I'm going to run some system diagnostics and hopefully I'll find some failing hardware (not the ram though...hopefully Smile )

Just by the way, in case anyone cares or wants to take a look or anything, the server IP is f10.ath.cx, default port, 27015 but it should work without needing to add :27015.; it's a surf server.
Reply
#10
You don't get that generic stop message do you, where you have to hit OK?
Reply
#11
Try running this, it monitors hardware interrupts:
http://black-sky.nl/procexp.zip (dont worry, it's safe, it's my companies webspace Smile)
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply
#12
manofphat Wrote:You don't get that generic stop message do you, where you have to hit OK?

No it usually just fails silently (some sort of error loading this or that, a crash, and then the batch starts it up again-although I did disable most popups via the registry so that the batch script wouldn't have an issue restarting things, I might go turn them back on); and it happens so sporadically that I don't usually get a chance to turn any type of debugging on. Although I did get an error one time, and that was on a map change:
NUM_FOR_EDICT: bad pointer
Which I think is related to ES_Tools, but that was a one time thing and it worked after a system reboot. (Somehow my gameinfo.txt also got reverted to default to not start metamod up, but I think I did that when I used -verify_all to check my server's content)

I did some hardware and HD diagnostics last night, and as it stands right now, everything seems to be working ok.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)