Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jan 2002 13:22:06 -0800 (PST)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        Sergey Gershtein <sg@ur.ru>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re[3]: Strange lock-ups during backup over nfs after adding 1024M RAM
Message-ID:  <20020124131821.O5882-100000@resnet.uoregon.edu>
In-Reply-To: <30787244167.20020124134759@ur.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 24 Jan 2002, Sergey Gershtein wrote:

> It's a rather heavily loaded web server (average of 25 requests/sec,
> 100kb/sec), so I guess it's a lot of network. Could you please point
> me to the right direction where to read about mbuf monitoring?  I
> found some info in the Handbook (6.10 Tuning Kernel Limits), but there
> are not much unfortunately.

'netstat -m', watch these lines:
131/864/10240 mbufs in use (current/peak/max):
128/172/2560 mbuf clusters in use (current/peak/max)

You want to keep the second number about 80% of the third number. If it
gets too close bump the kernel tunables kern.mbufs and kern.nmbclusters
(or set options MBUFS and NMBCLUSTERS in the kernel config).

Doug White                    |  FreeBSD: The Power to Serve
dwhite@resnet.uoregon.edu     |  www.FreeBSD.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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