Subject: Re: no buffer space available (kernel misconfiguration?)
To: Karo Salminen <ks@ks.ping-viini.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 05/22/2002 22:50:47
On Wed, May 22, 2002 at 10:40:29PM +0300, Karo Salminen wrote:
> Hello,
> 
> I mailed about my problem week ago, but... it's still unsolved. The problem is very vague, but I hope 
> someone could even tell me how to debug the problem.
> 
> Let's start. I'm using rtk0 NIC on NetBSD 1.5.3 RC2 with dhcp. My network works fine but sometimes (not that
> frequently) it goes down and I can't connect it to it. SSH says "no route to host" when I try to connect it from the
> outside. Then I'll try to look what's wrong locally. If I ping some IP, all I get is this:
> ping: sendto: no buffer space available
> 
> Netstat -m says:
> 
> 455 mbufs in use:
>         359 mbufs allocated to data
>         96 mbufs allocated to packet headers
> 76/86 mapped pages in use
> 292 Kbytes allocated to network (91% in use)
> 0 requests for memory denied
> 0 requests for memory delayed
> 0 calls to protocol drain routines
> 
> If I do 'ifconfig rtk0 down; ifconfig rtk0 up" then it's back online. This usually does not happen frequently _except_
> it usually happens when the backup script is sending backup packages to remote host. The script
> can be found at http://ks.ping-viini.org:81/~ks/backup2.sh. This does not happen during _heavy_ traffic, which
> is very odd.
> 
> Last time I mailed about this one proposed solution was to increase NMBCLUSTERS. I increased it to 8192,
> but it didn't help. Some other posts was about throwing the NIC away, but I'm pretty sure it's not because
> of the NIC, many people have no problems with it. I doubt the configs... because the problem did not appear on

I've had problems with this controller, until I remplaced it.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
--