-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
winsw keeps crashing and restarting but leaving our process alive each time #105
Comments
Have you seen an exception trace in the event log? I wonder why Windows does not print it by default, but IIRC there's an option, which allows enabling it. |
No. I double checked the event log and I couldn't find one. What's the option to enable it? |
Did you get any errors in the wrapper log? We have like 1 out of 1000+ restarts that fails with the same System.IO.IOException. 2016-08-19 15:17:22 - Found child process: 5512 Name: csrss.exe |
Crashes can be partially worked around by #125 |
So there are several related issues fixed in 2.0. In particular, #59, #159 and #124 address the process termination logic. #125 also provides a Runaway Process Killer extension point, which can be used as a fail-safe. The issue needs to be retested Closing this issue for now. If it still appears in WinSW 2, please reopen it |
We don't have a reliable way to reproduce this, but with the 1.18 binary running as a service, occasionally it crashes after being manually restarted.
The service starts up correctly. Then crashes. Windows then restarts the service and it crashes again. And this loop keeps repeating. However our process, a nodejs app, gets started each time and is not killed - leaving us with multiple nodejs processes running.
The windows event log gives this error for the crash (Event ID: 1001):
The contents of the AppCrash report(s) are:
The text was updated successfully, but these errors were encountered: