Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Oct 2001 17:21:19 -0500 (CDT)
From:      Mike Silbersack <silby@silby.com>
To:        <fbdn@dcee.net>
Cc:        <freebsd-net@FreeBSD.org>
Subject:   Re: No buffer space available
Message-ID:  <20011005171752.E7371-100000@achilles.silby.com>
In-Reply-To: <200110052207.AAA06879@orb.bluemoon.ee>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011005171752.E7371-100000>