{"id":10745,"date":"2021-11-22T05:42:01","date_gmt":"2021-11-22T13:42:01","guid":{"rendered":"https:\/\/www.coretechnologies.com\/blog\/?p=10745"},"modified":"2022-02-21T13:37:42","modified_gmt":"2022-02-21T21:37:42","slug":"version-8-released","status":"publish","type":"post","link":"https:\/\/www.coretechnologies.com\/blog\/service-protector\/version-8-released\/","title":{"rendered":"Service Protector 8 Maximizes Service Uptime with Advanced Sanity Checks"},"content":{"rendered":"<div align=\"center\"><img loading=\"lazy\" decoding=\"async\" class=\"no-lazy-load\" style=\"margin-bottom:20px;\" src=\"\/blog\/images\/whats-new-400x150.webp\" title=\"Service Protector 8: Maximize Uptime with Advanced Sanity Checks\" alt=\"Service Protector 8: Maximize Uptime with Advanced Sanity Checks\" border=\"0\" width=\"400\" height=\"150\"><\/div>\n<p><a href=\"\/products\/ServiceProtector\/\">Service Protector<\/a> 8.0 was released on November 9 2021. Here are the most significant changes in this new version:<\/p>\n<h2 class=\"blog-caption\">Easy to use Sanity Checks will help you keep your service running 24\/7<\/h2>\n<p>Are you struggling with a Windows Service that <i>says<\/i> it&#8217;s running but is <b>actually dead on its feet<\/b>?<\/p>\n<p>How about a network server that is supposed to accept incoming TCP\/IP requests but is suddenly <b>refusing all network connections<\/b>?<\/p>\n<p>Or a service that is hung and has <b>stopped updating a log file<\/b>?<\/p>\n<p>Those nuanced situations &mdash; where the <b>service is running but not actually working<\/b> &mdash; can torment you and your customers who rely on the service!<\/p>\n<p>Fortunately, Service Protector&#8217;s new sanity check feature is here to help.<\/p>\n<h3 class=\"blog-caption\">What is a sanity check?<\/h3>\n<p>A sanity check is a &#8220;helper&#8221; utility that Service Protector runs to detect if a service is not functioning as expected. And whenever a sanity check detects a problem, Service Protector knows that it&#8217;s time to restart the service.<\/p>\n<p>Service Protector version 8.0 supports four powerful sanity checks. They can:<\/p>\n<ol>\n<li>\n<p>Test basic <b>TCP\/IP network connectivity<\/b>;<\/p>\n<\/li>\n<li>\n<p>Check that a <b>log file was recently updated<\/b>;<\/p>\n<\/li>\n<li>\n<p>Confirm that a <b>web server is responding<\/b> properly;<\/p>\n<\/li>\n<li>\n<p>Run <b>your own custom program<\/b> to detect any kind of problem you like.<\/p>\n<\/li>\n<\/ol>\n<p><a href=\"\/products\/ServiceProtector\/ServiceProtectorUserManual.pdf\">The user manual<\/a> describes how to configure a sanity check. For now, let&#8217;s review a real-world scenario where a sanity check can improve reliability and uptime.<\/p>\n<h3 class=\"blog-caption\">Protecting the Apache Windows Service with a sanity check<\/h3>\n<p><a href=\"http:\/\/httpd.apache.org\/\" target=\"_blank\" rel=\"noopener\">Apache<\/a> is the world&#8217;s premier web server. It installs as a Windows Service, to start at boot and remain running all the time:<\/p>\n<div align=\"center\"><a href=\"\/blog\/images\/apache-windows-service.png\" class=\"zoomPopup\" title=\"Apache Windows Service\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"image-padding\" src=\"\/blog\/images\/apache-windows-service.png\" title=\"Apache Windows Service (click to enlarge)\" alt=\"Apache Windows Service\" border=\"0\" \/><\/a><\/div>\n<p><a href=\"\/products\/ServiceProtector\/Services\/KeepApacheWindowsServiceRunning24x7.html\">This step-by-step guide<\/a> show how to bulletproof the Apache Windows Service with Service Protector.<\/p>\n<p>Even though Apache is very reliable, customers have reported situations where the service is running but the web server refuses to serve pages. In those cases, attempting to visit a URL fails with a timeout or protocol error.<\/p>\n<p>With Service Protector 8, we can deploy a sanity check to watch out for that. Here&#8217;s how:<\/p>\n<ol>\n<li>\n<p>Start by editing the Apache entry in Service Protector.<\/p>\n<\/li>\n<li>\n<p>Switch to the <b>Monitor<\/b> tab. Check the <b>Whenever it fails a periodic sanity check<\/b> box and click the <b>Set<\/b> button:<\/p>\n<div align=\"left\"><a href=\"\/blog\/images\/service-protector-monitor-tab-sanity-check.png\" class=\"zoomPopup\" title=\"Set the Sanity Check\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"image-padding\" src=\"\/blog\/images\/service-protector-monitor-tab-sanity-check.png\" title=\"Set the Sanity Check (click to enlarge)\" alt=\"Set the Sanity Check\" border=\"0\" \/><\/a><\/div>\n<\/li>\n<li>\n<p>In the <b>Add Sanity Check<\/b> window, choose the <b>Check that a web server is responding properly<\/b> entry and click <b>Next<\/b>:<\/p>\n<div align=\"left\"><a href=\"\/blog\/images\/web-server-sanity-check.png\" class=\"zoomPopup\" title=\"Check web server sanity check\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"image-padding\" src=\"\/blog\/images\/web-server-sanity-check.png\" title=\"Check web server sanity check (click to enlarge)\" alt=\"Check web server sanity check\" border=\"0\" \/><\/a><\/div>\n<\/li>\n<li>\n<p>Enter the web address you would like to monitor. If this URL is inaccessible, Service Protector will recycle Apache.<\/p>\n<p>Since Apache is running on your machine, the default localhost URL will likely work:<\/p>\n<div align=\"left\"><a href=\"\/blog\/images\/configure-web-server-sanity-check.png\" class=\"zoomPopup\" title=\"Configure the web server sanity check: URL\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"image-padding\" src=\"\/blog\/images\/configure-web-server-sanity-check.png\" title=\"Configure the web server sanity check: URL (click to enlarge)\" alt=\"Configure the web server sanity check: URL\" border=\"0\" \/><\/a><\/div>\n<p>Note that you can click <b>Check now<\/b> to run an interactive test and ensure that you have entered the correct URL.<\/p>\n<\/li>\n<li>\n<p>At this point, specify how often Service Protector should fetch the URL. Every 5 minutes is enough for us:<\/p>\n<div align=\"left\"><a href=\"\/blog\/images\/web-server-sanity-check-frequency.png\" class=\"zoomPopup\" title=\"Configure the web server sanity check: Frequency\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"image-padding\" src=\"\/blog\/images\/web-server-sanity-check-frequency.png\" title=\"Configure the web server sanity check: Frequency (click to enlarge)\" alt=\"Configure the web server sanity check: Frequency\" border=\"0\" \/><\/a><\/div>\n<p>Click <b>Next<\/b> to move on.\n<\/li>\n<li>\n<p>Finally, review the summary and click <b>Add<\/b> to record your new sanity check:<\/p>\n<div align=\"left\"><a href=\"\/blog\/images\/confirm-web-server-sanity-check.png\" class=\"zoomPopup\" title=\"Add web server sanity check\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"image-padding\" src=\"\/blog\/images\/confirm-web-server-sanity-check.png\" title=\"Add web server sanity check (click to enlarge)\" alt=\"Add web server sanity check\" border=\"0\" \/><\/a><\/div>\n<\/li>\n<\/ol>\n<p>And with that sanity check in place, Service Protector will attempt to fetch the URL every 5 minutes.<\/p>\n<p>If the page comes back normally, nothing will happen. <\/p>\n<p>But if there is a problem fetching the page, Service Protector will quickly stop and restart the Apache Windows Service to resume normal web services.<\/p>\n<p>In effect, we&#8217;ve <b>capped Apache&#8217;s downtime at five minutes!<\/b><\/p>\n<h2 class=\"blog-caption\">Service Protector is fully compatible with Windows 11<\/h2>\n<div align=\"center\"><img decoding=\"async\" class=\"image-padding\" src=\"\/blog\/images\/windows-11-ready.png\" title=\"Windows 11 Ready\" alt=\"Windows 11 Ready\" border=\"0\" ><\/div>\n<p>Here at Core Technologies, we&#8217;ve been <a href=\"\/blog\/windows\/getting-ready-for-windows-11\/\">interrogating Windows 11<\/a> for the past few months &mdash; ever since preview builds became available via the <a href=\"https:\/\/insider.windows.com\/\" target=\"_blank\" rel=\"noopener\">Windows Insider program<\/a>.<\/p>\n<p>To date, Service Protector 8 has performed very well. We have detected zero incompatibilities. In fact, our testing services (including MySQL, Print Spooler and our home-grown simulators) have performed as well as they did under Windows 10.<\/p>\n<h2 class=\"blog-caption\">Other fixes &amp; improvements<\/b><\/h2>\n<ul>\n<li>\n<p>We&#8217;ve improved internal logging. As a result, we&#8217;ll be able to diagnose problems and resolve thorny issues quicker.<\/p>\n<\/li>\n<li>\n<p>&#8220;splwow64.exe&#8221; processes, which are spawned to aid in printing, are terminated when launched from a Windows Service.<\/p>\n<\/li>\n<\/ul>\n<p style=\"padding-top:10px\">\nAs usual, please review the <a href=\"\/products\/ServiceProtector\/VersionHistory.html\">release notes<\/a> for the full list of features, fixes and improvements included in Service Protector version 8.\n<\/p>\n<h2 class=\"blog-caption\">Upgrading to Service Protector 8<\/h2>\n<p>If you purchased <b>Service Protector version 7 (after January 2021), you can upgrade to version 8 for free<\/b>. Simply download and install over your existing installation to preserve your existing services and all settings. For instance, your registration code will continue to work.<\/p>\n<p>If you bought <b>Service Protector version 6 or earlier (before January 2021), you will need to upgrade to use version 8<\/b>. Please <a href=\"\/products\/ServiceProtector\/#purchase\">buy upgrades here &mdash; at a 50% discount<\/a>.<\/p>\n<p>See the complete <a href=\"\/products\/ServiceProtector\/FAQ.html#Upgrade\">upgrade policy<\/a> for more details.<\/p>\n<p style=\"padding-top:10px\">Enjoy!<\/a><\/p>\n<!-- relpost-thumb-wrapper --><div class=\"relpost-thumb-wrapper\"><!-- filter-class --><div class=\"relpost-thumb-container\"><style>.relpost-block-single-image, .relpost-post-image { margin-bottom: 10px; }<\/style><h3>You may also like...<\/h3><div style=\"clear: both\"><\/div><div style=\"clear: both\"><\/div><!-- relpost-block-container --><div class=\"relpost-block-container relpost-block-column-layout\" style=\"--relposth-columns: 3;--relposth-columns_t: 2; --relposth-columns_m: 2\"><a href=\"https:\/\/www.coretechnologies.com\/blog\/windows-services\/windows-service-vs-regular-application\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><img decoding=\"async\" loading=\"lazy\" class=\"relpost-block-single-image\" alt=\"Top 10 differences between a Windows Service and a regular application\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/top-10-150x150.png\" style=\"aspect-ratio:1\/1\" style=\"aspect-ratio:1\/1\"><\/img><div class=\"relpost-block-single-text\"  style=\"height: 75px;font-family: Arial;  font-size: 12px;  color: #333333;\"><h2 class=\"relpost_card_title\">Top 10 differences between a Windows Service and a regular application<\/h2><\/div><\/div><\/a><a href=\"https:\/\/www.coretechnologies.com\/blog\/windows-services\/how-to-export-services\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><img decoding=\"async\" loading=\"lazy\" class=\"relpost-block-single-image\" alt=\"How to Export the List of Windows Services on Your Computer\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/export-services-150x150-1.png\" style=\"aspect-ratio:1\/1\" style=\"aspect-ratio:1\/1\"><\/img><div class=\"relpost-block-single-text\"  style=\"height: 75px;font-family: Arial;  font-size: 12px;  color: #333333;\"><h2 class=\"relpost_card_title\">How to Export the List of Windows Services on Your Computer<\/h2><\/div><\/div><\/a><a href=\"https:\/\/www.coretechnologies.com\/blog\/windows-services\/delay-service-start\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><img decoding=\"async\" loading=\"lazy\" class=\"relpost-block-single-image\" alt=\"Q&amp;A: How Do I Delay the Start of my Windows Service?\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/delay-windows-service-start-150x150-1.png\" style=\"aspect-ratio:1\/1\" style=\"aspect-ratio:1\/1\"><\/img><div class=\"relpost-block-single-text\"  style=\"height: 75px;font-family: Arial;  font-size: 12px;  color: #333333;\"><h2 class=\"relpost_card_title\">Q&amp;A: How Do I Delay the Start of my Windows Service?<\/h2><\/div><\/div><\/a><\/div><!-- close relpost-block-container --><div style=\"clear: both\"><\/div><\/div><!-- close filter class --><\/div><!-- close relpost-thumb-wrapper -->","protected":false},"excerpt":{"rendered":"<p>Service Protector 8.0 was released on November 9 2021. Here are the most significant changes in this new version: Easy to use Sanity Checks will help you keep your service running 24\/7 Are you struggling with a Windows Service that &hellip; <a href=\"https:\/\/www.coretechnologies.com\/blog\/service-protector\/version-8-released\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":10748,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[268,109,138,147,261,196],"class_list":["post-10745","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-service-protector","tag-apache","tag-new-release","tag-sanity-check","tag-service-protector-tag","tag-windows-11","tag-windows-services-2"],"_links":{"self":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/10745","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/comments?post=10745"}],"version-history":[{"count":18,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/10745\/revisions"}],"predecessor-version":[{"id":10928,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/10745\/revisions\/10928"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/media\/10748"}],"wp:attachment":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/media?parent=10745"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/categories?post=10745"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/tags?post=10745"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}