Skip to content Skip to sidebar Skip to footer

Why Is `node.js` Dying When Called From Inside Python/uwsgi?

From the shell this python code which start and communicates with a node.js process works fine: > from subprocess import * > js = '(function(m) { console.log(m) })('hello wor

Solution 1:

Check if you are running uWSGI with memory constraints (like --limit-as or a cgroup/jail). Processes spawned from it will inherit those limits. Even check for environment variables v8 could expect (like HOME)


Post a Comment for "Why Is `node.js` Dying When Called From Inside Python/uwsgi?"