GNOME Bugzilla – Bug 347811
Evolution takes >20 mins to start
Last modified: 2007-09-07 20:40:24 UTC
Please describe the problem: This bug has existed since 2.6.2. It is still there in 2.7.4 Is does not seem to be the same as bug 344196. Evolution downloads 400Mb of stuff from our exchange 2003 server before starting. It does it slowly, so that on my 100Mb/s ethernet the activity is not large, but it takes 20' to start. This is not useable. Steps to reproduce: 1. Create evolution-exchange account to corporate OWA 2. start it. 3. wait. Actual results: You have to wait. When all the data is downloaded evo runs OK. Quit and re-start and evolution takes 20' all over again. Expected results: Start time in seconds. Does this happen every time? Yes Other information: I reported this in 344196. The 2.6.2 version times out and does not work at all. 2.7.X does not time out.
I'd guess that's a duplicate of http://bugzilla.gnome.org/show_bug.cgi?id=346728
Wiliam, Do you have large public folders having subfolders?
Yes, Well, my employer does. du -sh ~/.evolution/exchange/XXXXXX/public/subfolders 163M /home/murray/.evolution/exchange/XXXXXX/public/subfolders And if I delete them they are completely re-downloaded before evo starts. Bill
Can you go to Folder -> Subscriptions and uncheck them and then see how much time Evolution takes to load next time?
Hi Sushma, Thanks, I idn;t know how to do that. Unfortunately, only the 3 public folders I saw in 'favourites' were checked, (while they are all downloaded) and unchecking them made no difference. This was with 2.7.90 Bill
This is the issue with downloading public folders. Can you set E2K_DEBUG=4 and paste it here? 2.6.3 should work much faster for you.
Created attachment 71011 [details] Log from E2K_DEBUG=4 on evolution-exchange This is the start of the log, many megabytes long.
evo 2.6.3 does indeed work correctly. The attached log file shows 2.7.91 on an FC6-T2 box, truncated soon after I got into the public folders download stuff. It includes downloading my calendar.. Bill
This bug, while 'unconfirmed' was said to be a blocker. But it is still present in 2.8.0 Is there any hope of fixing this? Bill
Just committed a fix in current CVS HEAD - this should work much faster for you.
I'd love to - but /usr/local/usrc/cvs/gnome/evolution-exchange/camel/camel-stub-marshal.c# is full of <<<<<<<<<<<< symbols and doesn't compile. Would one from Jun 15 (2.7.90) do for now? Bill
OK, I tried with the 2.7.90 camel-stub-marshal.c It sort-of works. But doesn't quite. It certainly starts faster, cutting off those public folders I assume. However, it also cuts of all the sub-folders of my inbox, meaning I cannot see my old mail!! I was able to create a new folder, and could see that, but not the real ones. Something still needs tweaking - but maybe that is to do with this camel-stub-marshal. Bill
I tried this morning with the full CVS head. Compiles fine, no camle-marshal-stub issues. But the subfolders of my inbox are still missing. Biill
*** Bug 359242 has been marked as a duplicate of this bug. ***
I am also having the subfolder viewing problem. I Evolution-exchange is downloading the entire inbox hierarchy: john@fritop:~/.evolution/exchange/john@exchangeserver/personal/subfolders/Inbox/subfolders$ ls 2005_02/ 2005_05/ 2005_08/ 2005_11/ 2006_02/ 2006_05/ 2005_03/ 2005_06/ 2005_09/ 2005_12/ 2006_03/ 2006_06/ 2005_04/ 2005_07/ 2005_10/ 2006_01/ 2006_04/ 2006_07/ But in Evolution 2.8.1/evolution-exchange 2.8.1, I cannot see these folders under my Inbox. The problem also exists for other all other subfolders in my "Personal Folders." I'm using slackware 11 and dropline gnome 2.16.1 beta.
Reverted varadhan's last commit and hardcoded to FALSE for deep search on public folders. This needs to be addressed in a better way. Re opening bug #268412 .
OK, the reverted code works for me; thank you.
Though, marked resolved fixed.. the issue wasn't actually fixed until 2.9.4. Can anyone check the latest CVS HEAD and update the bug with their observation in terms of startup time and public-folder subscription? TIA.
So I tried the CVS head just now, and it looks very like the 2.9.5 I am generally using. I can see my public folders, it starts in a few tens of seconds [It is still not thunderbird, but it not a major problem] Thank you!
(In reply to comment #19) > So I tried the CVS head just now, and it looks very like the 2.9.5 > I am generally using. > I can see my public folders, it starts in a few tens of seconds > [It is still not thunderbird, but it not a major problem] > Thank you! > Any updates on 2.11.92 w.r.t startup speed?
For me it's really fast now, still craps out from time to time, but I guess that's another bug. But the speed is very good now. :)(In reply to comment #20) > (In reply to comment #19) > > So I tried the CVS head just now, and it looks very like the 2.9.5 > > I am generally using. > > I can see my public folders, it starts in a few tens of seconds > > [It is still not thunderbird, but it not a major problem] > > Thank you! > > > Any updates on 2.11.92 w.r.t startup speed? > For me it's really fast now, still craps out from time to time, but I guess that's another bug. But the speed is very good now. :)
I agree. IF you don't fall foul of the LDAP non-acesss http://bugzilla.gnome.org/show_bug.cgi?id=474502 issue it is fast. Bill
(In reply to comment #21) > For me it's really fast now, still craps out from time to time, but I guess > that's another bug. But the speed is very good now. :)(In reply to comment #20) > > (In reply to comment #19) > > > So I tried the CVS head just now, and it looks very like the 2.9.5 > > > I am generally using. > > > I can see my public folders, it starts in a few tens of seconds > > > [It is still not thunderbird, but it not a major problem] > > > Thank you! > > > > > Any updates on 2.11.92 w.r.t startup speed? > > > > For me it's really fast now, still craps out from time to time, but I guess > that's another bug. But the speed is very good now. :) > Thanks for the updates. I will close this bug - before that, what/where does it fail time to time?
(In reply to comment #22) > I agree. IF you don't fall foul of the LDAP non-acesss > http://bugzilla.gnome.org/show_bug.cgi?id=474502 > issue it is fast. > Bill > I have updated bug#474502 - can you reply back?
(In reply to comment #23) > > > Thanks for the updates. I will close this bug - before that, what/where does > it fail time to time? Actually I have to restart evolution a few times a day, cause I get a lot of "Connection to exchange backend lost" or "Cannot update folder" messages. Didn't find the time to debug it until now, that's why I didn't file a yet, sorry for that. I suspect it could have something to do with my company not providing a Global Adress list, at least I get lot's of queries for that after some time (and useless password dialogs). Might be something totally different though ;)
I would be interested in knowing the scenarios that gives you "Lost connection to Evolution-exchange backend process". If you find time, reply back with scenarios and the version of Evolution exchange that you use.
(In reply to comment #26) > I would be interested in knowing the scenarios that gives you "Lost connection > to Evolution-exchange backend process". If you find time, reply back with > scenarios and the version of Evolution exchange that you use. > Ok, will try to catch such an error. In the meantime: I also get a lot of "Error while Refreshing folder. Could not get new messages" But these seem to be harmless, evolution-exchange still works afterwards, so they are just annoying. The debug-log of evolution-exchange just shows: "(evolution-exchange-storage:6967): exchange-mail-WARNING **: got_new_smtp_messages: 7" nothing else
The "lost connection to exchange" messages are frequent with evo 2.10.4. Typically they just 'pop up' after a while. One good way to make them is to move a mail into a big folder which I have not opened that session. Evolution then says "fetching summary for new messages" etc in that folder for a while. Try to click on click on another while it is doing it. There is a noticable probability of loosing the exchange connection. Bill
(In reply to comment #27) > > Ok, will try to catch such an error. In the meantime: I also get a lot of > > "Error while Refreshing folder. Could not get new messages" > > But these seem to be harmless, evolution-exchange still works afterwards, so > they are just annoying. The debug-log of evolution-exchange just shows: > > "(evolution-exchange-storage:6967): exchange-mail-WARNING **: > got_new_smtp_messages: 7" > > nothing else > Just got this again, same message.
(In reply to comment #29) > (In reply to comment #27) > > > > Ok, will try to catch such an error. In the meantime: I also get a lot of > > > > "Error while Refreshing folder. Could not get new messages" > > > > But these seem to be harmless, evolution-exchange still works afterwards, so > > they are just annoying. The debug-log of evolution-exchange just shows: > > > > "(evolution-exchange-storage:6967): exchange-mail-WARNING **: > > got_new_smtp_messages: 7" > > > > nothing else > > > > Just got this again, same message. > Sorry for the bug spam, really should have waited a bit. Anyway: This time it's not so harmless at all, instead I get the famous "The folder shows a number after its name signifying a new message, but when I look into the folder nothing is shown"-bug. Looking into OWA shows, that there is a new message indeed. Trying to do a manual refresh doesn't help either. Only thing that helps is restarting. That's what I did and got another error ;). What I did was clicking on an new message obviously before evolution finished downloading the new messages. After some time this resulted in the same error dialog as above, but the log is a bit more verbose: (evolution-exchange-storage:28099): exchange-mail-WARNING **: got_folder: 7 (evolution-exchange-storage:28099): exchange-mail-WARNING **: got_new_smtp_messages: 7 (evolution-exchange-storage:28099): evolution-exchange-storage-CRITICAL **: e_folder_exchange_propfind: assertion `E_IS_FOLDER_EXCHANGE (folder)' failed (evolution-exchange-storage:28099): exchange-mail-WARNING **: got_sync_deleted_props: 8 /usr/libexec/evolution-exchange-storage: No such file or directory. Error while mapping shared library sections: /usr�����^� ^H0�n^HP�^H^H�m: No such file or directory. GThread-ERROR **: file gthread-posix.c: line 197 (): error 'Invalid argument' during 'pthread_mutex_trylock' aborting... impl_GNOME_Evolution_Addressbook_BookFactory_getBook + file:///home/suka/.evolution/addressbook/local/system impl_GNOME_Evolution_Addressbook_BookFactory_getBook + file:///home/suka/.evolution/addressbook/local/system impl_GNOME_Evolution_Addressbook_BookFactory_getBook + file:///home/suka/.evolution/addressbook/local/system terminate called after throwing an instance of 'std::out_of_range' what(): vector::_M_range_check Even bug buddy popped up, but crashed itself before delivering a stack trace unfortunately...
Sorry again, some more info to share: After all the above I get the "Unable to retrieve message Lost connection to Evolution Exchange backend process" error shown in the message preview