Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Mar 2013 17:12:13 -0400
From:      Boris Kochergin <spawk@acm.poly.edu>
To:        freebsd-net@freebsd.org
Subject:   mbuf tuning on 9.1
Message-ID:  <513F9A2D.8050507@acm.poly.edu>

next in thread | raw e-mail | index | archive | help
Hi.

I have a FreeBSD 9.1/amd64 machine. It runs HAProxy and runs out of
various things frequently. Sometimes it's mbufs.

netstat -m:

68202/1698/69900 mbufs in use (current/cache/total)
41449/1229/42678/2622144 mbuf clusters in use (current/cache/total/max)
41449/1175 mbuf+clusters out of packet secondary zone in use (current/cache)
26405/538/26943/3276800 4k (page size) jumbo clusters in use
(current/cache/total/max)
0/0/0/6400 9k jumbo clusters in use (current/cache/total/max)
0/0/0/3200 16k jumbo clusters in use (current/cache/total/max)
205568K/5034K/210603K bytes allocated to network (current/cache/total)
0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters)
0/0/0 requests for jumbo clusters denied (4k/9k/16k)
0/0/0 sfbufs in use (current/peak/max)
0 requests for sfbufs denied
0 requests for sfbufs delayed
0 requests for I/O initiated by sendfile
0 calls to protocol drain routines

How can I increase "mbufs," as they appear above, and "mbuf clusters,"
as they appear above?

Thank you.

-Boris



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