Page 1 of 1
SWA: Loading folder...
Posted: Thu Dec 01, 2005 9:49 am
by santo
SWA is extremely slow / unusable when there are 300+ (new) items in the inbox.
After logging in, the inbox displays "Loading folder..." and that's it
when I run top on the server, I see that the process "r2netcmd.bin" is taking appr 100% cpu all the time !
I never got to the point where the inbox items are finally displayed :-(
After having waited for several minutes, I just have to kill the browser (firefox, IE, whatever) and then the high cpu load disappears after several seconds.
Any ideas what might be the cause of this ?
Posted: Thu Dec 01, 2005 10:38 am
by jch
Have you just upgraded? You'd normally see r2netmd being run a lot because some of the cached data is being regenerated.
jch
Posted: Thu Dec 01, 2005 10:54 am
by santo
I just installed scalix 9.4.2 from scratch on a clean SUSE system.
Because I had a lot of mails in my outlook which I wanted to keep, I decided to open outlook with the scalix profile, additionally open the "old" pst file (which contains the 300+ mails I want to keep) and then copy those mails via drag 'n drop from the "old" inbox the the scalix inbox.
After having done this, this behaviour occured.
But, in the meantime I decided to keep the browser open for an even longer time (instead of killing it after several minutes) and now all mails are displayed in the inbox.
Not sure how long ik took to load the inbox folder, but at least 20 (!) minutes (for appr 350 mails)
When I now log out and back in, there is (almost) no delay before the inbox items are being displayed.
Posted: Thu Dec 01, 2005 11:06 am
by jch
That makes sense. The cached infomation, stuff about the stucture of the MIME message that IMAP (and SWA) like to use needs to be built because it wasn't there before.
Twenty minutes sounds like a long time. There are two bits of good news though. The cache data is generated when messages are delivered so it's always there. The other bit is that we've done som work to speed up the regeneration for the next release and there's a command that you can run to regenerate all the cached information for all users without them having to log in.
jch
Posted: Thu Dec 01, 2005 4:29 pm
by santo
Thanks.
Fortunately this is something that's normally needed only once (when migrating a user to scalix), but it's really good to hear some improvements are made for the next release.
I like scalix already very much :)
Some other (small) issues though (see some of my other posts), but I"m sure those are trivial issues that will certainly be solved