How to Keep Memurai Running 24/7

How to Keep Memurai Running 24/7 with Service Protector

Automatically restart the Memurai Windows Service if it crashes or is accidentally shut down. Ensure that your datastore is always available, with zero downtime


Last Updated on November 10, 2026

Memurai is Redis-compatible cache and datastore specifically tailored for Windows. It can be installed as a Windows Service, so that it starts automatically at boot:


To keep the Memurai server up and running with Service Protector:

  1. Download and install Service Protector, if necessary.

  2. Start Service Protector.

  3. Select Protector > Add to open the Add Protector window:

    Add Protector

  4. On the General tab, select the Memurai Windows Service from the Service to protect dropdown list. You will notice a green circle on the left if the service is already running:

    Choose the Memurai Windows Service

  5. Are you worried about Memurai hanging or failing? If so, you should set up a periodic health check, to quickly restart the server if it stops listening for network requests.

    To do so, move to the Monitor tab and:

    1. Switch to the Monitor tab. Check the Whenever it fails a periodic sanity check box and click the Set button:

      Apache Windows Service: Add a sanity check

    2. In the Add Sanity Check window, select the Check that your service has open network connections option and click Next to proceed:

      Add a network connections sanity check

    3. Since Memurai should always be listening for requests, check the Require at least one listening/server connection box.

      Setup the check for a listening network connection

      Click Next to continue.

    4. On this page, tell Service Protector how often to check Memurai for the listening connection. The default of every 5 minutes should be fine but you can check more often if you prefer.

      After you're done, click Next to move on:

      How often should Service Protector check Memurai?

    5. And finally, confirm your settings:

      Confirm your sanity check settings

      If everything looks good, click Add to record your new sanity check and return to the Monitor tab.

  6. We're done configuring Memurai so click the Save button to record your settings. In a couple of seconds, an entry for Memurai will appear in the Service Protector window.

    The shield icon will be green, indicating that Service Protector is already monitoring the Memurai server:

    The Memurai Windows Service is protected

  7. That's it! Next time your computer boots, Memurai will start as normal and Service Protector will begin monitoring the service to promptly restart it if it fails, crashes or stops for any reason.

    We encourage you to edit your Memurai entry in Service Protector and review the many other settings that could help in your environment.

    For example, send an email when the service fails, restart Memurai regularly to keep the service responsive, and much more.


Trouble protecting the Memurai Windows Service?

  • From Service Protector, select Protector > Report Activity > Today to bring up an HTML report detailing the interaction between Service Protector and Memurai.

  • Browse the Service Protector FAQ for answers to commonly asked questions and troubleshooting tips.

  • Contact us and we will be happy to help!