From owner-freebsd-hackers Wed Nov 8 17: 6:48 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.122.47]) by hub.freebsd.org (Postfix) with ESMTP id 3790A37B479 for ; Wed, 8 Nov 2000 17:06:44 -0800 (PST) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.10.1/8.10.1) with ESMTP id eA916Ov60507; Wed, 8 Nov 2000 17:06:24 -0800 (PST) Date: Wed, 8 Nov 2000 17:06:24 -0800 (PST) From: Doug White 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 You're running out of send/recvspace or your ethernet is maxed out. net.inet.tcp.sendspace: 16384 net.inet.tcp.recvspace: 16384 Try tweaking these values. You should also bump maxusers/nmbcluters/nmbufs so you're using about 20-30% nominally. Also make sure you're using full duplex links and you're not seeing excessive errors/collisions. I'd have to watch 'systat -vm' to check for some of the more remote problems ... > The machine can get up 200 SMTP processes and 50 SMTPD processes > simulatenously, 256 meg RAM. Small processes. > On the postfix list, it seems someone has heard from several FreeBSD > "experts" that FreeBSD should not be run at above maxusers = 128, > while somebody else said they were running with 256 happily. Depends on the release... I would not go above 256. Doug White | FreeBSD: The Power to Serve dwhite@resnet.uoregon.edu | www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message