lkml.org 
[lkml]   [2002]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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 13:22    [W:0.070 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site