Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!henry From: henry@utzoo.UUCP (Henry Spencer) Newsgroups: comp.unix.wizards Subject: Re: Increasing the number of file descriptors Message-ID: <7787@utzoo.UUCP> Date: Tue, 17-Mar-87 00:01:36 EST Article-I.D.: utzoo.7787 Posted: Tue Mar 17 00:01:36 1987 Date-Received: Tue, 17-Mar-87 00:01:36 EST References: <138@tijc02.UUCP> Organization: U of Toronto Zoology Lines: 13 > ... 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