From owner-freebsd-hackers Tue Feb 20 19:47:51 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from peach.ocn.ne.jp (peach.ocn.ne.jp [210.145.254.87]) by hub.freebsd.org (Postfix) with ESMTP id 2E05237B401 for ; Tue, 20 Feb 2001 19:47:48 -0800 (PST) (envelope-from dcs@newsguy.com) Received: from newsguy.com (p06-dn02kiryunisiki.gunma.ocn.ne.jp [211.0.245.71]) by peach.ocn.ne.jp (8.9.1a/OCN/) with ESMTP id MAA16663; Wed, 21 Feb 2001 12:47:36 +0900 (JST) Message-ID: <3A9339B1.CB2E24F3@newsguy.com> Date: Wed, 21 Feb 2001 12:44:49 +0900 From: "Daniel C. Sobral" X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en,pt-BR MIME-Version: 1.0 To: scanner@jurai.net Cc: Len Conrad , freebsd-hackers@FreeBSD.ORG Subject: Re: Fwd: Re: Re: postfix: No buffer space available References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG scanner@jurai.net wrote: > > On Tue, 20 Feb 2001, Len Conrad wrote: > > > >kern.ipc.maxsockets = 5000 > > >kern.ipc.maxsockbuf = 524288 > > > > > >But neither parameter takes effect. > > If the sysctl's are read only that you want to change slap them in > your /boot/loader.rc > > \ Increase MBUF's for purpose of testing Postfix under alot of connections. > set kern.ipc.nmbclusters=65536 > > That is what I have on mine to increase mbuf's. But I beat Postfix to > death with benchmarks and testing it for the book. heh > Also you can set the above to read only variables in /boot/loader.rc as > well. Then they take effect after reboot. Maxfiles is what i usually hit > first, then ipc.sockets. Mbuf's havent been a real problem :) Let me take this opportunity to mention that the recommended way of doing this is placing the following line in /boot/loader.conf: kern.ipc.nmbclusters="65536" instead of editing /boot/loader.rc directly. -- Daniel C. Sobral (8-DCS) dcs@newsguy.com dcs@freebsd.org capo@the.fashionable.bsdconspiracy.net "Too bad sentience isn't a marketable commodity." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message