I ran the NodeJS application with Express 4, Mongoose, and MongoDB. Then I received a possibly bot GET request, to which the answer was 404. Usually, the application continues after that no problems, but this time it looked like it was frozen or stalled. And no page would load in my browser, although the application was still technically launched. After a reboot, he returned to normal operation.
After testproxy.php it just emits half empty lines.
I know that there will always be a module that will restart your application if it works, but I'm not sure if this would be useful in this case.

EDIT:
In my app.js application (I was in dev mode):
app.use(function(req, res, next) { var err = new Error('Not Found'); err.status = 404; next(err); }); if (app.get('env') === 'development') { app.use(function(err, req, res, next) { res.status(err.status || 500); res.render('error', { message: err.message, error: err }); }); }
It should have printed a 500 Error, but that wasnβt because it was believed that it handled the 404 error, and I donβt think the next (err) was ever running in this case.
ed-ta source share