Re: Can only login via ssh 1013 times.

Andreas Ferber
2001-10-11T23:59:07Z

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