Well, to be clear, caching is turned off on my installation. Everything is on the same box, so caching wouldn't serve any real purpose for me, so its off.

Now, perhaps the caching code is still at fault here. As far as I understand IMAP, viewing a particular message should be as simple as saying "IMAP server, give me message #xxxxx please" and it gives that message's data. Isn't that right?

If I am correct that Roundcube is processing through the mailbox in some other way, perhaps it is related to the caching code (that would seem to make sense). I just turned caching on to see if that changed the results, but it didn't. Still the same escalation of memory and timing out.

Odd. What is more complicated here than Roundcube asking the IMAP server for a particular message? It should be cake to get the data for a 5K message back from the IMAP server, regardless of the size of the box its coming from. Why on earth would the httpd process climb to 80MB+ in order to do that?

On Feb 24, 2006, at 1:22 PM, Sjon wrote:

If the caching-mechanism of Roundcube decreases the performance of the application instead of increasing it; it might be a good idea to improve the caching-mechanism! :) I hope to be able to spend some time on it this weekend; any additional information on the implementation and ideas behind Roundcube current or preferred way of caching would be appreciated

phil wrote:
On Fri, 24 Feb 2006 11:09:47 -0800, Mark Edwards <[EMAIL PROTECTED]> wrote:
Roundcube seems to have some difficulty dealing with large mailboxes
(large meaning thousands of messages). It can manage indexing one of these, but if I try to actually show a message in a large mailbox, it
basically hangs.

When this happens, the browser just sits there waiting for a reply,
and I can do a 'top' on the server and watch the apache process just
eat up memory until it finally dies.

It seems that Roundcube is digging through the mail and not releasing
memory in some way, which becomes a problem as the mailbox size gets
large.  At least that's my theory.

Does anyone else observe this?  This is with Apache 1.3.34, PHP
5.1.2, MySQL 4.1.18 and Cyrus 2.2.12, running on FreeBSD 4.11p14.
Is your SMTP server on the same box? If so, turn off caching in the config, that helped me out. For record, I have ~1100 messages in my Roundcube folder, and switching from/to this directory seems quick. Oh, and I"m on Freebsd 6.0 with mySQL 4.x, Apache2, Dovecot 0.9 If that doesn't help - what does /var/log/maillog say when this is occuring?
P




--
Mark Edwards




Reply via email to