-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Process can not be killed #1068
Comments
Although, I'm looking if we can do something PM2-side :) |
I have 70-150Mb free memory on my DigitalOcean droplet. And i can kill process with kill -9 pid. |
I can't delete my processes either. Using PM2 v0.12.7 and node v0.12.0 :( |
Does your app by any chance catch SIGTERM signal ? |
i have this same problem that started to appear when i upgraded to 0.12.7 from 0.12.3. for me, the problem occurs about once a day when i restart (often it's the first time i restart each day so it's been ~12 hours since the last restart) and i have about 5 - 10 restarts per day with continuous deployment. i don't have anything catching SIGTERM. for the sake of anyone else who might read this thread and not know how to get back up running when this happens, here's what i do: pm2 kill
pm2 startOrRestart app.json |
What logs do you got @neonstalwart when this occurs ? |
extracted from ~/.pm2/pm2.log
23:06 - successful restart |
It looks like the process exited in an unusual way and PM2 didn't receive the 'exit' signal. |
that's strange since i simply use
yeah, i'll try it. i'll definitely know by tomorrow if this has improved or not because i see this error the first time i restart my processes everyday. |
Hey, it looks like it's |
Try it with |
ok, trying... 0.12.7 fails. i'll try the others |
i see 0.12.7 fail. 0.12.8 and #development both work for me. |
Great, so it's fixed :) |
fyi - 0.12.3 is the earliest version that worked (and was the previous version i was using before 0.12.7) so somewhere between 0.12.3 and 0.12.4 was when the bug was introduced. |
Thanks again for the feedback 👍 |
Hi!
In my Gruntfile.coffee i have tasks:
and i have script for restart pm2 process
Sometimes in pm2 logs i get errors
Help me please! How can i fix this trouble?
The text was updated successfully, but these errors were encountered: