Node Js Worker Process Dying Abruptly on Windows

0

I am running a node js cluster on windows and I can see that the worker process are dying abruptly with a non standard error code.

worker 2136 died (3221225477). restarting...
worker 2172 died (3221226505). restarting...

These numbers are windows error codes.

3221225477 – 0xC0000005 Access Violation error
3221226505 – 0xc0000409 Exception Unknown  

Are these errors logged in Windows Event Viewer or any other log where I can co-relate with node.js process deaths?

Any suggestions on how to debug this will be helpful.

node.js
windows
asked on Stack Overflow Mar 19, 2017 by Ranjan

1 Answer

0

The Access Violation error on Windows can be caused by for example having the binary addons compiled for a different system or different libraries.

You should either run npm rebuild or remove the node_modules directory and run a fresh npm install from scratch.

Also, take a look at those articles that explain the error in more details:

answered on Stack Overflow Mar 19, 2017 by rsp

User contributions licensed under CC BY-SA 3.0