every two minutes and on three consecutive failures it starts a shut-down

/ start-up cycle (two minutes apart).

MailtraqGuardian cannot, of course, distinguish between a restart failure and a manual shutdown: you would need stop MailtraqGuardian via the Windows Task Manager

Usage Tips

Half-open sockets are most often caused by TCP clients abruptly disconnecting due to network interruptions.

Timing - It is suggested that a scheduled restart be set for just before the normal working day to minimise disruption.

Alternative ways of stopping and Starting Mailtraq

Command line

To start the Mailtraq service from the command-line - at Start | Run enter: net start mailtraqservice

To stop the Mailtraq service from the command-line - at Start | Run enter: net stop mailtraqservice

Batch file

You can create a batch file, run as a Windows scheduled task, to stop and restart Mailtraq using the following:

net stop mailtraqserver

ping localhost -n 15 > nul

net start mailtraqserver

The 'ping' forces a delay in the restart to allow sockets to close before starting Mailtraq again. 'Ping' is used here as the simple 'wait' command will not force a delay. You can adjust the amount of delay to suit the local machine by adjusting the numer of 'pings'.