Increasing the number of file descriptors

Henry Spencer henry at utzoo.UUCP
Tue Mar 17 15:01:36 AEST 1987


> ... If we recompile the kernel with
> NOFILE set to say 40, how would we be affecting the rest of the system? 

Unless SVR2.2 has added something interesting, which I doubt but can't
quickly check on, the kernel won't be hurt.  An awful lot of programs
want to close all file descriptors and have the number "20" wired in,
either as a named constant from param.h or simply a literal number.  If
all the code you write that actually uses those extra descriptors is
careful to always close them before doing an exec(), shouldn't be much
of a problem.
-- 
"We must choose: the stars or	Henry Spencer @ U of Toronto Zoology
the dust.  Which shall it be?"	{allegra,ihnp4,decvax,pyramid}!utzoo!henry



More information about the Comp.unix.wizards mailing list