SUMMARY: open files limit

From: Ellen Davis <daviser_at_email.uc.edu>
Date: Tue, 24 Mar 1998 16:38:24 -0500

Thanks to:

Vlad Moseanu <vlad_at_iso.dec.com>
Girish Phadke <PGIRISH_at_binariang.maxisnet.com.my>

Since I only received two replies, I'll include them here instead of
summarizing.

Vlad Moseanu wrote:
sysconfig -q proc | grep open-max

The default and maximum for 4.0B is 4096 (with 4.0D the maximum goes to
64K), so probably nothing to change there. Use "dxkerneltuner" or
"sysconfigdb" to change parameters(see the /etc/sysconfigtab).

Read the http://www.digital.com/internet/document/ias/tuning.html for
patches and parameters tuning suggestions. The Netscape's Enterprise
server is mentioned there.

Girish Phadke wrote:
No. of files which can be open by one process at a time can be seen by
command.
getconf OPEN_MAX

Total no. of file can be open on a system is users x OPEN_MAX
But really do not change above attribute change instead set the value in
sysconfigtab as
proc:
maxusers=1024 ....
max-proc-per-user=1024
max-threads-per-user=1024

If you want all the files at time by process should be memory mapped i.e
you have good enough memory
vm:
vm-mapentries = 1024 or more
this will ensure that upto 1024 files opened by give process can be mapped
at a time in memory.


 Ellen Davis
 Ellen.Davis_at_uc.edu
Received on Tue Mar 24 1998 - 22:38:05 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:37 NZDT