简体   繁体   中英

Node Js Worker Process Dying Abruptly on Windows

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.

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:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM