From owner-freebsd-questions Sun Mar 19 20:54:51 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 1CD7D37B80F for ; Sun, 19 Mar 2000 20:54:49 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.3/8.9.3) id WAA09795; Sun, 19 Mar 2000 22:53:52 -0600 (CST) (envelope-from dan) Date: Sun, 19 Mar 2000 22:53:52 -0600 From: Dan Nelson To: Arisandy Arief Cc: Freebsd List Subject: Re: raise max process and file descriptor?? Message-ID: <20000319225352.A7755@dan.emsphone.com> References: <008601bf9226$f26a2b80$220c600a@divre5.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.1.5i In-Reply-To: <008601bf9226$f26a2b80$220c600a@divre5.net>; from "Arisandy Arief" on Mon Mar 20 11:44:16 GMT 2000 X-OS: FreeBSD 5.0-CURRENT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (Mar 20), Arisandy Arief said: > hi.... > I try to move our qmail server running on RH 6.1 to FreeBSD 4.0 > how can I raise default max process and file descriptor for handle many > concurrent connection in FreeBSD??? > our configuration in RH was: > ... > max user processes 2048 > open files 1024 > ... Rebuild your kernel with "maxusers 200" or so. Maxusers is a "master knob" that sets, among other things, the following: #define NPROC (20 + 16 * MAXUSERS) #define MAXFILES (NPROC*2) -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message