Windows Services don't respond


our application has 2 windows services. one, let's call "guard", monitoring second one, let's call "taskmanager". main role of "guard" @ intervals of couple hours reboot "taskmanager".for our customers works without problems, several doesn't. there no posibility sevices in control panel. need use third-party application kill and execute again.

so, have few questiuons:

1. reasons can make windows services not respond?

2. how can monitor happens on computer?

3. can "guard" in way if reboot didn't succeed (and how can know it) kill , reinstall or service start again without killing it?

p.s. moderators, if it's wrong category kind questions, don't erase it. didn't find category more suitable it.

hi!

1. possibly security settings

2. trace class output text file or eventlog in service output events

3. guard can expect response taskmanager in predefined time (30 sec example). if guard not response - treat taskmanager dead , restart.

 

btw, windows services have 30 seconds time frame start, if start longer - killed service manager. long startup must go background thread.



.NET Framework  >  Common Language Runtime Internals and Architecture



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

job syspolicy_purge_history job fail in sqlserver 2008

Trying to register with public marketplace error with 'Get-AzureStackStampInformation'