[Dovecot] Strange issue in NFS
Hi Timo...
It's happens some strange issue with my maildir using NFS.
If i use a Local Hard disk, i don't get any of this messages about memory error.
Jan 12 10:57:50 brc dovecot: imap(alex@exemplo.com.br): Error: opendir(/storage/nfs/3/emexis/messages/ exemplo.com.br/alex/Maildir/.Drafts/new) failed: Cannot allocate memory Jan 12 10:57:51 brc last message repeated 4 times Jan 12 10:57:59 brc dovecot: imap(alex@exemplo.com.br): Fatal: block_alloc(262144): Out of memory Jan 12 10:57:59 brc dovecot: imap(alex@exemplo.com.br): Error: Raw backtrace: /opt/addons/lib/dovecot/libdovecot.so.0 [0xb768fcbe] -> /opt/addons/lib/dovecot/libdovecot.so.0 [0xb768fd1d] -> /opt/addons/lib/dovecot/libdovecot.so.0 [0xb768f273] -> /opt/addons/lib/dovecot/libdovecot.so.0 [0xb76a0183] -> /opt/addons/lib/dovecot/libdovecot.so.0 [0xb76a01cc] -> /opt/addons/lib/dovecot/libdovecot.so.0(p_strdup+0x40) [0xb76ad980] -> /opt/addons/lib/dovecot/libdovecot-storage.so.0(maildir_save_add+0x7c) [0xb7717f0c] -> /opt/addons/lib/dovecot/libdovecot-storage.so.0(maildir_copy+0x18d) [0xb7719bbd] -> /opt/addons/lib/dovecot/lib20_emexis_uis_plugin.so [0xb74fda6a] -> /opt/addons/lib/dovecot/libdovecot-storage.so.0(mailbox_copy+0x58) [0xb76ea258] -> dovecot/imap(cmd_copy+0x1cf) [0x804f87f] -> dovecot/imap(cmd_uid+0x7f) [0x80551bf] -> dovecot/imap [0x8055f0c] -> dovecot/imap [0x8055fbb] -> dovecot/imap(client_handle_input+0x3f) [0x805610f] -> dovecot/imap(client_input+0x5f) [0x8056acf] -> /opt/addons/lib/dovecot/libdo Jan 12 10:57:59 brc dovecot: master: Error: service(imap): child 28315 returned error 83 (Out of memory (vsz_limit=256 MB, you may need to increase it))
I Try to increase the vsz_limit in imap to 2048 MB, and i try too , put 0 MB (like no limit) and i still get this same error (only change the vsz_limit to my write limit).
What is most used "Shared Disk" in Dovecot ?
Tks Timo !!
On Wed, 2011-01-12 at 11:08 -0200, Alex Baule wrote:
Jan 12 10:57:50 brc dovecot: imap(alex@exemplo.com.br): Error: opendir(/storage/nfs/3/emexis/messages/ exemplo.com.br/alex/Maildir/.Drafts/new) failed: Cannot allocate memory
I've never seen opendir() fail with ENOMEM before.
Jan 12 10:57:51 brc last message repeated 4 times Jan 12 10:57:59 brc dovecot: imap(alex@exemplo.com.br): Fatal: block_alloc(262144): Out of memory
My guess: You're going into infinite loop somewhere that keeps allocating memory.
What is most used "Shared Disk" in Dovecot ?
People use NFS, GFS2, OCFS2, etc.
There is Strange....
Jan 19 13:15:54 brc dovecot: imap(alex@exemplo.com.br): Error: mremap_anon(3166208) failed: Cannot allocate memory Jan 19 13:15:54 brc dovecot: imap(alex@exemplo.com.br): Error: mremap_anon(3231744) failed: Cannot allocate memory Jan 19 13:15:54 brc dovecot: imap(alex@exemplo.com.br): Error: mremap_anon(3293184) failed: Cannot allocate memory Jan 19 13:15:55 brc dovecot: imap(alex@exemplo.com.br): Error: mremap_anon(3424256) failed: Cannot allocate memory Jan 19 13:15:55 brc dovecot: imap(alex@exemplo.com.br): Error: mremap_anon(3555328) failed: Cannot allocate memory Jan 19 13:15:55 brc dovecot: imap(alex@exemplo.com.br): Error: mremap_anon(3633152) failed: Cannot allocate memory Jan 19 13:15:55 brc dovecot: imap(alex@exemplo.com.br): Error: mremap_anon(3686400) failed: Cannot allocate memory Jan 19 13:15:56 brc dovecot: imap(alex@exemplo.com.br): Error: mremap_anon(3948544) failed: Cannot allocate memory Jan 19 13:15:56 brc dovecot: imap(alex@exemplo.com.br): Error: mremap_anon(4005888) failed: Cannot allocate memory Jan 19 13:15:57 brc dovecot: imap(alex@exemplo.com.br): Error: mremap_anon(3141632) failed: Cannot allocate memory Jan 19 13:15:57 brc dovecot: imap(alex@exemplo.com.br): Error: read() failed with file /storage/nfs/3/emexis/messages/ exemplo.com.br/alex/Maildir/dovecot.index.cache: Cannot allocate memory Jan 19 13:15:57 brc dovecot: imap(alex@exemplo.com.br): Error: opendir(/storage/nfs/3/emexis/messages/exemplo.com.br/alex/Maildir/new) failed: Cannot allocate memory
That can be a nfs client error ? Something like error in nfs client with memory allocation ?
2011/1/16 Timo Sirainen <tss@iki.fi>
On Wed, 2011-01-12 at 11:08 -0200, Alex Baule wrote:
Jan 12 10:57:50 brc dovecot: imap(alex@exemplo.com.br): Error: opendir(/storage/nfs/3/emexis/messages/ exemplo.com.br/alex/Maildir/.Drafts/new) failed: Cannot allocate memory
I've never seen opendir() fail with ENOMEM before.
Jan 12 10:57:51 brc last message repeated 4 times Jan 12 10:57:59 brc dovecot: imap(alex@exemplo.com.br): Fatal: block_alloc(262144): Out of memory
My guess: You're going into infinite loop somewhere that keeps allocating memory.
What is most used "Shared Disk" in Dovecot ?
People use NFS, GFS2, OCFS2, etc.
participants (2)
-
Alex Baule
-
Timo Sirainen