Subject: Re: '... RPC: Unable to send; errno = No buffer space available' in -current
To: Markus W Kilbinger <mk@kilbi.de>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: current-users
Date: 01/10/2007 19:37:42
On Tue, Jan 09, 2007 at 12:02:50PM +0100, Markus W Kilbinger wrote:
Content-Description: message body text
> Hi!
> 
> I'm having a redundant problem with one router/firewall (running
> ipfilter/ipnat and squid) on a i386/-current machine, which
> recurrently 'looses' its internal network interface 'wm0' while
> displaying the above mentioned error message. The external network
> interface 'wm1' remains active (at least ping-able).
> 
> First some excerpt of the machines dmesg:
> 
>   NetBSD 4.99.7 (RADIX) #50: Mon Jan  8 12:13:04 MET 2007
>   [...]
>   wm0 at pci2 dev 10 function 0: Intel i82545EM 1000BASE-T Ethernet, rev. 1
>   wm0: interrupting at ioapic0 pin 22 (irq 5)
>   wm0: Ethernet address 00:07:e9:0e:67:c7
>   makphy0 at wm0 phy 1: Marvell 88E1011 Gigabit PHY, rev. 3
>   makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
>   wm1 at pci2 dev 11 function 0: Intel i82545EM 1000BASE-T Ethernet, rev. 1
>   wm1: interrupting at ioapic0 pin 23 (irq 9)
>   wm1: Ethernet address 00:07:e9:0e:68:4b
>   makphy1 at wm1 phy 1: Marvell 88E1011 Gigabit PHY, rev. 3
>   makphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
>   [...]
>   Enabling ipfilter.
>   Setting sysctl variables:
>   kern.maxfiles: 1772 -> 4096
>   kern.autonicetime: 0 -> 0
>   kern.sbmax: 262144 -> 1048576
>   net.inet.tcp.sendspace: 32768 -> 131072
>   net.inet.tcp.recvspace: 32768 -> 131072
>   net.inet.udp.sendspace: 9216 -> 36864
>   net.inet.udp.recvspace: 41600 -> 166400
>   net.inet6.udp6.sendspace: 9216 -> 36864
>   net.inet6.udp6.recvspace: 42080 -> 168320
>   net.inet.tcp.ecn.enable: 0 -> 1
>   net.inet.ipsec.ecn: 0 -> 1
>   net.inet6.tcp6.ecn.enable: 1 -> 1
>   net.inet6.ipsec6.ecn: 0 -> 1
> 
> The machines kernel (already) has:
> 
>   options         NMBCLUSTERS=32768
>   options         LARGE_NAT
>   options         KMEMSTATS

You may run out of space in the ip or interface queue. What does ifconfig says
about wm0 when it's in this state ?

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--