3 ms·
I have a question about Node.js I hope it's legitimate. If I have a endless loop in some method that is supposed to generate some part of some webpage of my w
by scotty79 15y ago
I have a question about Node.js
I hope it's legitimate.
If I have a endless loop in some method that is supposed to generate some part of some webpage of my webapp will it stall the whole app until I restart the server?
From my tests it seems so.
What additional facilities are required to be used so that single bug won't kill the whole app for all users?
Rant mentiones putting nginx in front of node.
UPDATE:
It seems that there is a tool called monit that can restart your server when it stalls:
http://howtonode.org/deploying-node-upstart-monit http://howtonode.org/deploying-node-upstart-monit