[Dovecot] dovecot mmap() complaints: No such device
29 Mar
2007
29 Mar
'07
6:26 a.m.
I'm trying to use dovecot-deliver with sieve plugin, delivering to Maildirs. Everything seems working O.K., but I'm getting the following lines in /var/log/maillog:
Mar 29 00:06:00 alt64 dovecot: imap-login: Login: user=<seriv>, method=PLAIN, rip=66.80.117.2, lip=192.168.10.8, TLS Mar 29 00:06:00 alt64 dovecot: IMAP(seriv): mmap() failed with index file /home/seriv/.imap/dovecot.index: No such device ... Mar 29 00:06:19 alt64 deliver(seriv): mmap() failed with index file /home/seriv/.imap/dovecot.index: No such device Mar 29 00:06:19 alt64 deliver(seriv): msgid=<460B3B13.7010000@omniti.com>: saved mail to INBOX Mar 29 00:06:19 alt64 postfix/local[15166]: 6294A141C269: to=<seriv@alt64.menlo>, relay=local, delay=0.24, delays=0.03/0.01/0/0.2, dsn=2.0.0, status=sent (delivered to command: /usr/lib64/dovecot/deliver -d ${USER}) Mar 29 00:06:19 alt64 postfix/qmgr[20933]: 6294A141C269: removed
I have tried to enable rawlog, but have corresponding rawlog file do not explain the problem for me:
3 select "INBOX" 4 UID fetch 1:* (FLAGS) 5 UID fetch 43498:43501 (UID RFC822.SIZE FLAGS BODY.PEEK[HEADER.FIELDS (From To Cc Subject Date Message-ID Priority X-Priority References Newsgroups In-Reply-To Content-Type)]) 6 UID fetch 43500 (UID RFC822.SIZE BODY.PEEK[]) 7 uid store 43500 +FLAGS (NonJunk) 8 IDLE
Dovecot compiled from cvs branch_1_0 at March 25.
$ sudo dovecot -n Password: # /etc/dovecot/dovecot.conf ssl_cert_file: /etc/postfix/cert.pem ssl_key_file: /etc/postfix/key.pem login_dir: /var/run/dovecot/login login_executable: /usr/lib64/dovecot/imap-login mail_extra_groups: mail mail_location: maildir:/home/%u/.imap mail_executable: /usr/lib64/dovecot/rawlog /usr/lib64/dovecot/imap auth default: passdb: driver: pam userdb: driver: passwd socket: type: listen client: path: /var/spool/postfix/private/auth mode: 432 user: postfix group: postfix master: path: /var/run/dovecot/auth-master mode: 438
/home mounted as zfs-fuse filesystem. I guess the problem due to fuse mounted filesystem.
-- With best regards, Sergey Ivanov.
29 Mar
29 Mar
8:56 a.m.
On Thu, 2007-03-29 at 00:26 -0400, sergey ivanov wrote:
Mar 29 00:06:00 alt64 dovecot: IMAP(seriv): mmap() failed with index file /home/seriv/.imap/dovecot.index: No such device
ENODEV The underlying filesystem of the specified file does not
support memory mapping.
What OS/filesystem are you using? Anyway, mmap_disable=yes helps.
1:34 p.m.
Excuse me, I've forgotten to write: it's linux, and filesystem is fuse mounted zfs volume, see http://www.wizy.org. After uncommenting mmap_disable line in dovecot.conf, changing 'no' to 'yes' and restarting dovecot thre are no new complaints in logs. Thank you.
Sergey Ivanov
Timo Sirainen wrote:
On Thu, 2007-03-29 at 00:26 -0400, sergey ivanov wrote:
Mar 29 00:06:00 alt64 dovecot: IMAP(seriv): mmap() failed with index file /home/seriv/.imap/dovecot.index: No such device
ENODEV The underlying filesystem of the specified file does not
support memory mapping.
What OS/filesystem are you using? Anyway, mmap_disable=yes helps.
6502
Age (days ago)
6502
Last active (days ago)
2 comments
2 participants
participants (2)
-
sergey ivanov
-
Timo Sirainen