0

I have a NetworkManager process (in status R) consuming 85% CPU, and am not certain why but it happens sometimes after I hot unplug an external wifi adapter.

Trying to kill it by sudo kill 1068, sudo service NetworkManager restart/stop or sudo systemctl restart/stop NetworkManager will result in hanging forever.

Also it seems any sudo command hangs forever.

Is there a way to kill the process?

  • Did you try kill -9? – Wildcard Oct 12 '19 at 18:03
  • Yes, with sudo – Tim Oct 12 '19 at 18:04
  • kill -9 or pkill has always worked for me when a process has a stubborn refusal to expire. If that's not working for you and it's hanging then I don't know what to say. – Nasir Riley Oct 12 '19 at 18:38
  • I am not saying this is definitely your case, but, when a process refuses to die with kill or kill -9, it means it is waiting for an event, mostly hardware related. By hot unplugging the wifi adapter, probably you are preventing this event from taking place. It might be waiting for a signal from the adapter, before it can clear out all necessary values, to prevent a future conflict, which never comes. Hence the hung process. Your wifi adapter/driver may not be as hot-pluggable as you may think. Just a suggestion. – MelBurslan Oct 12 '19 at 19:19
  • sudo kill -KILL 1068 would be an alternative, complete command. Is it not a sudo problem? As Nasir says 9=SIGKILL always works (on a running process). – rastafile Oct 12 '19 at 19:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.