Re: Can only login via ssh 1013 times.

Andreas Ferber (aferber@techfak.uni-bielefeld.de)
Fri, 12 Oct 2001 01:59:08 +0200


Hi,

On Thu, Oct 11, 2001 at 02:46:51PM -0700, Dan Hollis wrote:
>
> Maybe kernel could printk a warning when file-max (or other) limit is
> reached...?

It is already done:

,----[ fs/file_table.c ]-
| [...]
| } else if (files_stat.max_files > old_max) {
| printk(KERN_INFO "VFS: file-max limit %d reached\n", files_stat.max_files);
| old_max = files_stat.max_files;
| }
| [...]
`----

Andreas

-- 
       Andreas Ferber - dev/consulting GmbH - Bielefeld, FRG
     ---------------------------------------------------------
         +49 521 1365800 - af@devcon.net - www.devcon.net
-
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/