MAX FILES PER PROCESS PROBLEM
dbj.rice%rand-relay at sri-unix.UUCP
dbj.rice%rand-relay at sri-unix.UUCP
Sun Nov 20 13:35:49 AEST 1983
From: Dave Johnson <dbj.rice at rand-relay>
Under 4.1bsd, you can not make NOFILE greater than 31 thanks to the vread
and vwrite system calls. In the page table entry for a vread page, there
is a 5-bit wide field called pg_fileno which is set to the file descriptor
number that the page is mapped from. That is the meaning of the comment:
#define NOFILE 20 /* max open files per process */
/* NOFILE MUST NOT BE >= 31; SEE pte.h */
from param.h where NOFILE is defined.
Dave Johnson
Dept. of Math Science
Rice University
dbj.rice at CSNet-Relay
More information about the Comp.unix.wizards
mailing list