From owner-freebsd-net Fri Oct 5 15: 9:17 2001 Delivered-To: freebsd-net@freebsd.org Received: from orb.bluemoon.ee (orb.bluemoon.ee [212.107.42.1]) by hub.freebsd.org (Postfix) with ESMTP id D93E337B403 for ; Fri, 5 Oct 2001 15:09:14 -0700 (PDT) Received: (from priit@localhost) by orb.bluemoon.ee (8.9.3/8.9.3) id AAA06879 for freebsd-net@FreeBSD.org; Sat, 6 Oct 2001 00:07:39 +0200 Date: Sat, 6 Oct 2001 00:07:39 +0200 From: fbdn@dcee.net Message-Id: <200110052207.AAA06879@orb.bluemoon.ee> X-Authentication-Warning: orb.bluemoon.ee: priit set sender to fbdn@dcee.net using -f To: freebsd-net@FreeBSD.org Subject: No buffer space available 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 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 and netstat shows following: # netstat -m 16634/25040/65536 mbufs in use (current/peak/max): 1318 mbufs allocated to data 15316 mbufs allocated to packet headers 1192/9452/16384 mbuf clusters in use (current/peak/max) 25164 Kbytes allocated to network (51% of mb_map in use) 0 requests for memory denied 0 requests for memory delayed 0 calls to protocol drain routines # netstat -an | wc -l 15207 My best guess is that system is running out of file descriptors. Any suggestions how to fix it? /fb To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message