[Dovecot] Out of memory
Uldis Pakuls
neko at it4u.lv
Tue Jan 13 20:06:27 EET 2009
For large mailboxes (64k + messages) using maildir I got random "out
of memory" errors.
[mail addresses hidden]
dovecot: Dec 05 18:25:27 Error: IMAP(****@****): block_alloc(): Out of memory
dovecot: Dec 05 18:25:27 Error: child 14142 (imap) returned error 83 (Out of memory)
dovecot: Dec 05 18:27:29 Error: IMAP(****@****): file maildir-uidlist.c: line 1117 (maildir_uidlist_sync_deinit): assertion failed: (ctx->locked)
dovecot: Dec 05 18:27:29 Error: IMAP(****@****): Raw backtrace: imap [0x5555555bd6fe] -> imap [0x5555555bd43e] -> imap [0x55555557dd57] -> imap [0x55555557c026] -> imap(maildir_storage_sync_force+0x43) [0x55555557c2b3] -> imap(maildir_storage_sync_init+0xc2) [0x55555557c3e2] -> imap(imap_sync_nonselected+0xf) [0x55555557533f] -> imap(_cmd_select_full+0xc5) [0x55555556da05] -> imap(cmd_select+0xb) [0x55555556db9b] -> imap [0x55555556eee7] -> imap [0x55555556ef79] -> imap(_client_input+0x6f) [0x55555556f61f] -> imap(io_loop_handler_run+0x108) [0x5555555c2f38] -> imap(io_loop_run+0x18) [0x5555555c20f8] -> imap(main+0x41b) [0x5555555770fb] -> /lib64/libc.so.6(__libc_start_main+0xf4) [0x2b02fcb30b54] -> imap [0x55555556a6e9]
dovecot: Dec 05 18:27:29 Error: child 14144 (imap) killed with signal 6
dovecot: Dec 05 18:27:37 Error: IMAP(****@****): block_alloc(): Out of memory
dovecot: Dec 05 18:27:37 Error: child 14211 (imap) returned error 83 (Out of memory)
dovecot: Dec 05 18:29:41 Error: IMAP(****@****): block_alloc(): Out of memory
dovecot: Dec 05 18:29:41 Error: child 14215 (imap) returned error 83 (Out of memory)
dovecot: Dec 05 18:31:46 Error: IMAP(****@****): block_alloc(): Out of memory
dovecot: Dec 05 18:31:46 Error: child 14248 (imap) returned error 83 (Out of memory)
dovecot: Dec 05 18:33:50 Error: IMAP(****@****): block_alloc(): Out of memory
dovecot: Dec 05 18:33:50 Error: child 14345 (imap) returned error 83 (Out of memory)
dovecot: Dec 05 18:35:55 Error: IMAP(****@****): block_alloc(): Out of memory
dovecot: Dec 05 18:35:55 Error: child 14406 (imap) returned error 83 (Out of memory)
dovecot: Dec 05 18:37:59 Error: IMAP(****@****): block_alloc(): Out of memory
dovecot 1.0.17
mail_prcosess_size = 256
ulimit -a :
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 73728
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) 6959460
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 73728
virtual memory (kbytes, -v) 9910880
file locks (-x) unlimited
cat /proc/meminfo :
MemTotal: 8187540 kB
MemFree: 353060 kB
Buffers: 737968 kB
Cached: 5094700 kB
SwapCached: 20 kB
Active: 4255100 kB
Inactive: 2787980 kB
SwapTotal: 4200988 kB
SwapFree: 4192956 kB
Dirty: 20184 kB
Writeback: 124 kB
AnonPages: 1165756 kB
Mapped: 60472 kB
Slab: 686100 kB
SReclaimable: 591232 kB
SUnreclaim: 94868 kB
PageTables: 31408 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
CommitLimit: 8294756 kB
Committed_AS: 3417584 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 91040 kB
VmallocChunk: 34359645611 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
Hugepagesize: 2048 kB
What I need to configure to increase available resources? What else I
can done?
Uldis
More information about the dovecot
mailing list