lately we encountered the problem that our Azure Worker Role service restarts almost every day. This is a huge problem for us, since our service needs around 20 minutes to initialize and these restarts can cause downtimes.
I logged in to the instances via RDP and looked in the event logs to figure out what was causing these seemingly random restarts. I came accross a few entries that always preceded a restart:
The service installed by the MsiInstaller is "Windows Azure Remote Forwarder". I assume this service gets installed because we enabled Remote Desktop in our worker role configuration. The interesting thing is that we have RDP enabled for a long time (2 years or so) but the random restarts are just occuring since 4 weeks ago.
But there are a few things than I don't quite understand:
- Why is this service installed or updated so frequently?
- I know that the RestartManager is responsible for installing/updating services without having to restart the machine by stopping other services that are blocking files.
Is it possible that our service blocks some important files?
Could it be a problem that we use a local disk storage for temporary files?
- Is it possible to tell the RestartManager to leave our Worker Role service alone?
- Is this just coincidence and the restarts are somehow triggered by our service, although no logs indicate errors on our side?
Any help is greatly appreciated.
Thanks,
Karsten
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…