[ale] Wow! Check out these load averages!

Robert L. Harris Robert.L.Harris at rdlg.net
Tue Mar 11 13:50:46 EST 2003



Something I've found if you "HAVE" to unmount a NFS mount that's hung,
"umount -l /path/to/dir".  The stuck proc still needs to be killed
however I've had better luck killing them after that.  In addition, the
filesysstem is then unmounted and you can reboot if you have to.


Thus spake Dylan Northrup (docx at io.com):

> A long time ago, (11.03.03), in a galaxy far, far away, Michael D. Hirsch wrote:
> 
> :=On Tuesday 11 March 2003 09:26 am, Jonathan Glass wrote:
> :=> Turns out someone had shutdown a machine that this box attaches to via
> :=> NFS, so the box was hanging waiting for the NFS connection.  It wouldn't
> :=> reboot for the same reason.
> :=
> :=A trick I've learned is to either mount the NFS drives with the "soft" 
> :=option, or with "hard,intr".  In either case, this should allows 
> :=operations to fail and exit when the server goes down.
> :=
> :=For some reason, the docs say that the latter is recommended.  I had always 
> :=used the former with no bad effects.  Check the docs for the "intr" option 
> :=as I'm not sure I spelled it right.
> 
> If you're running something where data integrity is crucial (database,
> e-mail, mp3 servers :-) and you don't want to worry about whether your
> applications deal gracefully when writes don't return what they're supposed
> to, doing a hard mount is better.  With a soft mount, the I/O can fall on
> the floor and lead to data corruption if your application doesn't know how
> to deal with it.  Using the 'intr' option does allow you or your application
> to respond to interrupts to kill a process that's hung while waiting for
> response from an unresponsive NFS hard mount.  If you specify 'hard' without
> specifying 'intr' you can get into the situation where your load skyrockets
> because of unresponsive programs stuck in I/O wait.
> 
> Hope this helps.
> 
> -- 
> Dylan Northrup <*> docx at io.com <*> http://www.io.com/~docx/
> "Harder to work, harder to strive, hard to be glad to be alive, but it's 
>  really worth it if you give it a try." -- Cowboy Mouth, 'Easy'
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale

:wq!
---------------------------------------------------------------------------
Robert L. Harris                     | PGP Key ID: E344DA3B
                                         @ x-hkp://pgp.mit.edu 
DISCLAIMER:
      These are MY OPINIONS ALONE.  I speak for no-one else.

Diagnosis: witzelsucht  	

IPv6 = robert at ipv6.rdlg.net	http://ipv6.rdlg.net
IPv4 = robert at mail.rdlg.net	http://www.rdlg.net

 PGP signature




More information about the Ale mailing list