Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 May 2002 22:13:58 -0700 (PDT)
From:      Archie Cobbs <archie@dellroad.org>
To:        "Karl M. Joch" <k.joch@kmjeuro.com>
Cc:        stable@FreeBSD.ORG
Subject:   Re: 4.5 and mpd "no buffer space available on high load" ??
Message-ID:  <200205170513.g4H5DwF36368@arch20m.dellroad.org>
In-Reply-To: <3CDFEA8A.4070809@kmjeuro.com> "from Karl M. Joch at May 13, 2002 06:32:10 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Karl M. Joch writes:
> ->> when box 1 sends the file via cp command to box 2 (1 mounts 2 via 
> nfs) after it is created i immedialy get "no bufferspace available" on 
> every action box 1 does. the strange thing is, when letting the same 
> file being picked up by box 2 (box2 mounting box1 via nfs and running 
> the same cp command) it works just great.

The ENOBUFS error is probably coming from the ng_pptpgre(4) netgraph
node. When the PPTP transmit pipe overflows (can easily happen with
UDP packets such as with NFS) then you get this error. It can be safely
ignored (although the packet is still dropped).

Try the patch below and see if it helps any..

-Archie

__________________________________________________________________________
Archie Cobbs     *     Packet Design     *     http://www.packetdesign.com

Index: ng_pptpgre.c
===================================================================
RCS file: /home/cvs/freebsd/src/sys/netgraph/ng_pptpgre.c,v
retrieving revision 1.2.2.9
diff -u -r1.2.2.9 ng_pptpgre.c
--- ng_pptpgre.c	2001/04/21 20:43:13	1.2.2.9
+++ ng_pptpgre.c	2002/05/17 05:13:56
@@ -483,7 +483,7 @@
 		      >= a->xmitWin) {
 			priv->stats.xmitDrops++;
 			NG_FREE_DATA(m, meta);
-			return (ENOBUFS);
+			return (0);
 		}
 
 		/* Sanity check frame length */

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




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