Skip to contentSkip to conversation

Killing processes in D state

REPOST Roy Sigurd Karlsbakk 4 participants 4 messages Jun 2, 2003 – Jun 8, 2003

lore
Share & tools
lore
#0 lore raw

hi all

this discussion has been up a few times, but I want it again. I _REALLY_ want to be able to kill processes in D state. I am aware of that this is not good, but compared to other parts of the linux kernel, there's quite a lot suicidal stuff there already, so why not. There is, for instance, in 2.5, the possibility to forcably remove loaded modules - FAR worse than merely killing a userspace process in D state.

So please, dear kernel people, Free Thy Users From Those Terrible Unreasonable Reboots.

regards

roy

Signature · 6 lines
Roy Sigurd Karlsbakk, Datavaktmester
ProntoTV AS - http://www.pronto.tv/
Tel: +47 9801 3356

Computers are like air conditioners.
They stop working when you open Windows.
#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 11 lines · Roy Sigurd Karlsbakk

hi all

this discussion has been up a few times, but I want it again. I _REALLY_ want to be able to kill processes in D state. I am aware of that this is not good, but compared to other parts of the linux kernel, there's quite a lot suicidal stuff there already, so why not. There is, for instance, in 2.5, the possibility to forcably remove loaded modules - FAR worse than merely killing a userspace process in D state.

So please, dear kernel people, Free Thy Users From Those Terrible Unreasonable Reboots.

I would _completely_ agree with this.

(One [REPOST] in subject is enough)

Quoted 4 lines

regards

roy

- --
Regards Michael Büsch
http://www.8ung.at/tuxsoft
16:22:33 up 25 min, 1 user, load average: 1.00, 0.99, 0.81

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+214uoxoigfggmSgRAh8CAJkBCUPe7f2SuFPYY6TJ9Srruph+KQCfa79+ Mesp3FTAyVntTDZkfk1yMSc=
=2FjM
-----END PGP SIGNATURE-----

#2 lore raw
In reply to Roy Sigurd Karlsbakk
Quoted 9 lines · Roy Sigurd Karlsbakk

this discussion has been up a few times, but I want it again. I _REALLY_ want to be able to kill processes in D state. I am aware of that this is not good, but compared to other parts of the linux kernel, there's quite a lot suicidal stuff there already, so why not. There is, for instance, in 2.5, the possibility to forcably remove loaded modules - FAR worse than merely killing a userspace process in D state.

So please, dear kernel people, Free Thy Users From Those Terrible Unreasonable Reboots.

Do you understand why processes in D state are unkillable? What do you think you would gain by killing them, since the memory couldn't be safely reused? Just not seeing the process in ps?

I can see wanting to avoid having processes in D state, but once you get such a thing I don't see why the kernel should have a lot of code added to hide a problem. A reboot *is* a way to kill a process in D state.

In general most of the process should page out, so you only lose some swap space. I don't get processes in this state, so I can't really check the RSS and verify that.

Tell the developers how you get the processes in that state and ask for that to be prevented, and you will find a lot more support.

Signature · 3 lines
bill davidsen <[email protected]>
  CTO, TMR Associates, Inc
Doing interesting things with little computers since 1979.
#3 lore raw
In reply to Roy Sigurd Karlsbakk

Hi!

Quoted 1 line

this discussion has been up a few times, but I want it again. I _REALLY_ want

So you need to implement it. I do not
see why you should bother mailing list
*3 times* with it...

Signature · 2 lines
				Pavel
Written on sharp zaurus, because my Velo1 broke. If you have Velo you don't need...