Re: Please stop apps going into state D uninterrupted sleep !!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Joe Zeff writes:

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

It's not up to the app to decide that.

If you configure a hard NFS or a CIFS mount, you are explicitly telling the kernel to put the app into uninterruptible sleep if the mount breaks, until such time that the mount comes back. If you don't want that, don't use hard mounts. It's a very easy problem to solve. But woe be you, if you have any app, any app that merrily gibbers into a log file, without checking if write() succeeds. If the soft mount goes down, the app will merrily log its complaints into the bit bucket, even though it would've been preferrable for the app to crash and die a very, very slow death, if its mount goes down.

And, yes, there are environments where hard mounts, and this behavior, is explicitly required.

If the kernel puts the app into uninterruptible sleep, the app can do jackspit about it.

Attachment: pgpn4efR89Xmn.pgp
Description: PGP signature

users mailing list
To unsubscribe or change subscription options:
Have a question? Ask away:

Photo 4 Less

[Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Find Someone Special]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

Add to Google Powered by Linux