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 [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to