A
andrewbb
Occasionally I had been getting a 30-60 second delay when starting a
Windows service written in .NET. Today I stumbled upon a way to
reproduce it without fail:
Set the system date to the 31st of the current month, the service
starts immediately.
Set the system date to the 1st of next month, the service hangs for
30-60 seconds.
Change back to the 31st and it starts immediately again.
etc.
The service:
Main proc consists of ServiceBase.Run(new MyService());
OnStart returns immediately
Compiled in Release mode
Does anyone have any idea what is happening here?
Windows service written in .NET. Today I stumbled upon a way to
reproduce it without fail:
Set the system date to the 31st of the current month, the service
starts immediately.
Set the system date to the 1st of next month, the service hangs for
30-60 seconds.
Change back to the 31st and it starts immediately again.
etc.
The service:
Main proc consists of ServiceBase.Run(new MyService());
OnStart returns immediately
Compiled in Release mode
Does anyone have any idea what is happening here?