From owner-freebsd-net Fri Oct 5 15:21:24 2001 Delivered-To: freebsd-net@freebsd.org Received: from silby.com (cb34181-a.mdsn1.wi.home.com [24.14.173.39]) by hub.freebsd.org (Postfix) with ESMTP id B094B37B406 for ; Fri, 5 Oct 2001 15:21:21 -0700 (PDT) Received: (qmail 7417 invoked by uid 1000); 5 Oct 2001 22:21:19 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 5 Oct 2001 22:21:19 -0000 Date: Fri, 5 Oct 2001 17:21:19 -0500 (CDT) From: Mike Silbersack To: Cc: Subject: Re: No buffer space available In-Reply-To: <200110052207.AAA06879@orb.bluemoon.ee> Message-ID: <20011005171752.E7371-100000@achilles.silby.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, 6 Oct 2001 fbdn@dcee.net wrote: > I've run into problem that various prgorams (sendmail, ftpd) get often > "cannot create socket: No buffer space available" error. Box is > serving static html and images about 300 requests/sec, no shortage of > memory nor CPU resources. Kernel is compiled with: maxusers 256 > options NMBCLUSTERS=16384 > > # netstat -an | wc -l > 15207 > > My best guess is that system is running out of file descriptors. Any suggestions how to fix it? > > /fb Yep, you're probably running out of sockets. You can change the count in loader.conf, the variable to tune is "kern.ipc.maxsockets". Set it to something higher than 16384, I guess. Mike "Silby" Silbersack To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message