coreybutler / node-windows

Windows support for Node.JS scripts (daemons, eventlog, UAC, etc).
Other
2.8k stars 356 forks source link

Process restarts once every hour #150

Closed SamVerschueren closed 7 years ago

SamVerschueren commented 7 years ago

Not sure how or why, but I notice that my service is being restarted approximately every hour (it's more 1h5m or something). This is really weird because the service isn't doing anything at the time it stops.

I also added process.on('uncaughtException') to check if it's an exception that causes this, but no dice.

It basically just logs a warning first service.js stopped running and then an info message Starting service.js.

Is this a known issue? I couldn't find anything similar in the issue tracker.

SamVerschueren commented 7 years ago

It was a bug in my code.