April 03
This free Windows Service monitors the IIS 6 Worker Processes CPU usage and Web Service availability.
Ii is useful on a shared hosting Web servers to avoid Processes to use to much CPU resources.
Uninstall and delete previous Versions running:
%windir%\Microsoft.NET\Framework\v1.1.4322\InstallUtil.exe -u [PATH]\ProcWatch.exe
Features:
1) CPU Limits
If a Worker process uses more than ~30% of all CPUs ProcWatch set the Priority of the Process to Low:
If the lowered Worker process uses less than ~10% of all CPUs ProcWatch set the Priority of the Process to Normal:
After 1 Minute in lowered State Procwatch initiate a Recycle of the Application Pool:
2) URL Checks
The URL’s where requested as configured in the Configuration File. To activate un-comment Service Check Block.
If the HTTP Status-code is different from "200 OK" or the request times out, ProcWatch initiates a recycle of the Application Pool
Settings for URL Checks
<add key="CheckWS[INCREMENTAL NUMBER FOR EVERY LINE]" value="[URL TO CHECK],1,[CHECK EVERY X SECONDS],[CONNECTION TIMEOUT SECONDS],[APPLICATION POOL]" />
In the Configuration File "%ProgramFiles%\ProcWatch\ProcWatch.exe.config" you can change the settings.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="lowerLimit" value="10" />
<add key="upperLimit" value="30" />
<add key="MaxSec" value="60" />
<add key="CheckWS1" value="http://www.website-a.com/testpage.asp,1,60,20,www.website-aAppPool" />
<add key="CheckWS2" value="http://www.website-b.com/testpage.asp,1,60,20,www.website-bAppPool" />
<add key="CheckWS3" value="http://www.website-c.com/testpage.asp,1,60,20,www.website-cAppPool" />
</appSettings>
</configuration>
You have to restart the Service to make sure the new settings take effect.
Changes v1.5:
Added URL Check Feature
Easy to install MSI Installer Package
Configuration File
Bug fixes...
You can download from here and use it for free!
Thanks to www.gfader.com , Neves Parrottino & www.dreamcar.bz.it