[14194] in Athena Bugs
Re: Don't know whether this is due to new weird stuff or old weird stuff
daemon@ATHENA.MIT.EDU (marthag@MIT.EDU)
Sat Feb 17 23:23:39 1996
From: marthag@MIT.EDU
Date: Sat, 17 Feb 96 23:23:36 -0500
To: Jonathon Weiss <jweiss@MIT.EDU>
Cc: dryfoo@MIT.EDU, testers@MIT.EDU, bugs@MIT.EDU
In-Reply-To: "[14192] in Athena Bugs"
> >>
> >> When I logged in today, (or tried to) I got this line repeatedly:
> >>
> >> File table overflow
>
> I believe this means that thelonious has run out of a system resource,
> specifically, I believe it has reached the maximum number of files
> that may be open simultaneously (by all running programs.)
>
> >> (Is this just my ftp server be doing this? Is there something not
> >> getting cleaned up there? Could it be anything else?)
>
> I suspect that the ftp server is at least partially responsible
>
> >> Any idears appreciated.
>
> It's possible you could tweak or rebuild your kernel to increase that
> resource, but I'm not sure how to do that.
>
> Jonathon
/usr/etc/kvar on decs will change the value of any kernel variable.
The variable that increase the number of open file a single user can
have is "max_nofile". To read the current value that it is set to, as
root, run:
kvar -k -s max_nofile -rl vmunix
(I believe the default is 0x40)
To set it to a higher value, like 0x100, run
kvar -k -s max_nofile -v 0x100 -wl vmunix
to change the value in the in-memory kernel, and
kvar -k -s max_nofile -v 0x100 /vmunix".
to change the on-disk kernel. man kvar for more details.
Martha Greenberg
marthag@mit.edu