lkml.org 
[lkml]   [2002]   [Aug]   [31]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSat, 31 Aug 2002 23:51:35 +0100
From"Dr. David Alan Gilbert" <>
SubjectRe: [patch 2.4.19] reboot on out-of-file handles
* 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/
\
 
 \ /
  Last update: 2005-03-22 12:22    [from the cache]
©2003-2008