1

In linux, processes went "D" caused of HDD problem (some kernel calls were mixed?). How I can interrupt D processes without going on/off my HDD? These processes were trash.so / dolphin mainly (most of times). I turned my HDD off and then processes continued from "D" state. It is not server, it is home computer.

I have this problem in KDE many times now.

Any other idea except manipulating hardware external to:

  • Interrupt Trash process
  • Throught terminal to mount on/off HDD on the fly
  • To umount trash?
  • To sent fake signals to Trash?
  • To rewrite linux?
  • Other ideas?

I have not a working example...

  • "D State" = “uninterruptible non-scheduled” state - the process cannot be interrupted
  • Unmount trash - I think in linux many things are mounted... how u get rid of trash temporarily as a whole? eg. unmount trash? (So maybe i can this way to interrupt uninterrupted processes).
8
  • 1
    what does "umount trash" mean? What is "sent signals to Trash"? I thought trash was something you can mount? What is a "fake signal" ? I'm also not sure what a "D process" is – could you explain? Jul 27, 2022 at 15:53
  • 2
    I guess by "D" process the OP means a process whose state is indicated as "D" (uninterruptible sleep) by tools like top or ps. This state usually indicates a process that is "hanging" on access to device, due to hardware failure. I also wondered many times how to terminate such a process.
    – raj
    Jul 27, 2022 at 15:57
  • 1
    @MarcusMüller, the OP mean defunct process unix.stackexchange.com/questions/711485/… Jul 27, 2022 at 15:59
  • 1
    @RomeoNinov oh! Then we should really remove the sleep tag, nothing about this is sleep! Jul 27, 2022 at 16:02
  • 1
    @EliasEstatistics you're really using the word "mount" incorrectly. This has nothing to do with mounts, which is a Linux term pertaining to folder structures and block devices, not to processes. Please try to find a different description of what you want to do. Jul 27, 2022 at 16:05

0

You must log in to answer this question.

Browse other questions tagged .