Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Mar 2000 22:53:52 -0600
From:      Dan Nelson <dnelson@emsphone.com>
To:        Arisandy Arief <sandy@divre5.telkom.co.id>
Cc:        Freebsd List <freebsd-questions@FreeBSD.ORG>
Subject:   Re: raise max process and file descriptor??
Message-ID:  <20000319225352.A7755@dan.emsphone.com>
In-Reply-To: <008601bf9226$f26a2b80$220c600a@divre5.net>; from "Arisandy Arief" on Mon Mar 20 11:44:16 GMT 2000
References:  <008601bf9226$f26a2b80$220c600a@divre5.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000319225352.A7755>