So as in image the process running in R state. Not able to kill them with kill -9. Also strace isn't showing any output. What can be the reason for this and is there any option other than restarting server to stop this process?

krd@ubuntu: sudo kill -9 31916

krd@ubuntu: sudo kill -9 31916

krd@ubuntu: ps axw | grep tick

31915  ?  R  0.03  src/code/multicastreader/tick-reader-1
31916  ?  R  0.02  src/code/multicastreader/tick-reader-2

krd@ubuntu: sudo strace -f -p 31916

process 31916 attached

  • If kill -9 isn't working on a process in state R, and you have permission to kill that process, that's a kernel bug or hardware bug. Depending on the specific bug there may or may not be a workaround, but identifying the precise bug is hard with access to the machine, and impossible with the information we have. – Gilles 'SO- stop being evil' Sep 27 '19 at 22:08
  • Could you please post the relevant text as text? :) Also which process are you trying to kill? At least in this screenshot you were killing the running strace. Are you trying to kill 31915? Or are you referring to the zombie, 34239? – rudib Sep 27 '19 at 22:13
  • @Gilles Okay so sir in the previously asked question that you have mentioned has specifically mentioned in it that the state of the process is D (uninterrupted sleep) but here it is in running or runnable state still wasn't able to stop it so it had raised the que. And thanks for the reply. – Disha Shetty Sep 28 '19 at 4:50
  • @rudib : here I am trying to kill process with R state i.e 31915, 31916, 31917, 31918 – Disha Shetty Sep 28 '19 at 4:53
  • Could you add the output of pstree -p 31915 -s -h? Also do you know what kind of program that is and how it is started? There may be the possibilty that it is respwaning immediately after beging killed. (that would not explain the empty strace though...) – rudib Sep 28 '19 at 8:55

Browse other questions tagged or ask your own question.