After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 320067 - Evolution hangs whan scanning Exchange folders
Evolution hangs whan scanning Exchange folders
Status: VERIFIED INCOMPLETE
Product: Evolution Exchange
Classification: Deprecated
Component: Connector
2.2.x
Other Linux
: Normal normal
: 2.5
Assigned To: Connector Maintainer
Ximian Connector QA
Depends on:
Blocks:
 
 
Reported: 2005-10-28 10:50 UTC by Peter Young
Modified: 2006-03-03 08:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Peter Young 2005-10-28 10:50:40 UTC
Distribution/Version: FC4 x86_64

Create a profile connecting to Exchange server.
Enter correct password information.

Then wait .....

The connection info is correct and the mailbox works very well from MS Outlook 
on Windows.

This may be due to the number of mails in my mailbox.
My Mailbox size 239464KB, no. of items 14768
Or perhaps that I have shortcuts between various items in my mailbox.
Or is it that I have 129 folders in my mailbox ?

I have got it to work occasionally by deleting some items from Outlook.
In these cases checking the boxes Auto Sync, Apply Filters, AutoCheck mail 
makes the problem come back again. Once a got a popup about getting near the 
limit for no. of items 300,000 but this was only partially displayed, so I 
couldn't fully read it.

My colleagues with smaller mailboxes do not have this issue.
For example one mailbox is OK with:
Mailbox size 852656, no of items 12666

The problem is reproducible - in fact Evolution is totally unsuable for me.
If I kill all evolution preocesses and logoff and logon again, exactly the 
same thing happens. I have waited over 12 hours but still the evolution client 
says it is
Scanning folders in "Exchange Server xxxxx" (...)

Evolution Version 2.2.3
OS Fedora FC4 X86_64 with all the latest patches
Exchange server 2003 (no service packs) information store 6.5.6944.0

Is there a more recent version of Evolution I can try ?
If so I need complete instructions on how to install including all 
dependencies. I can't do builds...
Comment 1 Poornima 2005-11-25 05:54:50 UTC
Peter: Thanks for reporting bug, attach stack traces of Evolution and Exchange
connector when its hanging. Start exchange connector using gdb in one terminal,
start evolution using gdb in other terminal, attach gdb traces when it hangs.
The latest version of Evolution is 2.5.2, u can upgrade evolution and verify if
the problem still exist. You might have to build i beleive from ftp.gnome.org or
checkout for rpm's in  in ftp://ftp.ximian.com.
Comment 2 Sushma Rai 2006-02-10 09:27:56 UTC
See http://live.gnome.org/GettingTraces for getting gdb traces.
2.5.90 is the latest developement version.
You can also try 2.2.3.
Please re-open the bug with the stack traces.
Comment 3 Peter Young 2006-03-01 12:17:17 UTC
I have tried again with Evolution 2.5.90 on Fedora FC5test3

There is nolonger a hang.

My mailbox is now 428MB in size and the inbox contains 9600 mails.
There are in total 112 folders in the mailbox.

Evolution takes 2 minutes to startup and 15 minutes to close down.
The network is a GB Ethernet LAN.

Is this normal behaviour - and is there anything I should do to speed it up ?
Comment 4 Sushma Rai 2006-03-02 05:05:57 UTC
Peter Young , thanks for upgrading and testing this with the newer version.
I would suggest you to upgrade to 2.6 when it is available, as many more
fixes have gone in after 2.5.90

And the performance you are seeing is the normal performance of Evolution.
We also preformed (still performing) some tests and here you can find the
results http://go-evolution.org/StressEvoConnector.
In the future releases we will be working on improving this.

Time taken to close Evolution is not exchange connector specifc, but
Evolution problem and there is a bug filed already on this against 
product Evolution.
Comment 5 Peter Young 2006-03-02 10:19:21 UTC
Sushma

thanks for the quick response.
I look forward to 2.6 

I know they do not strictly relate to this bug, but I wondered if you can address these points as they are stopping me from testing.

On the same setup as in comment #3 above, I find

1.

Logged on as a root user I can use Evolution to read mail but not send.
I get this message after being promted for the SMTP username and password and entering it

"Unable to authenticate top SMTP server. Bad authentication response from server".


This happens whthere I use http or https for the OWA URL

I cannot find a setting to specify the smtp username  - which is what I expect as it should be the same as the OWA authentication.

2.
Sometimes I also get  "The application "eveolution-exchange storage has quit unexpectedly"

3.
Logged on as a non root user I cannot use Evolution as I get this popup

"Error while Scanning folders in "Exchange server ......"
Could not connect to Evolution Exchange backend process: Permission denied."

Could this be an issue with the test version of FC5 I am using ?




Are these dealt with in other bugs or do you want me to submit them ?

Any help much appreciated - thanks.

Peter
Comment 6 Sushma Rai 2006-03-03 08:29:52 UTC
For the 1st issue, I think in 2.2.2 Evolution you had SMTP to send mails
and when you upgraded, that setting is still remaining. 
to fix the issue, please disable the account, shutdown evolution, e-d-s and
evolution-exchange-storage processes, restart evolution and create a new
account. It should work.
You can file a bug with the gconf keys of the old account.

For the second issue,
You have to attach gdb to evolution-exchange-storage, when you get thathttp://live.gnome.org/GettingTraces
error message and get the traces. 
see http://live.gnome.org/GettingTraces for details.

For the third issue,
see the user for the process evolution-exchange-storage.
may be you can kill evolution. eds and exchage-storage in root and
try using evolution as non-root user.