question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

pod start, stop and restart hang

See original GitHub issue

Hi 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:closed
  • Created 7 years ago
  • Reactions:2
  • Comments:5

github_iconTop GitHub Comments

2reactions
cassdeckardcommented, Dec 1, 2016

@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 the pm2 kill command also was hanging
  • pkill node to kill any running node processes
  • Install node version 6.9.1 (was previously running 7.2.0)
  • pod list should show all apps as OFF and will kick back off pm2

Now that everything is running with node 6.9.1 I’m not having any other issues with hanging.

1reaction
tom2stroblcommented, Dec 5, 2016

@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!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found