Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Oct 2001 00:07:39 +0200
From:      fbdn@dcee.net
To:        freebsd-net@FreeBSD.org
Subject:   No buffer space available
Message-ID:  <200110052207.AAA06879@orb.bluemoon.ee>

next in thread | raw e-mail | index | archive | help
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




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