coreybutler/node-windows

Service stopped unexpectedly but child node process doesn't

Open

#235 opened on Apr 17, 2019

View on GitHub
 (5 comments) (6 reactions) (0 assignees)JavaScript (367 forks)github user discovery
help wanted

Repository metrics

Stars
 (2,931 stars)
PR merge metrics
 (PR metrics pending)

Description

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.

Contributor guide