From owner-freebsd-hackers Sun Oct 5 16:23:52 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA15853 for hackers-outgoing; Sun, 5 Oct 1997 16:23:52 -0700 (PDT) (envelope-from owner-freebsd-hackers) Received: from shell.futuresouth.com (shell.futuresouth.com [207.141.254.20]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA15848 for ; Sun, 5 Oct 1997 16:23:44 -0700 (PDT) (envelope-from fullermd@futuresouth.com) Received: from shell.futuresouth.com (mail.futuresouth.com [207.141.254.21]) by shell.futuresouth.com (8.8.5/8.8.5) with SMTP id SAA07746; Sun, 5 Oct 1997 18:23:40 -0500 (CDT) Date: Sun, 5 Oct 1997 18:23:39 -0500 (CDT) From: "Matthew D. Fuller" To: Jason Lixfeld cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Increasing max open files per process @ system level In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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 | *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*