[Dovecot] index file vs. memory
Gunter Ohrner
G.Ohrner at post.rwth-aachen.de
Thu Feb 23 19:20:05 EET 2006
Am Mittwoch, 22. Februar 2006 15:00, schrieb Timo Sirainen:
> Create ~/dovecot.rawlog directory.
Ok, now it works and is rather enlightening.
I wasn't able to create a good testcase yet, especially as my "server"
gets THAT slow with rawlog enabled that I'll set up a dovecot test
installation on my AMD64 workstation instead. This machine is also fast
enough to run meaningful tests with the Valgrind memcheck skin.
However, the rawlog revealed one rason, why kMail might behave differently
than the tests suggested so far: Besides moving, marking and deleting
messages, kMail also *searches* all messages which are modified: kMail
remebers the last search done in a kind of virtual folder which seems to
be updated constantly. This causes kmail to issue thousands of search
commands of thousands of messages are involved in an operation... So
maybe the bug in dovecot itself is a small leak in command processing,
and the heap grows command for command by a few bytes which could explain
the relatively slow growth experienced by others and the relatively huge
growth seen by me...
Copying / moving is also done with hundrets of individual commands, each
command listing about 10 article numbers or ranges. I guess kMail
copies / moves the messages in the order in which they are displayed and
only uses ranges inside the number lists if some messages displayed
coincidentially span a range of message numbers.
Greetings,
Gunter
--
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Nevertheless Christoph has a point even if its hidden behind a George
Bush approach to diplomacy. -- Alax Cox versucht einen
aufkeimenden Flamewar zu löschen ;)
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+ PGP-verschlüsselte Mails bevorzugt! +
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://dovecot.org/pipermail/dovecot/attachments/20060223/a6d2d76c/attachment.pgp
More information about the dovecot
mailing list