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
Which is the alternative to id/uid (which are marked as DEPRECATED)? #949
Comments
I don't think there is an actual alternative for now. You're also not the only one wondering about this: |
Ditto on this...? |
I'm observing weird terminations when using forever with -uid, and there's not any log too. Is there an alternative yet? |
Just found it's deprecated. Any alternative yet? |
I'm probably gonna get hate for this because I recommend another tool in this repo but: It supports ID's, names and tons of other things such as load-balancing and monitoring. Also, it has an amazing (and documented) API for controlling scripts via NodeJS (e.g. use PM2 as a dependency rather than a CLI tool). Had absolutely no issues since I've switched. |
@nldev I don't remember exactly but I had a few serious issues with pm2 around 4 years ago leading me to switch to forever. The servers just kept quitting and forever handled it all pretty well. Maybe the bugs have ironed out by now, but I can't have so much time stuck on monitoring again. |
I'm getting the same issue as @anistark , which took me a while to figure out (thought it was something with the Jenkins server...), it was fixed after I switched to Then save the pid of the process running on that port somewhere using this command And kill it later with |
According to the doc, both
--id
and--uid
are DEPRECATED. So, in case I want to assign "ids" to my daemons to easily manage them via CLI, which is the proper alternative? AFAIS the documentation does not provide any other way.The text was updated successfully, but these errors were encountered: