 Rank: Administration Groups: Administration
Joined: 11/3/2005 Posts: 1,143 Points: 1,636
|
Since UltiDev Cassini does not yet have reliability/process monitoring features of IIS, the best way to ensure that Cassini service restarts automatically on failure is to bring up service's Recovery property page (Start -> Control Panel -> Administrative Tools -> Services -> UltiDev Cassini Web Server for ASP.NET x.x -> right-click -> Properties -> Recovery) and set "First Failure" to "Restart the Service", and "Restart Service After" to 1 minute.
The reason we recommend setting "Restart Service After" to 1 minute instead of 0 (an immediate restart) is because system will keep TCP ports bound for a little bit after process crash-terminated. Immediate restart will most likely result in failure to serve applications. To avoid that it's recommended to allow at least one minute of downtime before restarting the service.
|