From owner-freebsd-hackers Wed Nov 8 13:22:38 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from silby.com (cb34181-c.mdsn1.wi.home.com [24.183.3.139]) by hub.freebsd.org (Postfix) with ESMTP id 4F6C837B479 for ; Wed, 8 Nov 2000 13:22:35 -0800 (PST) Received: (qmail 45888 invoked by uid 1000); 8 Nov 2000 21:22:34 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 8 Nov 2000 21:22:34 -0000 Date: Wed, 8 Nov 2000 15:22:34 -0600 (CST) From: Mike Silbersack To: Len Conrad Cc: freebsd-hackers@freebsd.org Subject: Re: post-install of kernal sources, maxusers max? In-Reply-To: <5.0.0.25.0.20001108211845.04d2d0a0@mail.Go2France.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 8 Nov 2000, Len Conrad wrote: > All I need to change, I think, is maxusers since we're getting this > error from postfix: > > Nov 8 04:59:41 postfix/qmgr[16383]: fatal: socket: No buffer space available > Nov 8 04:59:41 postfix/smtp[16872]: fatal: socket: No buffer space available > Nov 8 05:00:58 postfix/qmgr[16876]: fatal: socket: No buffer space available > > The machine can get up 200 SMTP processes and 50 SMTPD processes > simulatenously, 256 meg RAM. > > Increasing maxusers will fix this pb? afaic, maxusers can't be fixed > with sysctl. I think you can up the mbuf related settings while the system is running. Give it a try. The two sysctls you'll want to fiddle with are: kern.ipc.nmbclusters kern.ipc.nmbufs You can determine which is needed more through a quick netstat -m. Mike "Silby" Silbersack To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message