zonelimit livelock

Matt Reimer mattjreimer at gmail.com
Mon Aug 28 18:15:02 UTC 2006


On 8/28/06, Peter Holm <peter at holm.cc> wrote:
> While stress testing GENERIC HEAD from Aug 26 13:08 UTC I ran into
> this livelock:
>
> http://people.freebsd.org/~pho/stress/log/cons206.html
> --
> Peter Holm

FWIW, I'm seeing the same thing on RELENG_6 by running ab
(apachebench) against localhost with nmbclusters set low (1024).

kern.ipc.nmbclusters=1024
debug.mpsafenet=0

ab -k -c 450 -n 10000 http://localhost/

netstat -m | grep mbuf
77789/236/78025 mbufs in use (current/cache/total)
1024/0/1024/1024 mbuf clusters in use (current/cache/total/max)
502/0 mbuf+clusters out of packet secondary zone in use (current/cache)

 vmstat -z | grep mbuf
SIZE  LIMIT USED  FREE REQUESTS
mbuf_packet:  256, 0, 502, 0, 24996
mbuf:         256, 0, 77287, 236, 416351
mbuf_cluster: 2048, 1024, 1024, 0, 11124

Matt


More information about the freebsd-current mailing list