Monitoring your Web site for IIS crashes



No Web server is perfect. High volume Web sites that perform complex tasks tend to go down occasionally regardless of what platform and server you are running. IIS has had its problems of major instabilities especially prior to the release of NT SP5, but the problem is just as common on Unix/Sun platforms especially for servers running heavy duty server applications. For this reason Web Connection ships with Web Monitor which is a utility that allows you to monitor your Web site and take action when the Web server goes down. This document deals with IIS specifically, but you can apply the concepts to other NT Web servers like Apache or Website.

I've set up Web Monitor to check for IIS dying and if it does automatically killing any running COM instances of my WC application (if they're still running) and then restarting the Web server.

To do this I set up as follows:

If you follow these steps any IIS crashes will be minimized to a maximum of a minute of downtime.


Mind you this doesn't happen frequently in my installation of NT 4.0 and SP5, but was occurring quite frequently with SP4 - about once a week. It's now down to about once a month. The question invariably comes up - is Web Connection crashing IIS? The answer is: Probably not. On installations that run pure Web Connection applications the Web server is extremely stable. Installation that make heavy use of ASP on the other hand have frequent crashing problems, especially if the ASP pages use COM components or advanced ADO features.


Last Updated: 05/04/00