Re: [Dovecot] distributed mdbox

2012-04-09 Thread Timo Sirainen
Yeah, not caching then. I know Glusterfs people implemented some fixes/workarounds to make Dovecot work better. I don't know if all of those fixes are in the public glusterfs. On 6.4.2012, at 18.39, James Devine wrote: > As it turns out I can duplicate this problem with a single dovecot server

Re: [Dovecot] distributed mdbox

2012-04-06 Thread James Devine
As it turns out I can duplicate this problem with a single dovecot server and a single gluster server using mdbox, so maybe not caching? This being the case I don't think director would help On Thu, Apr 5, 2012 at 7:16 PM, James Devine wrote: > > > On Fri, Mar 23, 2012 at 7:39 AM, wrote: > >>

Re: [Dovecot] distributed mdbox

2012-04-05 Thread James Devine
On Fri, Mar 23, 2012 at 7:39 AM, wrote: > On Wed, 21 Mar 2012 09:56:12 -0600, James Devine > wrote: > > Anyone know how to setup dovecot with mdbox so that it can be used > through > > shared storage from multiple hosts? I've setup a gluster volume and am > > sharing it between 2 test clients.

Re: [Dovecot] distributed mdbox

2012-03-23 Thread list
On Fri, 23 Mar 2012 23:03:01 +0200, Timo Sirainen wrote: > On 23.3.2012, at 19.43, > wrote: > >>> Have you tried stress testing it with imaptest? Run in parallel for both >>> servers: >> I did stress test it, but we have developed a "mail bot net" tool for the >> purpose. I should mention this

Re: [Dovecot] distributed mdbox

2012-03-23 Thread Timo Sirainen
On 23.3.2012, at 19.43, wrote: >> Have you tried stress testing it with imaptest? Run in parallel for both >> servers: > I did stress test it, but we have developed a "mail bot net" tool for the > purpose. I should mention this was tested using dovecot 1.2, as this is > our current production v

Re: [Dovecot] distributed mdbox

2012-03-23 Thread list
On Fri, 23 Mar 2012 16:06:25 +0200, Timo Sirainen wrote: > On 23.3.2012, at 15.39, > wrote: > >> I was able to get dovecot working across a gluster cluster a few weeks >> ago >> and it worked just fine. I would recommend using the native gluster >> mount >> option (need to install gluster soft

Re: [Dovecot] distributed mdbox

2012-03-23 Thread Timo Sirainen
On 23.3.2012, at 19.11, Stan Hoeppner wrote: > I assume you do still have some minor locking/performance issues with > the INBOX, even with Director, when LDA and the user MUA are both > hitting the INBOX index and mbox files. You'll still see this with > mdbox, but probably to a lesser degree if

Re: [Dovecot] distributed mdbox

2012-03-23 Thread Stan Hoeppner
On 3/23/2012 7:13 AM, Jim Lawson wrote: > On 3/23/12 3:13 AM, Stan Hoeppner wrote: > >>> Speaking as an admin who has run Dovecot on top of GFS both with and >>> without the director, I would never go back to a cluster without the >>> director. The cluster performs *so* much better when glocks ca

Re: [Dovecot] distributed mdbox

2012-03-23 Thread Timo Sirainen
On 23.3.2012, at 15.39, wrote: > I was able to get dovecot working across a gluster cluster a few weeks ago > and it worked just fine. I would recommend using the native gluster mount > option (need to install gluster software on clients), and using distributed > replicated as your replication

Re: [Dovecot] distributed mdbox

2012-03-23 Thread list
On Wed, 21 Mar 2012 09:56:12 -0600, James Devine wrote: > Anyone know how to setup dovecot with mdbox so that it can be used through > shared storage from multiple hosts? I've setup a gluster volume and am > sharing it between 2 test clients. I'm using postfix/dovecot LDA for > delivery and I'm

Re: [Dovecot] distributed mdbox

2012-03-23 Thread Jim Lawson
On 3/23/12 3:13 AM, Stan Hoeppner wrote: >> Speaking as an admin who has run Dovecot on top of GFS both with and >> without the director, I would never go back to a cluster without the >> director. The cluster performs *so* much better when glocks can be >> cached on a single node, and this can't

Re: [Dovecot] distributed mdbox

2012-03-23 Thread Stan Hoeppner
On 3/22/2012 11:17 AM, Jim Lawson wrote: > On 03/22/2012 12:11 AM, Stan Hoeppner wrote: >> On 3/21/2012 12:04 PM, Timo Sirainen wrote: >>> The problem is most likely the same as with NFS: Server A caches data -> >>> server B modifies data -> server A modifies data using stale cached state >>> ->

Re: [Dovecot] distributed mdbox

2012-03-22 Thread Jim Lawson
On 03/22/2012 12:11 AM, Stan Hoeppner wrote: > On 3/21/2012 12:04 PM, Timo Sirainen wrote: >> The problem is most likely the same as with NFS: Server A caches data -> >> server B modifies data -> server A modifies data using stale cached state -> >> corruption. Glusterfs works with FUSE, and FUSE

Re: [Dovecot] distributed mdbox

2012-03-21 Thread Stan Hoeppner
On 3/21/2012 12:04 PM, Timo Sirainen wrote: > The problem is most likely the same as with NFS: Server A caches data -> > server B modifies data -> server A modifies data using stale cached state -> > corruption. Glusterfs works with FUSE, and FUSE has quite similar problems as > NFS. > > With d

Re: [Dovecot] distributed mdbox

2012-03-21 Thread Timo Sirainen
The problem is most likely the same as with NFS: Server A caches data -> server B modifies data -> server A modifies data using stale cached state -> corruption. Glusterfs works with FUSE, and FUSE has quite similar problems as NFS. With director you guarantee that the same mailbox isn't access

Re: [Dovecot] distributed mdbox

2012-03-21 Thread James Devine
Also I don't seem to get these errors with a single dovecot machine using the shared storage and it looks like there are multiple simultaneous delivery processes running On Wed, Mar 21, 2012 at 10:25 AM, James Devine wrote: > > > On Wed, Mar 21, 2012 at 10:05 AM, Timo Sirainen wrote: > >> On 21

Re: [Dovecot] distributed mdbox

2012-03-21 Thread James Devine
On Wed, Mar 21, 2012 at 10:05 AM, Timo Sirainen wrote: > On 21.3.2012, at 17.56, James Devine wrote: > > > Anyone know how to setup dovecot with mdbox so that it can be used > through > > shared storage from multiple hosts? I've setup a gluster volume and am > > sharing it between 2 test clients

Re: [Dovecot] distributed mdbox

2012-03-21 Thread Timo Sirainen
On 21.3.2012, at 17.56, James Devine wrote: > Anyone know how to setup dovecot with mdbox so that it can be used through > shared storage from multiple hosts? I've setup a gluster volume and am > sharing it between 2 test clients. I'm using postfix/dovecot LDA for > delivery and I'm using postal

[Dovecot] distributed mdbox

2012-03-21 Thread James Devine
Anyone know how to setup dovecot with mdbox so that it can be used through shared storage from multiple hosts? I've setup a gluster volume and am sharing it between 2 test clients. I'm using postfix/dovecot LDA for delivery and I'm using postal to send mail between 40 users. In doing this, I'm s