Hi, I just upgraded my home box to run Solaris 10 6/06 and converted my previous filesytems over to ZFS, including /var/mail. Previously on S10 FCS I was running dovecot mail server from blastwave.org without issue. On upgrading to Update 2 I have found that the mail server hangs frequently. The imap process cannot be killed, dtraced, pstacked or trussed. After a few goes at dtrace I took a core dump and had a look at that. The stack for the imap process was simply:
> 0t1550::pid2proc|::walk thread|::findstack -v stack pointer for thread d77f8600: d41e8e2c d41e8e78 0xd41e8e44(20000, d41e8f44) d41e8ed8 zfs_write+0x59f(d6a273c0, d41e8f44, 0, d8adee10, 0) d41e8f0c fop_write+0x2d(d6a273c0, d41e8f44, 0, d8adee10, 0) d41e8f8c write+0x29a() d41e8fb4 sys_sysenter+0xdc() Some digging in sunsolve I found a few references to mmap and zfs_write locks - so on a hunch (because fuser previously showed my mailfile as mmaped) I disabled mmap in the dovecot configuration, and I no longer get the deadlocks. I could not find an exact bug in sunsolve - is this a known one or is more work needed? I can provide the core file or SSH access to the box if more analysis is needed. Cheers, Adrian This message posted from opensolaris.org _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss