On 05/08/2012 12:39 PM, Patrick O'Callaghan wrote:
On Tue, 2012-05-08 at 19:42 +0100, Andrew Gray wrote:
> Hi
>
> Either give use a way to kill a hung cp or rsync when the VPN goes down
> and they end up is state D uninterrupted sleep or stop apps being able
> to go into uninterrupted sleep !!
It is*not possible* to kill a process in D state. D state can be
defined as "the state which cannot be interrupted".
I think it's fairly clear that Mr. O'Callaghan knows that. He's
complaining about the consequences of there being an uninterruptable
sleep. If I read him right, he's saying that it should always be
possible for the user to force a hung app to die when it's clear to the
user that something has happened that makes it impossible for the app to
continue, such as rsync completing when the remote server's known to
have crashed. At this point, probably the best way to proceed is to
request that whoever maintains the programs in question modify them so
that they don't enter this state when accessing a remote file system or
that there's some way to get the app's attention and force it to abort.
On the surface, at least, the request sounds reasonable, although I'll
be the first to admit that things like this are often much more
difficult than they sound.
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org