Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Mar 2006 16:03:16 +0100
From:      Volker <volker@vwsoft.com>
To:        freebsd-pf@freebsd.org
Subject:   {Spam?} no buffer space available
Message-ID:  <44216734.2060101@vwsoft.com>

next in thread | raw e-mail | index | archive | help
Currently my router machine is running RELENG_6, cvsup'ed,
buildkernel and world recently (as of 2006-03-18).

My internet connection is realized by a 3G card and ppp (userland)
which is always up. After being a few days always on, my router
machine is unable to route anything (no packets passed out) as long
as pf is enabled.

If this situation arrives a ping does:

bellona# ping www.heise.de
PING www.heise.de (193.99.144.85): 56 data bytes
ping: sendto: No buffer space available
ping: sendto: No buffer space available
^C
--- www.heise.de ping statistics ---
2 packets transmitted, 0 packets received, 100% packet loss

When disabling pf it does:
bellona# pfctl -d
pf disabled
bellona# ping www.heise.de
PING www.heise.de (193.99.144.85): 56 data bytes
64 bytes from 193.99.144.85: icmp_seq=0 ttl=243 time=1472.569 ms
64 bytes from 193.99.144.85: icmp_seq=1 ttl=243 time=491.980 ms
64 bytes from 193.99.144.85: icmp_seq=3 ttl=243 time=590.113 ms
^C
--- www.heise.de ping statistics ---
4 packets transmitted, 3 packets received, 25% packet loss
round-trip min/avg/max/stddev = 491.980/851.554/1472.569/440.948 ms

.....and re-checking with pf enabled:
bellona# pfctl -e
pf enabled
bellona# ping www.heise.de
PING www.heise.de (193.99.144.85): 56 data bytes
ping: sendto: No buffer space available
ping: sendto: No buffer space available
^C
--- www.heise.de ping statistics ---
2 packets transmitted, 0 packets received, 100% packet loss

and later re-reading the firewall rules and rereading the firewall
rules:
bellona# pfctl -d
pf disabled
bellona# pfctl -gf /etc/firewall/pf-bel.conf
bellona# pfctl -e
pf enabled
bellona# ping www.heise.de
PING www.heise.de (193.99.144.85): 56 data bytes
64 bytes from 193.99.144.85: icmp_seq=0 ttl=243 time=146.157 ms
^C
--- www.heise.de ping statistics ---
2 packets transmitted, 1 packets received, 50% packet loss
round-trip min/avg/max/stddev = 146.157/146.157/146.157/0.000 ms

It smells like a memory leak isn't it?

Using an earlier 6.1-BETA stage I've seen this problem faster. The
last time I've seen this behaviour has been after 4 days system
uptime and being always online by ppp.

How do I check (debug) if this is a base system (networking) problem
of 6.1-BETA or if it's a pf bug?

Greetings,

Volker



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