Re: [patch 2.4.19] reboot on out-of-file handles

From: Dr. David Alan Gilbert (gilbertd@treblig.org)
Date: Sat Aug 31 2002 - 17:51:35 EST


* Alan Cox (alan@lxorguk.ukuu.org.uk) wrote:
> On Sat, 2002-08-31 at 21:16, Dr. David Alan Gilbert wrote:
> > Hi,
> > Please find below a patch that adds the ability to panic if you run
> > out of file handles (by setting /proc/sys/fs/file-max-panic to none-0).
>
> You can already do this reliably in user space as part of your watchdog
> daemon processing.

Ah - good idea.
The only thing that doesn't do (which my patch doesn't do much of), is
log the state of the system at failure - I'd really like to know what
ate all the filehandles.

Dave
 ---------------- Have a happy GNU millennium! ----------------------
/ Dr. David Alan Gilbert | Running GNU/Linux on Alpha,68K| Happy \
\ gro.gilbert @ treblig.org | MIPS,x86,ARM, SPARC and HP-PA | In Hex /
 \ _________________________|_____ http://www.treblig.org |_______/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Aug 31 2002 - 22:00:34 EST