ITEM: AC8058L
Question on v_file in /usr/include/sys/var.h
Question:
Env: AIX 3.2.5, Model 530
Desc: Customer would like to know about the v_file entry in the
/usr/include/sys/var.h file. He has looked at the value
for this entry using "pstat -T" and the value seems small.
Action: v_file is the current number of entires in the system wide
open file table (for all processes). The value of v_file
will change depending on the number of files that are
currently open. This number appears to be a multiple of
128. The open file table will be as small as possible and
will grow dynamically when more file descriptors are needed.
The maximum size of the open file table and, consequently,
the maximum number of files that can be opened, is 200,000.
This a nonconfigurable limit.
The customer then asked about the number of files that
can be opened by a single process. This value, OPEN_MAX,
is defined in /usr/include/sys/limits.h. OPEN_MAX is the
maximum number of files that one process can have open at
one time and is hardcoded to a value of 2,000.
Support Line: Question on v_file in /usr/include/sys/var.h ITEM: AC8058L
Dated: October 1994 Category: N/A
This HTML file was generated 99/06/24~13:30:30
Comments or suggestions?
Contact us