Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Apr 2011 18:33:15 +0300
From:      Kostik Belousov <kostikbel@gmail.com>
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:  <20110402153315.GP78089@deviant.kiev.zoral.com.ua>
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

--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--



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