Re: [Dovecot] mail_fsync=never doesn't work?

2010-09-28 Thread Attila Nagy
On 09/28/2010 07:06 PM, Timo Sirainen wrote: On Tue, 2010-09-28 at 19:03 +0200, Attila Nagy wrote: On 09/28/2010 05:09 PM, Timo Sirainen wrote: On Tue, 2010-09-28 at 08:29 +0200, Attila Nagy wrote: Sadly, I'm one of them. Currently during the provisioning it's not guaranteed that a user will

Re: [Dovecot] mail_fsync=never doesn't work?

2010-09-28 Thread Charles Marcus
On 2010-09-28 1:06 PM, Timo Sirainen wrote: > Oh well. That also means then that my future autocreate plugin won't > work with your webmail, because it doesn't physically create the > mailboxes. This should be handled by the user management system anyway. Just auto-create the required folders whe

Re: [Dovecot] mail_fsync=never doesn't work?

2010-09-28 Thread Timo Sirainen
On Tue, 2010-09-28 at 19:03 +0200, Attila Nagy wrote: > On 09/28/2010 05:09 PM, Timo Sirainen wrote: > > On Tue, 2010-09-28 at 08:29 +0200, Attila Nagy wrote: > > > >> Sadly, I'm one of them. Currently during the provisioning it's not > >> guaranteed that a user will have a mailbox in the file syst

Re: [Dovecot] mail_fsync=never doesn't work?

2010-09-28 Thread Attila Nagy
On 09/28/2010 05:09 PM, Timo Sirainen wrote: On Tue, 2010-09-28 at 08:29 +0200, Attila Nagy wrote: Sadly, I'm one of them. Currently during the provisioning it's not guaranteed that a user will have a mailbox in the file system, so autocreating it during pop logins is a bless. :) But POP3 doe

Re: [Dovecot] mail_fsync=never doesn't work?

2010-09-28 Thread Timo Sirainen
On Tue, 2010-09-28 at 08:29 +0200, Attila Nagy wrote: > Sadly, I'm one of them. Currently during the provisioning it's not > guaranteed that a user will have a mailbox in the file system, so > autocreating it during pop logins is a bless. :) But POP3 doesn't use anything except INBOX, so why do

Re: [Dovecot] mail_fsync=never doesn't work?

2010-09-27 Thread Attila Nagy
On 09/27/10 23:26, Timo Sirainen wrote: Thanks! But shouldn't "Avoid fsyncing subscriptions file when it doesn't change or if mail_fsync=never." be "Avoid re-writing subscriptions file when it doesn't change and fsyncing it if mail_fsync=never."? I mean (I haven't read the code context) if you

Re: [Dovecot] mail_fsync=never doesn't work?

2010-09-27 Thread Timo Sirainen
On 27.9.2010, at 20.13, Attila Nagy wrote: >>> I've searched for some more examples and each of them were like this >>> one. It seems that Dovecot copies the subscriptions file to this >>> temporary file and then fsyncs it. And the question also arises: why? >> Fixed: http://hg.dovecot.org/dovecot

Re: [Dovecot] mail_fsync=never doesn't work?

2010-09-27 Thread Attila Nagy
On 09/27/2010 04:52 PM, Timo Sirainen wrote: On Mon, 2010-09-27 at 16:31 +0200, Attila Nagy wrote: doveconf -n: mail_plugins = $mail_plugins quota One annoying problem about v2.0's doveconf -n output is that it hides when using multiple var=$var lines.. Did you have more plugins than just quot

Re: [Dovecot] mail_fsync=never doesn't work?

2010-09-27 Thread Timo Sirainen
On Mon, 2010-09-27 at 16:31 +0200, Attila Nagy wrote: > doveconf -n: > mail_plugins = $mail_plugins quota One annoying problem about v2.0's doveconf -n output is that it hides when using multiple var=$var lines.. Did you have more plugins than just quota enabled? > Should I set mail_fsync for onl

Re: [Dovecot] mail_fsync=never doesn't work?

2010-09-27 Thread Attila Nagy
On 09/27/10 15:48, Timo Sirainen wrote: On Mon, 2010-09-27 at 10:09 +0200, Attila Nagy wrote: I've tried to set the above in Dovecot 2.0.3, but according to ktrace (FreeBSD) it still fsync()s a lot (pop3 processes for example). Is this switch useful at all? I did a quick test and didn't see a

Re: [Dovecot] mail_fsync=never doesn't work?

2010-09-27 Thread Timo Sirainen
On Mon, 2010-09-27 at 10:09 +0200, Attila Nagy wrote: > I've tried to set the above in Dovecot 2.0.3, but according to ktrace > (FreeBSD) it still fsync()s a lot (pop3 processes for example). > Is this switch useful at all? I did a quick test and didn't see any fsyncs. Can you find out what file

[Dovecot] mail_fsync=never doesn't work?

2010-09-27 Thread Attila Nagy
Hello, I've tried to set the above in Dovecot 2.0.3, but according to ktrace (FreeBSD) it still fsync()s a lot (pop3 processes for example). Is this switch useful at all?