SRCDS when left running for extended periods of time will use more and more system resources, this is especially true for very poorly coded mods or when you have lots of plugins loaded. When this happens, your SRCDS server will start to lag really bad and your entire server computer will slow to a crawl.Daemon can solve this by monitoring and restarting SRCDS before it reaches these danger levels.

Reconfiguring the FireDaemon Pro SRCDS Service

First you need to configure your SRCDS service to shutdown FireDaemon Pro if it crashes. The "Upon Program Exit" option in the "Settings" tab should set to "Ignore" or "Shutdown FireDaemon".

FireDaemon Pro Service Lifecycle

Install and Configure daeMON

  • Download and install the latest version of FireDaemon Pro.
  • Download daeMON and unzip it into the directory of your choice (eg. C:\Program Files\daeMON).
  • Make a note of the short name of the SRCDS service you want to monitor (eg. srcds).
  • Start the FireDaemon Pro Service Manager from the Start/Programs menu or desktop icon. Click on the Create A New Service Definition button in the Toolbar or press Ctrl+N. Fill out the panel as per the screen shot below (adjust your paths and parameters to suite) - you can use the TAB or SHIFT+TAB keys to move between fields:

    FireDaemon Pro daeMON Service Configuration

    The working directory is where you have placed the daeMON. Note the Parameters list. This is the list of services (in startup order) that you want to monitor. Each service short name is prefixed with a -s. If you want to change the monitoring facility frequency use the -f flag.The following settings are good in most cases:

    High CPU load threshold (as a percentage): 75

    High memory threshold (in MB): 1024

    Monitoring frequency (in seconds): 60

    Ignore high CPU/Memory for X monitored intervals (in minutes): 5

  • You should really change the desktop interaction flag as it's not necessary to see what's going on (but you can leave it on if you are curious):

    FireDaemon Pro Uncheck Interact with Desktop
  • If you want to capture the debug log output of the utility then you can enable it as per the Output Capture section in the screenshot below:

    FireDaemon Pro Debug Logging

  • Alternately, you can make the daeMON dependent on the services it is monitoring. For example:

  • Then click the Install (tick) button and daeMON should be installed and monitoring your service. Should you accidentally shutdown a service or a process dies, then all the services that you specified in the Parameters list will be restarted. If you want to monitor multiple SRCDS servers, then you should create a new daeMON for each service rather than add another -s flag. The reason you should do this is because daeMON will restart every server if just one of them uses too much resources. Setting up a separate daeMON for each SRCDS server will prevent this from happening. Don't worry about the CPU/Ram usage for having lots of daeMON services; one daeMON uses around 4MB of RAM and under 1% CPU. To find out how to receive email alerts when SRCDS restarts go here.