Thread: Any possible way to restart a frozen server?

Results 1 to 7 of 7
  1. #1
    Registered User recon224's Avatar
    Join Date
    Jan 2016
    Location
    Illinois, United States
    Posts
    70

    Any possible way to restart a frozen server?

    Hello everyone. One of the things that I have gotten used to over the years was HLDS or the like crashing when using addons/plugins. However, now the server does not fully crash as before. Instead, it will just hang after it loads AMXX.

    I understand the issues caused by AMXX/Metamod and SC 5.* (I am willing to risk it) but am curious to know if there is anything out there that is able to detect a hanging server, manually crash/close it, and then reboot it. There are plenty of server monitors that I have used over the years to restart the server upon crash so the new thing, to my knowledge, would be the detection of the freezing part. This would be for a Windows server.


    Any help or discussion on this issue is much appreciated and welcomed.

    Thanks in advance

  2. #2
    warrior spy-warrior's Avatar  
    Contributor
    Join Date
    Nov 2006
    Location
    Europe, France, Paris
    Posts
    2,965

    Re: Any possible way to restart a frozen server?

    See:
    developer.valvesoftware.com Windows Software/Scripts

    Edit code: SteamCMD Guardian 1.2 https://pastebin.com/raw/BRUbsGQh
    Patience is a virtue greatly needed by those who attempt great things.
    La patience est une vertu fort nécessaire à ceux qui tentent de réaliser de grandes choses.

    Server SvenCoop
    I love the mods svencoop
    World time zone & Look clocks

  3. #3
    Administrator AdamR's Avatar  
    Manager
    Join Date
    Mar 2004
    Location
    Cardiff, South Wales [UK]
    Posts
    8,593

    Re: Any possible way to restart a frozen server?

    I use FireDaemon Pro to run my SvenDS instances as services. The fee is worth it for me considering I've had it for so many years, and I use it for more than Sven Co-op. It has pretty good failure detection too, and can even react to message boxes.
    Adam "Adambean" Reece
    Sven Co-op team

    Also on: Steam | Facebook | Twitter | YouTube | Twitch
    Released AMXX plug-ins: Bind number slots | NextMap with Sven Co-op fix | Sven Co-op administrator icons

  4. #4
    Registered User
    Join Date
    Mar 2012
    Posts
    536

    Re: Any possible way to restart a frozen server?

    ServerChecker was a good solution on Windows back in the day:

    http://number-7.com/index.php?dir=fi...verChecker.msi

    It checks if the server is online by using a HL protocol query at set intervals. It takes a bit of tweaking to get it to run properly, if you have a server that takes a long time to come up, it may get stuck in a restart loop if you don't set the query time high enough. The only other issue it has is that if HLDS.exe / SVENDS.exe throws an error dialog, it will interfere with serverchecker being able to restart the process. There is a way to disable windows error dialogs which will eliminate this problem.

    I think this is the last version of serverchecker that was released before dumbclan went defunct. There was supposed to be a complete rewrite of serverchecker to add support for more games and more features, but I don't think that will ever happen.

  5. #5
    Registered User recon224's Avatar
    Join Date
    Jan 2016
    Location
    Illinois, United States
    Posts
    70

    Re: Any possible way to restart a frozen server?

    Awesome, glad to see there are a few options out there for Windows. Thanks a bunch everyone!

  6. #6
    Registered User
    Join Date
    Nov 2016
    Posts
    15

    Re: Any possible way to restart a frozen server?

    Hi!

    Iam using HLSM (Half-Life Server Monitor) you can find it here: https://forums.alliedmods.net/showthread.php?t=147880

    FEATURES:
    - Auto restart HL server while its process has been closed/crashed or server has no response.
    - Running in server-side.
    - Support almost CS1.5/HL1/HL2/HLTV/SourceTV server.
    - Support task schedule.
    - Support multilingual. Currently added: English, Simplified Chinese, Traditional Chinese.
    - Support multiprocessor setting.
    - Support windows system service.
    - Display current map & player count.
    - Can set boss key.
    - Can hide HL server window.
    - Adding high resolution time(boost HL server).

    I dont want miss it, its a very nice small tool.

    Screenshot:
    HLSM.JPG
    I'm from Germany, please excuse my not so perfect english.

  7. #7
    Registered User
    Join Date
    Aug 2017
    Location
    Vnzla
    Posts
    1

    Re: Any possible way to restart a frozen server?

    Good to know there are options to try on... thanks guys, I was also looking for this

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •