pod start, stop and restart hang
See original GitHub issueHi there,
when using pod start, stop and restart it hangs and never exits, doesn’t print anything to the console either. Starting does seem to work sometimes though when Ctrl+c’ing and hitting pod list
. I tried to set the env var DEBUG=api
to get at least some messages what’s happening, but that didn’t really work. Is there any way to get more verbosity so I can see where things go wrong? For now I assume it has to do with Satan since pod list
works just fine.
npm i
installed 0.12.16 of pm2, is that version known to work?
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:5
Top Results From Across the Web
Pod Lifecycle | Kubernetes
After containers in a Pod exit, the kubelet restarts them with an exponential back-off delay (10s, 20s, 40s, …), that is capped at...
Read more >Kubectl Restart Pod: 4 Ways to Restart Your Pods - Komodor
kubectl is a Kubernetes command-line tool. In some cases you'll need to force restart of a Kubernetes pod - discover 4 ways to...
Read more >Using Kubectl to Restart a Kubernetes Pod - ContainIQ
When something goes wrong with one of your pods, you need to quickly restart the running pod. This tutorial shows you how to...
Read more >A Pod Restarts. So, What's Going on? | by Raju Dawadi
Rest of the pods have not been restarted. What not to be confused is, the restart doesn't means re-creation of pod. Restart and...
Read more >How to Restart Kubernetes Pods With Kubectl - Spacelift
This method is the recommended first port of call as it will not introduce downtime as pods will be functioning. A rollout restart...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@tom2strobl Don’t know if this will help you but the following steps allowed me to work around this:
pkill -9 PM2
to shut down pm2 as thepm2 kill
command also was hangingpkill node
to kill any running node processespod list
should show all apps as OFF and will kick back off pm2Now that everything is running with node 6.9.1 I’m not having any other issues with hanging.
@mattdeckard yeah something along that lines also worked for us, although hacky and not really a solution. Good to hear I’m not the only one!