From owner-freebsd-current@FreeBSD.ORG Mon Feb 25 00:15:20 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B43616A401 for ; Mon, 25 Feb 2008 00:15:20 +0000 (UTC) (envelope-from bmah@freebsd.org) Received: from a.mail.sonic.net (a.mail.sonic.net [64.142.16.245]) by mx1.freebsd.org (Postfix) with ESMTP id 865E213C45B for ; Mon, 25 Feb 2008 00:15:20 +0000 (UTC) (envelope-from bmah@freebsd.org) Received: from morimoto.kitchenlab.org (hornet.kitchenlab.org [64.142.31.105]) (authenticated bits=0) by a.mail.sonic.net (8.13.8.Beta0-Sonic/8.13.7) with ESMTP id m1P0FGcB013931 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 24 Feb 2008 16:15:19 -0800 Message-ID: <47C2088D.2090602@freebsd.org> Date: Sun, 24 Feb 2008 16:15:09 -0800 From: "Bruce A. Mah" User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: Brian Biskeborn References: <20080215231507.EAB7D641@mx2.synetsystems.com> <200802241252.52176.peter.schuller@infidyne.com> <47C17E2C.5040606@princeton.edu> In-Reply-To: <47C17E2C.5040606@princeton.edu> X-Enigmail-Version: 0.95.6 OpenPGP: id=5ba052c3 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig366B56F50DCC1DD3771BA3BE" Cc: freebsd-current@freebsd.org, Peter Schuller , Richard Todd Subject: Re: ZFS: data sometimes not getting correctly flushed to disk (possible mmap/write issue)? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Feb 2008 00:15:20 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig366B56F50DCC1DD3771BA3BE Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable If memory serves me right, Brian Biskeborn wrote: > This has been happening to me for a week or so (same setup - Dovecot on= =20 > ZFS). I'll disable mmap and see whether it persists. Me too. I'll give this a shot as well. (FreeBSD 7.0-PRERELEASE/amd64 from about a week ago, but I've been=20 seeing this off and on for awhile. dovecot-1.0.10 from Ports.) Bruce. > Peter Schuller wrote: >>> 3) ktracing gen2.py shows that the py-mutagen library seems to do bot= h >>> write()s and read/write mmap()s to the file to update the file. >> FWIW, ever since a dovecot installation of mine was moved onto ZFS one= gets=20 >> sporadic 'internel errors' from dovecot. Dovecot logs that index files= are=20 >> corrupt, and marked broken. Recovery involves re-selecting the IMAP ma= ilbox. >> >> In response to your post, I recently turned OFF use of mmap in dovecot= =20 >> (mmap_disable =3D yes), and the problem seems to have gone away immedi= ately. >> >> If it should show up again in spite of mmap being disabled I will post= a=20 >> follow-up, but it's been long enough that I believe the problem to be = gone. >> > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.o= rg" >=20 --------------enig366B56F50DCC1DD3771BA3BE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHwgiT2MoxcVugUsMRAi6nAJ0e9xqLa2WG4EA2op4EhJUzj8lBMgCg3KwC R/pjHF5xmoDqsVobEyiJno4= =qksH -----END PGP SIGNATURE----- --------------enig366B56F50DCC1DD3771BA3BE--