From owner-freebsd-stable@FreeBSD.ORG Wed Oct 1 10:12:29 2008 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86DE7106568C for ; Wed, 1 Oct 2008 10:12:29 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA02.westchester.pa.mail.comcast.net (qmta02.westchester.pa.mail.comcast.net [76.96.62.24]) by mx1.freebsd.org (Postfix) with ESMTP id 2EF3F8FC15 for ; Wed, 1 Oct 2008 10:12:28 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA07.westchester.pa.mail.comcast.net ([76.96.62.59]) by QMTA02.westchester.pa.mail.comcast.net with comcast id MMwm1a0061GhbT852NC5zb; Wed, 01 Oct 2008 10:12:05 +0000 Received: from koitsu.dyndns.org ([67.180.253.227]) by OMTA07.westchester.pa.mail.comcast.net with comcast id MNCT1a0064v8bD73TNCTap; Wed, 01 Oct 2008 10:12:28 +0000 X-Authority-Analysis: v=1.0 c=1 a=N8se_1cBi2wA:10 a=j3-Kh4PWcnIA:10 a=mjMI4m5sAAAA:8 a=6I5d2MoRAAAA:8 a=QycZ5dHgAAAA:8 a=Pn-9Jm2b6MBDGmHg69oA:9 a=UiN34xJubOcMOt2v7yQA:7 a=lhGe_fnxfXtrynWrvXmDMsiFkq8A:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 37BD7C9432; Wed, 1 Oct 2008 03:12:27 -0700 (PDT) Date: Wed, 1 Oct 2008 03:12:27 -0700 From: Jeremy Chadwick To: Ben Stuyts Message-ID: <20081001101227.GA17912@icarus.home.lan> References: <20080930100848.GA9193@intserv.int1.b.intern> <20080930104605.GA44675@icarus.home.lan> <01EBDE48-7CEE-4A50-B4F9-C4D5BCFA18BD@altesco.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <01EBDE48-7CEE-4A50-B4F9-C4D5BCFA18BD@altesco.nl> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Holger Kipp , stable@freebsd.org Subject: Re: recommended setup for amd64 7-STABLE with ZFS, Samba 3.2 and possibly ACLs? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 10:12:29 -0000 On Wed, Oct 01, 2008 at 10:42:32AM +0200, Ben Stuyts wrote: > I had to disable mmap access in dovecot, or it would coredump > periodically. (mmap_disable = yes in dovecot.conf) I found that to be a > problem only on ZFS. I don't know if that's been fixed yet. Apart from > that it works great. This seems relevant to your problem: http://www.dovecot.org/list/dovecot/2008-March/029565.html HEAD had this problem fixed in rev 1.28, dated 2008/03/15. RELENG_7 had this problem fixed in rev 1.31.2.2, dated 2008/04/26. Here's the proper file in cvsweb so you can see it yourself: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c Have you tried re-enabling mmap in dovecot on a system with a kernel build after those dates? If so, does it still randomly segfault? If so, have you reported this to pjd@? :-) -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |