Re: Insufficient allocations in net/unix/garbage.c

Myrdraal (myrdraal@jackalz.dyn.ml.org)
Wed, 3 Dec 1997 16:58:39 -0500


On Wed, Dec 03, 1997 at 03:47:35PM -0500, Floody wrote:
Hi,
> Kernels 2.0.x do not sufficiently allocate space for the internal stack
> used for garbage collection on unix domain sockets. I have neither
> examined nor tested 2.1.x kernels.
> [etc]
I just tried it on 2.1.70, when run as root, it eventually spits out the
log message:
Dec 3 16:51:35 jackalz kernel: VFS: file-max limit 1024 reached
And running programs that use filehandles after that fail like this:
bash: /bin/ls: Too many open files in system
If run as a user, then no message reaches the logs, and root can still
use filehandles (there seems to be a reserved amount), but user processes
fail. Anyhow, no panic of any kind, so I guess 2.1.x doesn't have that
problem.
-Myrdraal