I have this WCF service running as a window service.
I have in my code that everytime it faults it will restart the service.
Now I'm having the issue where the host faults, it tries to restarts, then faults again, but at some point it just stop the service.
Wondering why it stop the service? Is this something handled by the OS that it detects the service has faulted a number of time within a certain time it will just stop the service because it faulted too many time ?
I believe by default a service will only restart so many times.
service.msc
尝试查看事件日志,必须有一些信息,以防万一窗口本身正在做某事。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.