From owner-freebsd-questions Mon Jul 31 8:10:23 2000 Delivered-To: freebsd-questions@freebsd.org Received: from phoenix.ea4els.ampr.org (28-MADR-X117.libre.retevision.es [62.82.63.28]) by hub.freebsd.org (Postfix) with ESMTP id 9C6F637B620 for ; Mon, 31 Jul 2000 08:10:19 -0700 (PDT) (envelope-from sjmudd@pobox.com) Received: from localhost (localhost [127.0.0.1]) by phoenix.ea4els.ampr.org (Postfix) with ESMTP id 5DA9B8387; Mon, 31 Jul 2000 07:13:03 +0200 (CEST) Date: Mon, 31 Jul 2000 07:13:03 +0200 (CEST) From: Simon J Mudd To: Alfred Perlstein Cc: freebsd-questions@FreeBSD.ORG Subject: Re: how to avoid: socket: No buffer space available? In-Reply-To: <20000730133852.R21967@fw.wintelcom.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 30 Jul 2000, Alfred Perlstein wrote: > > [sjmudd@unicorn smtpstone]$ ./smtp-sink: warning: lost connection > > > > When I do this test on linux I don't get this error, nor do I get it if I > > reduce the number of messages on FreeBSD. How do I adjust the buffer > > space to avoid this problem and is there a reason that linux behaves > > differently to FreeBSD? (I'm curious.) > > You need to raise maxusers and possibly NMBCLUSTERS, you can increase > nmbclusters via the loader without having to recompile the kernel. maxusers is set to (the default) of 32. I'm checking what value is used for nmbclusters. > See: man 8 loader Thanks I'll have a look. > > You may also want to turn on softupdates as it will help with > creating the spool files and queues. Yes, I've already enabled softupdates. > > -- Simon J Mudd, Madrid SPAIN Tel: +34-91-408 4878 email: sjmudd@pobox.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message