>Number: 156083 >Category: kern >Synopsis: ipfw pipe flush - memleak >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Mar 31 09:10:09 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Artjom Nikushkin >Release: 8.2-RELEASE >Organization: Balticom >Environment: FreeBSD bsd82-test.balticom.lv 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011 [email protected]:/usr/obj/usr/src/sys/GENERIC i386 >Description: After sequental pipe config/flush, dummynet hits limit of memory and `dmesg` ouputs : "ipfw: setsockopt(IP_DUMMYNET_CONFIGURE): Cannot allocate memory", and crashes. Pipe is configured with src-ip or dst-ip mask (dummynet hash pipes).
>How-To-Repeat: In fresh install : for ((i=1;$i<2000000; i=$i+1)); do ipfw pipe 1 config bw 10Mbit/s mask src-ip 0xffffffff ; ipfw -f pipe flush ; done When Wired memory hits about 370Mb of RAM, it crashes. It's possible to make it crash faster - rise net.inet.ip.dummynet.hash_size up to the maximum size. >Fix: >Release-Note: >Audit-Trail: >Unformatted: _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "[email protected]"
