Re: Director+NFS Experiences

2017-03-03 Thread Alessio Cecchi
Il 23/02/2017 23:08, Mark Moseley ha scritto: As someone who is about to begin the process of moving from maildir to mdbox on NFS (and therefore just about to start the 'director-ization' of everything) for ~6.5m mailboxes, I'm curious if anyone can share any experiences with it. The list is surp

Re: Director+NFS Experiences

2017-02-27 Thread Tom Sommer
On 2017-02-27 10:40, Sami Ketola wrote: On 24 Feb 2017, at 21.28, Mark Moseley wrote: Attached. No claims are made on the quality of my code :) With recent dovecots you probably should not use set_host_weight( server, '0’ ) to mark backend down but instead should use director commands HOST-D

Re: Director+NFS Experiences

2017-02-27 Thread Sami Ketola
> On 24 Feb 2017, at 21.28, Mark Moseley wrote: > Attached. No claims are made on the quality of my code :) > With recent dovecots you probably should not use set_host_weight( server, '0’ ) to mark backend down but instead should use director commands HOST-DOWN and HOST-UP in combination wi

Re: Director+NFS Experiences

2017-02-25 Thread Timo Sirainen
On 25 Feb 2017, at 17.52, Tanstaafl wrote: > > On Fri Feb 24 2017 14:41:17 GMT-0500 (Eastern Standard Time), Francisco > Wagner C. Freire wrote: >> In our experience. A ring with more of 4 servers is bad, we have sync >> problems everyone. Using 4 or less works perfect. > > Since this contradi

Re: Director+NFS Experiences

2017-02-25 Thread Tanstaafl
On Fri Feb 24 2017 14:41:17 GMT-0500 (Eastern Standard Time), Francisco Wagner C. Freire wrote: > In our experience. A ring with more of 4 servers is bad, we have sync > problems everyone. Using 4 or less works perfect. Since this contradicts Timo's recommendation not to use more than 10, it sou

Re: Director+NFS Experiences

2017-02-24 Thread Zhang Huangbin
> On Feb 25, 2017, at 3:28 AM, Mark Moseley wrote: > > Attached. No claims are made on the quality of my code :) Thank you for sharing. :) Some suggestions: - should replace log() by the standard logging module like "logging.debug(xx)” - add managesieve support - add lmtp support - how about

Re: Director+NFS Experiences

2017-02-24 Thread Mark Moseley
On Fri, Feb 24, 2017 at 11:41 AM, Francisco Wagner C. Freire < wgrcu...@gmail.com> wrote: > In our experience. A ring with more of 4 servers is bad, we have sync > problems everyone. Using 4 or less works perfect. > > Em 24 de fev de 2017 4:30 PM, "Mark Moseley" > escreveu: > >> > >> > On Thu, F

Re: Director+NFS Experiences

2017-02-24 Thread Timo Sirainen
On 24 Feb 2017, at 21.29, Mark Moseley wrote: > > Feb 12 06:25:03 director: Warning: director(10.1.20.3:9090/left): Host > 10.1.17.3 is being updated before previous update had finished (up -> down) > - setting to state=down vhosts=0 > Feb 12 06:25:03 director: Warning: director(10.1.20.3:9090/le

Re: Director+NFS Experiences

2017-02-24 Thread Francisco Wagner C. Freire
In our experience. A ring with more of 4 servers is bad, we have sync problems everyone. Using 4 or less works perfect. Em 24 de fev de 2017 4:30 PM, "Mark Moseley" escreveu: > > > > On Thu, Feb 23, 2017 at 3:15 PM, Timo Sirainen wrote: > > > >> On 24 Feb 2017, at 0.08, Mark Moseley wrote: >

Re: Director+NFS Experiences

2017-02-24 Thread Mark Moseley
> > On Thu, Feb 23, 2017 at 3:15 PM, Timo Sirainen wrote: > >> On 24 Feb 2017, at 0.08, Mark Moseley wrote: >> > >> > As someone who is about to begin the process of moving from maildir to >> > mdbox on NFS (and therefore just about to start the 'director-ization' >> of >> > everything) for ~6.5m

Re: Director+NFS Experiences

2017-02-24 Thread Mark Moseley
On Thu, Feb 23, 2017 at 3:45 PM, Zhang Huangbin wrote: > > > On Feb 24, 2017, at 6:08 AM, Mark Moseley wrote: > > > > * Do you use the perl poolmon script or something else? The perl script > was > > being weird for me, so I rewrote it in python but it basically does the > > exact same things. >

Re: Director+NFS Experiences

2017-02-23 Thread Zhang Huangbin
> On Feb 24, 2017, at 6:08 AM, Mark Moseley wrote: > > * Do you use the perl poolmon script or something else? The perl script was > being weird for me, so I rewrote it in python but it basically does the > exact same things. Would you mind sharing it? :) Zhang Huangbin, founder of iRedMa

Re: Director+NFS Experiences

2017-02-23 Thread Mark Moseley
On Thu, Feb 23, 2017 at 3:15 PM, Timo Sirainen wrote: > On 24 Feb 2017, at 0.08, Mark Moseley wrote: > > > > As someone who is about to begin the process of moving from maildir to > > mdbox on NFS (and therefore just about to start the 'director-ization' of > > everything) for ~6.5m mailboxes, I

Re: Director+NFS Experiences

2017-02-23 Thread Timo Sirainen
On 24 Feb 2017, at 0.08, Mark Moseley wrote: > > As someone who is about to begin the process of moving from maildir to > mdbox on NFS (and therefore just about to start the 'director-ization' of > everything) for ~6.5m mailboxes, I'm curious if anyone can share any > experiences with it. The lis

Director+NFS Experiences

2017-02-23 Thread Mark Moseley
As someone who is about to begin the process of moving from maildir to mdbox on NFS (and therefore just about to start the 'director-ization' of everything) for ~6.5m mailboxes, I'm curious if anyone can share any experiences with it. The list is surprisingly quiet about this subject, and articles