Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Feb 2008 16:15:09 -0800
From:      "Bruce A. Mah" <bmah@freebsd.org>
To:        Brian Biskeborn <bbiskebo@Princeton.EDU>
Cc:        freebsd-current@freebsd.org, Peter Schuller <peter.schuller@infidyne.com>, Richard Todd <rmtodd@ichotolot.servalan.com>
Subject:   Re: ZFS: data sometimes not getting correctly flushed to disk	(possible mmap/write issue)?
Message-ID:  <47C2088D.2090602@freebsd.org>
In-Reply-To: <47C17E2C.5040606@princeton.edu>
References:  <20080215231507.EAB7D641@mx2.synetsystems.com>	<200802241252.52176.peter.schuller@infidyne.com> <47C17E2C.5040606@princeton.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

<aol>Me too.</aol>

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



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