Date: Sat, 15 Feb 1997 13:32:18 +0000 (GMT) From: Rob Hartill <robh@imdb.com> To: freebsd-questions@freebsd.org Subject: OPEN_MAX ambiguity Message-ID: <Pine.NEB.3.95.970215132557.326C-100000@localhost.imdb.com>
next in thread | raw e-mail | index | archive | help
Hi,
LINT says:
# Under some circumstances it is convenient to increase the defaults
# for the maximum number of processes per user and the maximum number
# of open files files per user. E.g., (1) in a large news server, user
^^^^^^^^
# `news' may need more than 100 concurrent processes. (2) a user may
# need lots of windows under X. In both cases, it may be inconvenient
# to start all the processes from a parent whose soft rlimit on the
# number of processes is large enough. The following options work by
# changing the soft rlimits for init.
#
options CHILD_MAX=128
options OPEN_MAX=128
-=-=-=-=
sys/syslimits.h says:
#ifndef OPEN_MAX
#define OPEN_MAX 64 /* max open files per process */
^^^^^^^^^^^
#endif
-=-=-=-=-=
It'd be useful to clear up this contradiction.
BTW, which is right ?
_______________________________________________________________________
Rob Hartill. Internet Movie Database Ltd. http://www.imdb.com/
CGI ? how quaint.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.95.970215132557.326C-100000>
