Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to start in background #50

Open
simonexmachina opened this issue Sep 25, 2012 · 7 comments
Open

Fails to start in background #50

simonexmachina opened this issue Sep 25, 2012 · 7 comments

Comments

@simonexmachina
Copy link
Contributor

If I execute the following using up -n 1 test.js (in the foreground) it behaves as expected, but if I start this in the background using up -n 1 test.js & then the master dies, the workers never output 'started' or 'listening' and eventually commit suicide.

console.log('started');
module.exports = server = require('express').createServer();
server.on('listening', function() {
  console.log('listening');
});
@simonexmachina
Copy link
Contributor Author

Am I the only person seeing this problem? Or is this an issue for anyone else? I need to be able to run this in the background. Happy to look into it myself, but it'd be nice to get some idea of what might be causing it or where to start.

@simonexmachina
Copy link
Contributor Author

Still no reply to this issue. Anyone? It's a pretty simple example case, would really appreciate some help with this.

@simonexmachina
Copy link
Contributor Author

Okay it looks to me that up is abandoned. I'll use something else...

@mjadobson
Copy link

+1.

@niclashoyer
Copy link

if this abandoned, what are the alternatives?

@simonexmachina
Copy link
Contributor Author

I'm just using forever to re-launch, and I believe that you can use cluster
to provide the multi-process feature but I haven't done this.

@niclashoyer
Copy link

For production environments I'm trying naught for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants