From: Timo Sirainen Date: Wed, 28 Apr 2004 00:27:42 +0000 (+0300) Subject: updated for mmap changes X-Git-Tag: 1.1.alpha1~4188 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4450c0b8ac83c1520bfd1592c30ee8b5545c4f0c;p=thirdparty%2Fdovecot%2Fcore.git updated for mmap changes --HG-- branch : HEAD --- diff --git a/dovecot-example.conf b/dovecot-example.conf index 4fa759ce4a..9dea0ded5d 100644 --- a/dovecot-example.conf +++ b/dovecot-example.conf @@ -247,6 +247,14 @@ # Note that OpenBSD 3.3 and older don't work right with mail_read_mmaped = yes. #mail_read_mmaped = no +# Don't use mmap() at all. This is required if you store indexes in remote +# filesystems (NFS or clustered filesystem). +#mmap_disable = no + +# Don't write() to mmaped files. This is required for some operating systems +# which use separate caches for them, such as OpenBSD. +#mmap_no_write = no + # Copy mail to another folders using hard links. This is much faster than # actually copying the file. This is problematic only if something modifies # the mail in one folder but doesn't want it modified in the others. I don't @@ -297,11 +305,6 @@ # for multiple users, as the users could ptrace() each others processes then. #mail_drop_priv_before_exec = no -# Call mmap() with MS_INVALIDATE flag each time before accessing message -# indexes. This is currently required with OpenBSD 3.3 and older versions. -# It's also required if you insist on saving index files over NFS. -#index_mmap_invalidate = no - # Set max. process size in megabytes. Most of the memory goes to mmap()ing # files, so it shouldn't harm much even if this limit is set pretty high. #mail_process_size = 256