Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Nov 2007 13:55:03 +0100
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Borja Marcos <BORJAMAR@SARENET.ES>
Cc:        freebsd-fs@freebsd.org, Niki Denev <nike_d@cytexbg.com>, freebsd-current@freebsd.org
Subject:   Re: ZFS kmem_map too small.
Message-ID:  <20071106125503.GN5268@garage.freebsd.pl>
In-Reply-To: <A9A24A97-DBB7-42E2-BAA6-4D6CCB84E67E@SARENET.ES>
References:  <20071005000046.GC92272@garage.freebsd.pl> <20071008121523.GM2327@garage.freebsd.pl> <20071105215035.GC26730@heff.fud.org.nz> <2e77fc10711051531k41e7224dq6aaedb35cad8d9f2@mail.gmail.com> <6214AB9C-9F9B-4B9D-8B05-0B3DF5F6C16D@SARENET.ES> <20071106100015.GB5268@garage.freebsd.pl> <A9A24A97-DBB7-42E2-BAA6-4D6CCB84E67E@SARENET.ES>

next in thread | previous in thread | raw e-mail | index | archive | help

--j/HO4hzKTNbM1mOX
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Nov 06, 2007 at 11:20:34AM +0100, Borja Marcos wrote:
>=20
> On Nov 6, 2007, at 11:00 AM, Pawel Jakub Dawidek wrote:
>=20
> >>The machine has 6 hard disks configured as a raidz2 pool.
> >>
> >>Please let me know of any test anyone might need.
> >
> >If you use vm_kern.c.2.patch, can you show loader.conf and exact =20
> >command
> >that can provke the panic?
>=20
> loader.conf:
> zfs_load=3D"YES"
> vfs.root.mountfrom=3D"zfs:pool/root"
> vm.kmem_size_max=3D"1610612736"
> vm.kmem_size=3D"1610612736"
>=20
> Y bumped up the vnodes as well, as suggested at the ZFS tuning Wiki.
>=20
> (/etc/sysctl.conf)
> kern.maxvnodes: 400000

The Wiki should be changed. Allow ZFS to autotune it, don't tune it by
hand.

> Anything else? (I just don't want to spam a big message with kernel =20
> config, etc)

I asked about exact command to trigger the panic.

> When I did the tests I did not have a swap partition configured, but I =
=20
> guess it shouldn't be
> related (4 GB is plenty of memory). Anyway I'm going to try again with =
=20
> a swap partition today.
> (_Not_ on ZFS) so that I can get a kernel dump as well.

Yes, do not use swap on ZFS.

--=20
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

--j/HO4hzKTNbM1mOX
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFHMGQnForvXbEpPzQRAsZCAJ9ePHQT/PqSjkfe3wB1lCXNXUkYowCghloH
y4FVicWAH0M7aqSnuoNy3Is=
=CpAD
-----END PGP SIGNATURE-----

--j/HO4hzKTNbM1mOX--



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