From owner-freebsd-stable@FreeBSD.ORG Wed Apr 6 12:37:33 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 4AD46106564A for ; Wed, 6 Apr 2011 12:37:33 +0000 (UTC) (envelope-from olivier@gid0.org) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2FDAB8FC1D for ; Wed, 6 Apr 2011 12:37:32 +0000 (UTC) Received: by pvg11 with SMTP id 11so648062pvg.13 for ; Wed, 06 Apr 2011 05:37:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.143.154.35 with SMTP id g35mr843795wfo.120.1302093452283; Wed, 06 Apr 2011 05:37:32 -0700 (PDT) Received: by 10.68.63.71 with HTTP; Wed, 6 Apr 2011 05:37:32 -0700 (PDT) In-Reply-To: <4D972FF7.6010901@acm.poly.edu> References: <4D972FF7.6010901@acm.poly.edu> Date: Wed, 6 Apr 2011 14:37:32 +0200 Message-ID: From: Olivier Smedts To: Boris Kochergin Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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: Wed, 06 Apr 2011 12:37:33 -0000 2011/4/2 Boris Kochergin : > 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 Like others, I'll also suggest adding at least a little swap. If you don't have disk space outside of the ZFS pool (recommended way to create a swap), you can create one inside, with a zvol : zfs create -V 2G -o org.freebsd:swap=3Don -o primarycache=3Dnone -o secondarycache=3Dnone -o tank/swap I sometimes use "-b 8K" and "-o checksum=3Doff" for the swap, but haven't stress tested this under 9-CURRENT and ZFS v28. > # zpool status > =A0pool: home > =A0state: DEGRADED > status: One or more devices could not be used because the label is missin= g > or > =A0 =A0 =A0 =A0invalid. =A0Sufficient replicas exist for the pool to cont= inue > =A0 =A0 =A0 =A0functioning in a degraded state. > action: Replace the device using 'zpool replace'. > =A0 see: http://www.sun.com/msg/ZFS-8000-4J > =A0scrub: none requested > config: > > =A0 =A0 =A0 =A0NAME =A0 =A0 =A0 =A0STATE =A0 =A0 READ WRITE CKSUM > =A0 =A0 =A0 =A0home =A0 =A0 =A0 =A0DEGRADED =A0 =A0 0 =A0 =A0 0 =A0 =A0 0 > =A0 =A0 =A0 =A0 =A0raidz2 =A0 =A0DEGRADED =A0 =A0 0 =A0 =A0 0 =A0 =A0 0 > =A0 =A0 =A0 =A0 =A0 =A0ada0 =A0 =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 0 =A0 =A0= 0 > =A0 =A0 =A0 =A0 =A0 =A0ada1 =A0 =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 0 =A0 =A0= 0 > =A0 =A0 =A0 =A0 =A0 =A0ada2 =A0 =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 0 =A0 =A0= 0 > =A0 =A0 =A0 =A0 =A0 =A0ada3 =A0 =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 0 =A0 =A0= 0 > =A0 =A0 =A0 =A0 =A0 =A0ada4 =A0 =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 0 =A0 =A0= 0 > =A0 =A0 =A0 =A0 =A0 =A0ada5 =A0 =A0UNAVAIL =A0 =A0 =A00 =A0 =A085 =A0 =A0= 11 =A0experienced I/O failures > > errors: No known data errors Like others, I'll also *strongly* suggest fixing that ada5 problem. Try to run smartctl on the disk to see the problem. If the disk is bad, replace it ! Don't wait "for a few months" if you don't want to definitely loose your data. Cheers --=20 Olivier Smedts=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0 _ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 ASCII ribbon campaign ( ) e-mail: olivier@gid0.org=A0 =A0 =A0 =A0 - against HTML email & vCards=A0 X www: http://www.gid0.org=A0 =A0 - against proprietary attachments / \ =A0 "Il y a seulement 10 sortes de gens dans le monde : =A0 ceux qui comprennent le binaire, =A0 et ceux qui ne le comprennent pas."