kmem_map too small panics with Soekris/Atheros access point
Boris Kochergin
spawk at acm.poly.edu
Thu Sep 3 21:51:46 UTC 2009
Boris Kochergin wrote:
> Ahoy. I've got two Soekris Net5501s with Atheros 5212 cards in them,
> acting as access points. They are both running 7.2-RELEASE and at
> times each one has up to 30 machines associated with it. Relevant
> information about them can be found at
> "http://acm.poly.edu/~spawk/ap/". After a few days, they panic with:
>
> panic: kmem_malloc(32768): kmem_map too small: 86142976 total allocated
>
> Indeed, vm.kmem_size on each of them is 86228992. I had nowhere to
> write a core dump to, but the root issue seems to be that all kernel
> memory was exhausted, which sounds like a memory leak somewhere. Is
> that a known problem with that release and hardware configuration?
>
> -Boris
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
More information: I upgraded it to a 7.2-STABLE with August 20th sources
and increased kern.ipc.nmbclusters to 65536 in hopes of getting the
panic less often. I managed to catch it in a state where there were a
bunch of "ath0: ath_rx_proc: no mbuf!" messages in the kernel buffer.
One line of "vmstat -m" stood out as the leak:
80211node 12677 101401K - 120901 16,512
"ifconfig ath0 down" freed the memory. Is there any other useful
information I can provide if I catch it again? Someone suggested the
output of "vmstat -z" off list, and I will have that next time.
-Boris
More information about the freebsd-net
mailing list