Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Oct 1997 18:23:39 -0500 (CDT)
From:      "Matthew D. Fuller" <fullermd@futuresouth.com>
To:        Jason Lixfeld <jlixfeld@idirect.com>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Increasing max open files per process @ system level
Message-ID:  <Pine.BSF.3.96.971005182134.5384H-100000@shell.futuresouth.com>
In-Reply-To: <Pine.BSI.3.94.971005185859.21060F-100000@thor.idirect.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 5 Oct 1997, Jason Lixfeld wrote:

> I'm configuring Sendmail 8.8.8 on FreeBSD 2.2.2, and I'm setting
> ConnectionCacheSize=4.  To do this, I must increase the number of open
> files per process at the system level.  How do I do this?!  I assume this
> is a kernel compilation option.. if so, what is it.. if not, how do I set
> the aforementioned?
> 
> TiA!

Perhaps this (polled from my /usr/src/sys/i386/conf/LINT) file?
# 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



Maybe increasing CHILD_MAX would do the trick?

Oh well.  That's my $0.02.

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
|  FreeBSD; the way computers were meant to be    |
*    FreeBSD: turning PCs into workstations       *
| Windows: turning workstations into typewriters  |
* fullermd@futuresouth.com   :-}  MAtthew Fuller  *
|   http://keystone.westminster.edu/~fullermd     |
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.971005182134.5384H-100000>