From owner-freebsd-stable@FreeBSD.ORG Sat Apr 2 15:33:24 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6CA7B106566B for ; Sat, 2 Apr 2011 15:33:24 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 0ACA98FC08 for ; Sat, 2 Apr 2011 15:33:23 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id p32FXGf9041922 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 2 Apr 2011 18:33:16 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id p32FXGB9083624; Sat, 2 Apr 2011 18:33:16 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id p32FXFwb083623; Sat, 2 Apr 2011 18:33:15 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 2 Apr 2011 18:33:15 +0300 From: Kostik Belousov To: Boris Kochergin Message-ID: <20110402153315.GP78089@deviant.kiev.zoral.com.ua> References: <4D972FF7.6010901@acm.poly.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dKHLzz1xuYXI/NqC" Content-Disposition: inline In-Reply-To: <4D972FF7.6010901@acm.poly.edu> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-2.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_20, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: FreeBSD-STABLE Mailing List Subject: Re: Kernel memory leak in 8.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: Sat, 02 Apr 2011 15:33:24 -0000 --dKHLzz1xuYXI/NqC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Apr 02, 2011 at 10:17:27AM -0400, Boris Kochergin wrote: > Ahoy. This morning, I awoke to the following on one of my servers: >=20 > pid 59630 (httpd), uid 80, was killed: out of swap space > pid 59341 (find), uid 0, was killed: out of swap space > pid 23134 (irssi), uid 1001, was killed: out of swap space > pid 49332 (sshd), uid 1001, was killed: out of swap space > pid 69074 (httpd), uid 0, was killed: out of swap space > pid 11879 (eggdrop-1.6.19), uid 1001, was killed: out of swap space > ... >=20 > And so on. >=20 > The machine is: >=20 > FreeBSD exodus.poly.edu 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #2: Thu=20 > Dec 2 11:39:21 EST 2010 =20 > spawk@exodus.poly.edu:/usr/obj/usr/src/sys/EXODUS amd64 >=20 > 10:13AM up 120 days, 20:06, 2 users, load averages: 0.00, 0.01, 0.00 >=20 > The memory line from top intrigued me: >=20 > Mem: 16M Active, 48M Inact, 6996M Wired, 229M Cache, 828M Buf, 605M Free >=20 > The machine has 8 gigs of memory, and I don't know what all that wired=20 > memory is being used for. There is a large-ish (6 x 1.5-TB) ZFS RAID-Z2= =20 > on it which has had a disk in the UNAVAIL state for a few months: >=20 > # zpool status > pool: home > state: DEGRADED > status: One or more devices could not be used because the label is=20 > missing or > invalid. Sufficient replicas exist for the pool to continue > functioning in a degraded state. > action: Replace the device using 'zpool replace'. > see: http://www.sun.com/msg/ZFS-8000-4J > scrub: none requested > config: >=20 > NAME STATE READ WRITE CKSUM > home DEGRADED 0 0 0 > raidz2 DEGRADED 0 0 0 > ada0 ONLINE 0 0 0 > ada1 ONLINE 0 0 0 > ada2 ONLINE 0 0 0 > ada3 ONLINE 0 0 0 > ada4 ONLINE 0 0 0 > ada5 UNAVAIL 0 85 11 experienced I/O failures >=20 > errors: No known data errors >=20 > "vmstat -m" and "vmstat -z" output: >=20 > http://acm.poly.edu/~spawk/vmstat-m.txt > http://acm.poly.edu/~spawk/vmstat-z.txt >=20 > Anyone have a clue? I know it's just going to happen again if I reboot=20 > the machine. It is still up in case there are diagnostics for me to run. Try r218795. Most likely, your issue is not leak. --dKHLzz1xuYXI/NqC Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAk2XQbsACgkQC3+MBN1Mb4jsWQCfcIagL5WRwCFMO0MjDSO7Sf4Z z2EAni1sRLol/5WiFUIymo5h4TyulXCL =uPoF -----END PGP SIGNATURE----- --dKHLzz1xuYXI/NqC--