From owner-freebsd-stable@FreeBSD.ORG Mon Dec 11 19:07:47 2006 Return-Path: X-Original-To: freebsd-stable@FreeBSD.org Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6129416A47E; Mon, 11 Dec 2006 19:07:47 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [210.51.165.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id D03BE43CC8; Mon, 11 Dec 2006 18:59:58 +0000 (GMT) (envelope-from delphij@delphij.net) Received: from localhost (tarsier.geekcn.org [210.51.165.229]) by tarsier.geekcn.org (Postfix) with ESMTP id 22C2DEB349E; Tue, 12 Dec 2006 03:00:23 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([210.51.165.229]) by localhost (mail.geekcn.org [210.51.165.229]) (amavisd-new, port 10024) with ESMTP id g1YhHlz5F6ql; Tue, 12 Dec 2006 03:00:17 +0800 (CST) Received: from [192.168.1.32] (unknown [61.48.135.12]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTP id CD264EB33FD; Tue, 12 Dec 2006 03:00:16 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:organization:user-agent:mime-version:to: subject:references:in-reply-to:x-enigmail-version:content-type; b=lABTZdIUXC+AL10a6cOX/b78yBPMLB3KGt0KCovv4t3hwvsHYYuLf8xcghnZKSgNn oGyUrSpJG3ixw+lestmVw== Message-ID: <457DAA99.60605@delphij.net> Date: Tue, 12 Dec 2006 02:59:37 +0800 From: LI Xin Organization: The FreeBSD Project User-Agent: Thunderbird 1.5.0.8 (Macintosh/20061025) MIME-Version: 1.0 To: Nikolay Pavlov , LI Xin , freebsd-stable@FreeBSD.org, Robert Watson References: <20061122195549.GA57018@zone3000.net> <338b359d969e9c68deaf49096aa91995@mail.geekcn.org> <20061123160208.GA62732@zone3000.net> <456662F4.6000306@delphij.net> <20061125103755.GA78288@zone3000.net> <456887CD.50606@delphij.net> <20061125212004.GA22786@zone3000.net> <457D0FC7.6010808@delphij.net> <20061211180817.GA4557@zone3000.net> In-Reply-To: <20061211180817.GA4557@zone3000.net> X-Enigmail-Version: 0.94.1.0 Content-Type: multipart/signed; micalg=pgp-ripemd160; protocol="application/pgp-signature"; boundary="------------enig8960901BD63976C283198D09" Cc: Subject: Re: deadlock in "zoneli" state on 6.2-PRERELEASE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Dec 2006 19:07:47 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig8960901BD63976C283198D09 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, Nikolay, Nikolay Pavlov wrote: > On Monday, 11 December 2006 at 15:59:03 +0800, LI Xin wrote: >> Hi, >> >> Would you please give the following patch a try? >> >> http://people.freebsd.org/~delphij/misc/patch-zonelim-drain >> >> Note: Please revert my previous patch against sys/kern/kern_mbuf.c. >> >> This patch should be applied against sys/vm/ [RELENG_6 or RELENG_6_2],= >> it schedules a drain of uma zones when they are low on memory. >=20 >=20 > This time things worked out a bit better, there was no Kernel panic and= > my server managed to overcome the "magic" number 65550 mbufs. But very > soon the server reached another limit - 131072 mbuf clusters =20 Do you still get squid stuck in "zoneli" state and the server became unresponsive? > (This is my limit for kern.ipc.nmbclusters). > And server started to drop the packets. After I've =20 > removed the overload I found my server responding but when I actually=20 > accessed it I found out that although the number of connections has=20 > reduces considerably, the memory allocated for the net did not become > free. So I believe that there is still a mbufs leak somewhere. This looks weird to me... Would you please try to add some load to the server and remove afterwards, to see if the 'current' mbuf clusters keeps increasing or not? Cheers, --=20 Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! --------------enig8960901BD63976C283198D09 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFfaqZOfuToMruuMARA0tdAJ9cgWd99MdfQrzYdAhuQVwIkHJu3QCfcO67 R5qTI0EJnf+rRLl15yY8iRs= =wPBV -----END PGP SIGNATURE----- --------------enig8960901BD63976C283198D09--