From owner-freebsd-questions Sat Feb 15 05:53:34 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA25105 for questions-outgoing; Sat, 15 Feb 1997 05:53:34 -0800 (PST) Received: from nora.pcug.co.uk (Nora.PCUG.CO.UK [192.68.174.71]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id FAA25100 for ; Sat, 15 Feb 1997 05:53:29 -0800 (PST) Received: from imdb.demon.co.uk by nora.pcug.co.uk id aa05974; 15 Feb 97 13:53 GMT Date: Sat, 15 Feb 1997 13:32:18 +0000 (GMT) From: Rob Hartill To: freebsd-questions@freebsd.org Subject: OPEN_MAX ambiguity Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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.