Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Apr 2011 14:37:32 +0200
From:      Olivier Smedts <olivier@gid0.org>
To:        Boris Kochergin <spawk@acm.poly.edu>
Cc:        FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>
Subject:   Re: Kernel memory leak in 8.2-PRERELEASE?
Message-ID:  <BANLkTi=j2qwh1aWD88dzjL=WXfzaP3MvXg@mail.gmail.com>
In-Reply-To: <4D972FF7.6010901@acm.poly.edu>
References:  <4D972FF7.6010901@acm.poly.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
2011/4/2 Boris Kochergin <spawk@acm.poly.edu>:
> 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."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTi=j2qwh1aWD88dzjL=WXfzaP3MvXg>