Actually, I've messed with the patch a little more, as my initial testing was insufficient. Here's what I've found:
Maybe you patched an older version of Roundcube?
rest of the patch.
Maybe I'm missing something, but I had to manually load the patch as 'patch' got very confused on line 6, for whatever reason. Any ideas? Has anyone else noticed this issue?
Ethan
-----Original Message----- From: Pieter Hoekstra [mailto:pieter@5137.org] Sent: Saturday, November 19, 2005 1:16 PM To: Ethan Erchinger Cc: dev@lists.roundcube.net Subject: Re: Large folders not displaying messages
Hi!
I've experienced the same problem, but noticed also that Ilohamail did not have this problem. I've created a patch witch solves the problem. With this patch, only the displayed messages will be retrieved from the server.
But this patch only allows sorting *within* a page, not through the entire mail!! (I think if one would want to really solve the problem, server side sorting should be implemented)
I hope it helpes!
Pieter.
Ethan Erchinger schreef:
Hello,
I've recently setup Roundcube, and it feels great, fine work! I'm using BincIMAP and/or Dovecot (both which show the same problem). The
problem being when I try to enter a folder in Roundcube with 2k+ messages it doesn't not show messages in the given folder. Sometimes leaving and reentering that folder will display a list of emails, but most of the time not.
Running an strace on binc I see it reading the requested directory for
files and parsing those files for details. Before it completes Roundcube returns with an empty "mailbox", and the "Loading" message disappears from the top of the browser.
I noticed some AlohaMail IMAP code being used, and don't remember having this problem with that MUA, but that was quite a while ago, with a far different setup.
Server: Roundcube (20051021), Linux 2.6, MySQL 5.0.15, BincIMAP 1.2.13final (Maildir++) on JFS (without Auth or SSL), Apache 2.0.55 w/PHP 5.0.4
Client: Windows XP, Firefox 1.5rc3 (though the problem is seen on Firefox 1.0.x, and IE 6)
Any help would be appreciated, and let me know if you'd like any further details.
Thanks, Ethan
I'm using the CVS version, that's where the patch is for. Could you try with the CVS version?
I would like to know as well, if anybody else has this performance problems. If so, it would be really interesting to implement server side sorting! (This hasn't been implemented yet, right?) Maybe interesting for the Ilohamail project as well, if they haven't already??
Pieter.
Ethan Erchinger schreef:
Actually, I've messed with the patch a little more, as my initial testing was insufficient. Here's what I've found:
- The $headers_count line doesn't exist anywhere in my imap.inc file.
Maybe you patched an older version of Roundcube?
- I'm still getting some folders that don't show messages, using the
rest of the patch.
Maybe I'm missing something, but I had to manually load the patch as 'patch' got very confused on line 6, for whatever reason. Any ideas? Has anyone else noticed this issue?
Ethan
-----Original Message----- From: Pieter Hoekstra [mailto:pieter@5137.org] Sent: Saturday, November 19, 2005 1:16 PM To: Ethan Erchinger Cc: dev@lists.roundcube.net Subject: Re: Large folders not displaying messages
Hi!
I've experienced the same problem, but noticed also that Ilohamail did not have this problem. I've created a patch witch solves the problem. With this patch, only the displayed messages will be retrieved from the server.
But this patch only allows sorting *within* a page, not through the entire mail!! (I think if one would want to really solve the problem, server side sorting should be implemented)
I hope it helpes!
Pieter.
Ethan Erchinger schreef:
Hello,
I've recently setup Roundcube, and it feels great, fine work! I'm using BincIMAP and/or Dovecot (both which show the same problem). The
problem being when I try to enter a folder in Roundcube with 2k+ messages it doesn't not show messages in the given folder. Sometimes leaving and reentering that folder will display a list of emails, but most of the time not.
Running an strace on binc I see it reading the requested directory for
files and parsing those files for details. Before it completes Roundcube returns with an empty "mailbox", and the "Loading" message disappears from the top of the browser.
I noticed some AlohaMail IMAP code being used, and don't remember having this problem with that MUA, but that was quite a while ago, with a far different setup.
Server: Roundcube (20051021), Linux 2.6, MySQL 5.0.15, BincIMAP 1.2.13final (Maildir++) on JFS (without Auth or SSL), Apache 2.0.55 w/PHP 5.0.4
Client: Windows XP, Firefox 1.5rc3 (though the problem is seen on Firefox 1.0.x, and IE 6)
Any help would be appreciated, and let me know if you'd like any further details.
Thanks, Ethan
Well, apearently, server side sorting was already implemented by Ilohamail! I used the api so it is enabled in RC as well. The performance is the performance I am looking for and as far as I can see, everything now just works!!
If the server does not implement server side sorting, the current method of sorting is used automaticly. (untested)
Whoops, a few small bugs. (I hate off-by-one...) New patch attached!
Pieter Hoekstra schreef:
Well, apearently, server side sorting was already implemented by Ilohamail! I used the api so it is enabled in RC as well. The performance is the performance I am looking for and as far as I can see, everything now just works!!
If the server does not implement server side sorting, the current method of sorting is used automaticly. (untested)
As you can see in the mailing list archives, this is a known problem and we're working on it. The Ilohamail library used in RC does not support server side sorting and the main problem is the caching mechanism which isn't built to handle large mailboxes. Please be patient and wait for the next release. Of course patches that solve this problem from the ground up are always welcome.
Regards, Thomas
Pieter Hoekstra wrote:
I'm using the CVS version, that's where the patch is for. Could you try with the CVS version?
I would like to know as well, if anybody else has this performance problems. If so, it would be really interesting to implement server side sorting! (This hasn't been implemented yet, right?) Maybe interesting for the Ilohamail project as well, if they haven't already??
Pieter.
Ethan Erchinger schreef:
Actually, I've messed with the patch a little more, as my initial testing was insufficient. Here's what I've found:
- The $headers_count line doesn't exist anywhere in my imap.inc file.
Maybe you patched an older version of Roundcube?
- I'm still getting some folders that don't show messages, using the
rest of the patch.
Maybe I'm missing something, but I had to manually load the patch as 'patch' got very confused on line 6, for whatever reason. Any ideas? Has anyone else noticed this issue?
Ethan -----Original Message----- From: Pieter Hoekstra [mailto:pieter@5137.org] Sent: Saturday, November 19, 2005 1:16 PM To: Ethan Erchinger Cc: dev@lists.roundcube.net Subject: Re: Large folders not displaying messages
Hi!
I've experienced the same problem, but noticed also that Ilohamail did not have this problem. I've created a patch witch solves the problem. With this patch, only the displayed messages will be retrieved from the server.
But this patch only allows sorting *within* a page, not through the entire mail!! (I think if one would want to really solve the problem, server side sorting should be implemented)
I hope it helpes!
Pieter.
Ethan Erchinger schreef:
Hello,
I've recently setup Roundcube, and it feels great, fine work! I'm using BincIMAP and/or Dovecot (both which show the same problem). The
problem being when I try to enter a folder in Roundcube with 2k+ messages it doesn't not show messages in the given folder. Sometimes leaving and reentering that folder will display a list of emails, but most of the time not.
Running an strace on binc I see it reading the requested directory for
files and parsing those files for details. Before it completes Roundcube returns with an empty "mailbox", and the "Loading" message disappears from the top of the browser.
I noticed some AlohaMail IMAP code being used, and don't remember having this problem with that MUA, but that was quite a while ago, with a far different setup.
Server: Roundcube (20051021), Linux 2.6, MySQL 5.0.15, BincIMAP 1.2.13final (Maildir++) on JFS (without Auth or SSL), Apache 2.0.55 w/PHP 5.0.4
Client: Windows XP, Firefox 1.5rc3 (though the problem is seen on Firefox 1.0.x, and IE 6)
Any help would be appreciated, and let me know if you'd like any further details.
Thanks, Ethan
Thanks Pieter, I just added your patch to my development version and it just works perfect! I'm now going to re-design the caching mechanism because fetching messages page by page requires a different approach for caching. Your patch will be added to the CVS as soon as the caching works as well.
Regards, Thomas
Pieter Hoekstra wrote:
Whoops, a few small bugs. (I hate off-by-one...) New patch attached!
Pieter Hoekstra schreef:
Well, apearently, server side sorting was already implemented by Ilohamail! I used the api so it is enabled in RC as well. The performance is the performance I am looking for and as far as I can see, everything now just works!!
If the server does not implement server side sorting, the current method of sorting is used automaticly. (untested)
[...]