Timo Sirainen wrote:
On Wed, 2009-09-30 at 11:48 -0400, Timo Sirainen wrote:
So it basically just issues NOOP commands and does no disk I/O (opens no index files or anything). Looks like each imap process uses about 420 kB of memory (420 MB total according to "free" before/after). That's actually more than I thought. Wonder if I could decrease it..
Actually imaptest was using about 50 MB and other Dovecot processes maybe 5-10 MB, so it was more like 360 kB per imap process. Slightly better but I think it could still lose 100-200 kB :)
On our live system we've got 1255 concurrent IMAP processes with an average of 732KB private memory each (the rest of the memory should be shared), but they're not (all) idle :)
(using Solaris 8 pmap command: "pgrep imap | xargs -i pmap -x {} | awk '/^total/{tot+=$6;num++}END{print tot, num, tot/num}'")
Best Wishes, Chris
-- --+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+- Christopher Wakelin, c.d.wakelin@reading.ac.uk IT Services Centre, The University of Reading, Tel: +44 (0)118 378 8439 Whiteknights, Reading, RG6 2AF, UK Fax: +44 (0)118 975 3094