Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Feb 2001 00:21:19 -0500
From:      "Bosko Milekic" <bmilekic@technokratis.com>
To:        "Dan Debertin" <airboss@bitstream.net>, "net@freebsd.org" <net@FreeBSD.ORG>
Subject:   Re: buffer problems with ep
Message-ID:  <002301c097d8$4b9f6000$becbca18@jehovah>
References:  <Pine.LNX.4.30.0102152211390.10566-100000@dmitri.bitstream.net>

next in thread | previous in thread | raw e-mail | index | archive | help

Dan Debertin wrote:

> I have a busy 4.1.1-RELEASE nfs server that stops responding at its
ep
> interface every hour or so. Pings to hosts on that network respond
with
> "sendto: no buffer space available". I've recompiled with MAXUSERS
up at
> 128 and NMBCLUSTERS at 32768, both of which seem plenty high. The
problem
> goes away, to return an hour later, after a quick 'ifconfig ep0
down;
> ifconfig ep0 up'.
>
> Other people seem to have run into this problem as well, but
> there is no sign of a fix in the archives anywhere.

    Can you try placing a "#define EP_LOCAL_STATS" at the _top_ of
if_epvar.h and rebuilding+reinstalling the ep driver? See if you get
anything printed to the console from the ep driver. If you get
something that begins with "Status:" then look under it for
"NOMB=<some_number>" and take note of it.

> Here's netstat -m when it's working:
>
> 194/320/131072 mbufs in use (current/peak/max):
> 179 mbufs allocated to data
> 1 mbufs allocated to packet headers
> 14 mbufs allocated to fragment reassembly queue headers
> 176/254/32768 mbuf clusters in use (current/peak/max)
> 588 Kbytes allocated to network (68% in use)
> 0 requests for memory denied
> 0 requests for memory delayed
> 0 calls to protocol drain routines
>
> and when it isn't:
> 172/320/131072 mbufs in use (current/peak/max):
> 134 mbufs allocated to data
> 38 mbufs allocated to packet headers
> 52/254/32768 mbuf clusters in use (current/peak/max)
> 588 Kbytes allocated to network (25% in use)
> 0 requests for memory denied
> 0 requests for memory delayed
> 0 calls to protocol drain routines
>
> Thanks for any help you an render,
>
> Dan Debertin
> --
> ++ Unix is the worst operating system, except for all others.
>
> ++ Dan Debertin
> ++ Senior Systems Administrator
> ++ Bitstream Underground, LLC
> ++ airboss@bitstream.net
> ++ (612)321-9290 x108
> ++ GPG Fingerprint: 0BC5 F4D6 649F D0C8 D1A7  CAE4 BEF4 0A5C 300D
2387

Regards,
Bosko.




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?002301c097d8$4b9f6000$becbca18>