We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi!
Problem: "stop" doesn't work properly. node version: v0.10.29 pm2 version: 0.10.7
Scenario:
This is very strange. Why doesn't pm2 kill the app? Why does it restart the app instead?
I'm also using a PID file in configuration - the file stays there, even though pm2 list tells me the app is "stopped".
Thank you for feedback!
Console output: pkopac@x:$ pm2 stop app-name [PM2] Stopping app-name [PM2] Stopping process by name app-name ┌────────────┬────┬──────┬──────┬─────────┬───────────┬────────┬────────┬─────────────┐ │ App name │ id │ mode │ PID │ status │ restarted │ uptime │ memory │ watching │ ├────────────┼────┼──────┼──────┼─────────┼───────────┼────────┼────────┼─────────────┤ │ app-name │ 0 │ fork │ 7376 │ stopped │ 0 │ 0 │ 0 B │ unactivated │ └────────────┴────┴──────┴──────┴─────────┴───────────┴────────┴────────┴─────────────┘ Use pm2 desc[ribe] <id> to get more details pkopac@x:$ pm2 list ┌────────────┬────┬──────┬──────┬─────────┬───────────┬────────┬────────┬─────────────┐ │ App name │ id │ mode │ PID │ status │ restarted │ uptime │ memory │ watching │ ├────────────┼────┼──────┼──────┼─────────┼───────────┼────────┼────────┼─────────────┤ │ app-name │ 0 │ fork │ 7376 │ stopped │ 0 │ 0 │ 0 B │ unactivated │ └────────────┴────┴──────┴──────┴─────────┴───────────┴────────┴────────┴─────────────┘ Use pm2 desc[ribe] <id> to get more details pkopac@x:~$ pm2 list ┌────────────┬────┬──────┬──────┬────────┬───────────┬────────┬─────────────┬─────────────┐ │ App name │ id │ mode │ PID │ status │ restarted │ uptime │ memory │ watching │ ├────────────┼────┼──────┼──────┼────────┼───────────┼────────┼─────────────┼─────────────┤ │ app-name │ 0 │ fork │ 7398 │ online │ 1 │ 14s │ 43.020 MB │ unactivated │ └────────────┴────┴──────┴──────┴────────┴───────────┴────────┴─────────────┴─────────────┘ Use pm2 desc[ribe] <id> to get more details
pm2 desc[ribe] <id>
The text was updated successfully, but these errors were encountered:
The development branch should have this fixed:
$ npm install git://github.com/Unitech/pm2#development
Sorry, something went wrong.
I have same problem
No branches or pull requests
Hi!
Problem: "stop" doesn't work properly.
node version: v0.10.29
pm2 version: 0.10.7
Scenario:
This is very strange. Why doesn't pm2 kill the app? Why does it restart the app instead?
I'm also using a PID file in configuration - the file stays there, even though pm2 list tells me the app is "stopped".
Thank you for feedback!
Console output:
pkopac@x:
$ pm2 stop app-name$ pm2 list[PM2] Stopping app-name
[PM2] Stopping process by name app-name
┌────────────┬────┬──────┬──────┬─────────┬───────────┬────────┬────────┬─────────────┐
│ App name │ id │ mode │ PID │ status │ restarted │ uptime │ memory │ watching │
├────────────┼────┼──────┼──────┼─────────┼───────────┼────────┼────────┼─────────────┤
│ app-name │ 0 │ fork │ 7376 │ stopped │ 0 │ 0 │ 0 B │ unactivated │
└────────────┴────┴──────┴──────┴─────────┴───────────┴────────┴────────┴─────────────┘
Use
pm2 desc[ribe] <id>
to get more detailspkopac@x:
┌────────────┬────┬──────┬──────┬─────────┬───────────┬────────┬────────┬─────────────┐
│ App name │ id │ mode │ PID │ status │ restarted │ uptime │ memory │ watching │
├────────────┼────┼──────┼──────┼─────────┼───────────┼────────┼────────┼─────────────┤
│ app-name │ 0 │ fork │ 7376 │ stopped │ 0 │ 0 │ 0 B │ unactivated │
└────────────┴────┴──────┴──────┴─────────┴───────────┴────────┴────────┴─────────────┘
Use
pm2 desc[ribe] <id>
to get more detailspkopac@x:~$ pm2 list
┌────────────┬────┬──────┬──────┬────────┬───────────┬────────┬─────────────┬─────────────┐
│ App name │ id │ mode │ PID │ status │ restarted │ uptime │ memory │ watching │
├────────────┼────┼──────┼──────┼────────┼───────────┼────────┼─────────────┼─────────────┤
│ app-name │ 0 │ fork │ 7398 │ online │ 1 │ 14s │ 43.020 MB │ unactivated │
└────────────┴────┴──────┴──────┴────────┴───────────┴────────┴─────────────┴─────────────┘
Use
pm2 desc[ribe] <id>
to get more detailsThe text was updated successfully, but these errors were encountered: