Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jan 2002 07:02:10 -0300
From:      "Joao Carlos" <jcrrbr@yahoo.com>
To:        <freebsd-hackers@freebsd.org>
Subject:   No buffer space avaliable
Message-ID:  <003901c1a3f5$07c9b860$e7ccb0c8@pchome>

next in thread | raw e-mail | index | archive | help
Hi,

First of all, i sent this message to -questions but nobody answered, so I
thought i have to send  the gurus :). Please, anyone that can help read all
the message (sorry for taking so long, but i tried to specify ALL the
problem).

I´m having a curious and horrible problem.
I'm running a FreeBSD 4.4-R in a PIII 1.0Ghz 128MB RAM.
This machine acts only as a router with natd.
The problem is that when I ping a determined IP address (for example,
12.12.12.12) that is a certain machine on my network, it gives me a no
buffer space avaliable error.

ping: sendto: No buffer space available
ping: sendto: No buffer space available
ping: sendto: No buffer space available

I turned off the 12.12.12.12 machine, so i expected that the ping only
returned time-out. But the buffer problem continued.
I changed the ip address to 12.12.12.13 (for example) and the client machine
returned to
ping. Some time (minutes sometimes, hours another times) later, it started
to give the same problem, but the 12.12.12.12 ip address was not giving the
problem of buffer anymore (remember that though the machine was turned of or
with another IP address, the 12.12.12.12 continued to give the problem).
Well, then i had the 12.12.12.12 with no problems and 12.12.12.13 (the same
physical machine) with problems. I changed to many IP addresses (including
the old 12.12.12.12), and every IP address i put, i had the problem (and the
one before started to work)
I'm afraid it's not to clear, but the point is: I have many client machines,
but ONE of them seems to be "incompatible" with my router.
It (the client) has a WaveLAN NIC , running on Linux (as ALL other clients)
and my FreeBSD router is using a 3COM-905C (xl driver) NIC. I've thought
that the WaveLAN card could be bad, but changed the adapter and the PCMCIA
card and the problems continued.
So i did another test. From another FreeBSD machine (in the same physical
and logical network of the router)  i 'pinged' the client, and it works. I
think there is a ghost in the router NIC that doesn't like this particular
client!!!
I cannot think in anything that can cause this. MANY other clients are in
the same physical network, pinging to the same NIC and have no trouble.
My netstat -m output was very fine:

326/480/10240 mbufs in use (current/peak/max):
        326 mbufs allocated to data
324/460/2560 mbuf clusters in use (current/peak/max)
1040 Kbytes allocated to network (13% of mb_map in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines

Well, in spite of that, i increased NMBCLUSTERS because it was the only
solution i could find in  FAQ's, mailing list archives (all), handbook, etc
... but the problem continues.
See the new netstat -m output:

310/480/65536 mbufs in use (current/peak/max):
        310 mbufs allocated to data
309/470/16384 mbuf clusters in use (current/peak/max)
1060 Kbytes allocated to network (2% of mb_map in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines


I need your help!!!
Thanks

---
Joao Carlos
jcrr@ieee.org


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003901c1a3f5$07c9b860$e7ccb0c8>