Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Oct 2002 14:07:28 -0600
From:      Eric Anderson <anderson@centtech.com>
To:        freebsd-questions@freebsd.org
Subject:   No buffer space available
Message-ID:  <3DBEEA80.8070709@centtech.com>

next in thread | raw e-mail | index | archive | help
I'm running a heavily loaded NFS server, and I am now seeing 
(occasionally) things like:
yp_next: clnt_call: RPC: Unable to send; errno = No buffer space available
yp_next: clnt_call: RPC: Unable to send; errno = No buffer space available
yp_next: clnt_call: RPC: Unable to send; errno = No buffer space available

My NIS client software is complaining "No buffer space" available.

Here is output from netstat -m:
178/38224/131072 mbufs in use (current/peak/max):
         174 mbufs allocated to data
         4 mbufs allocated to packet headers
131/32768/32768 mbuf clusters in use (current/peak/max)
75092 Kbytes allocated to network (33% of mb_map in use)
581 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines

Notice the "memory denied" numbers..

/etc/sysctl.conf:
vfs.nfs.gatherdelay=0
vfs.nfs.async=1
vfs.vmiodirenable=1
kern.ipc.maxsockbuf=2097152
kern.ipc.somaxconn=8192
kern.ipc.maxsockets=16424
kern.maxfiles=65536
kern.maxfilesperproc=32768
net.inet.tcp.rfc1323=1
net.inet.tcp.delayed_ack=0
net.inet.tcp.sendspace=65535
net.inet.tcp.recvspace=65535
net.inet.udp.recvspace=65535
net.inet.udp.maxdgram=57344
net.local.stream.recvspace=65535
net.local.stream.sendspace=65535
net.inet.ip.forwarding=1

Anything else I'm missing?

How can I fix this?




-- 
------------------------------------------------------------------
Eric Anderson	   Systems Administrator      Centaur Technology
Beware the fury of a patient man.
------------------------------------------------------------------


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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