Skip to content
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

Service stopped unexpectedly but child node process doesn't #235

Open
f-w opened this issue Apr 17, 2019 · 5 comments
Open

Service stopped unexpectedly but child node process doesn't #235

f-w opened this issue Apr 17, 2019 · 5 comments

Comments

@f-w
Copy link

f-w commented Apr 17, 2019

Once about every 2 months my node windows service crashes unexpectedly, usually at night so it's unlikely to be caused by load. When the service stopped, the child node process continues to run so the web service is not down.
This issue is related to #12 except that service crashing unexpectedly is my main concern. Surviving child node process is also nagging because if child process is not killed before service is restarted there is port conflict.

@f-w f-w changed the title Service stopped unexpected but child node process doesn't Service stopped unexpectedly but child node process doesn't Apr 17, 2019
@coreybutler
Copy link
Owner

coreybutler commented Feb 24, 2020

Obviously this one is pretty tricky to troubleshoot since I can't recreate a 2 month running process. If folks could post logs (or patterns), that might help.

@hassanahmad32
Copy link

hassanahmad32 commented Oct 3, 2020

@coreybutler I am able to reproduce this issue. Steps to reproduce this issue as below:

1- Install and start the service.
2- Kill the Windows Service Wrapper process from Task Manager (Don't kill the process tree)
3- Child process is still there which creates issue when we try to start the windows service again.

I have used node version 12.8.0

@omardoma
Copy link

I am facing the same issue as described by @hassanahmad32 on Node.js v14.17.6 and could replicate it using his provided steps. Any workarounds for the moment?

@MarekUrbanUnicorn
Copy link

We are having same problem, didnt have anything else to do so cheked event wiever found thiss one by Windows Error Reporting at the at time service crashed
Fault bucket 2216920277276913017, type 5
Event Name: CLR20r3
Response: Not available
Cab Id: 0

Problem signature:
P1: ppsuulancelotpps.exe
P2: 1.17.0.0
P3: 5517d5b0
P4: mscorlib
P5: 2.0.0.0
P6: 62476fa6
P7: 34dd
P8: 9a
P9: System.IO.IOException
P10:

Attached files:
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER2A02.tmp.WERInternalMetadata.xml
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER2A80.tmp.xml
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER2B5A.tmp.csv
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER2BC8.tmp.txt
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER2C08.tmp.mdmp
\?\C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_ppsuulancelotpps_26ff6abaf7a619573e291377f67b93445e28ddb_00000000_cab_33e544cd\memory.hdmp
\?\C:\Windows\Temp\WER44B1.tmp.WERDataCollectionStatus.txt

These files may be available here:
\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_ppsuulancelotpps_26ff6abaf7a619573e291377f67b93445e28ddb_00000000_383177f3

Analysis symbol:
Rechecking for solution: 0
Report Id: 07ee1e39-8bfb-498a-b71a-0e1eb3c87601
Report Status: 268435456
Hashed bucket: 6b989d27fa9f2ca31ec4153f16736d79

Cab Guid: 0

next i tried to find that WER file turns out its a plaintext bu a different format hope i helps
Report.txt

@MarekUrbanUnicorn
Copy link

Checked process for trigering the error using task manager, also happenes on our system, it seems that this error is caused when service wrapper doesnt exit properly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants