Hi,
Tried your script. It seems to have worked. Evolution is 0% cpu.
Thanks a lot.
On Mon, 2012-05-28 at 23:58 -0430, Patrick O'Callaghan wrote:
On Tue, 2012-05-29 at 07:39 +0800, hostmaster wrote:
> Hi,
>
> My Inbox has about 20+ sub-folders. If I click on the Inbox folder the cpu
consumption would spike to 50% and stays there.
> When I click on any of the sub-folders the cpu will go down to 0%.
>
> My Evolution is converted from an old version(FC11). I converted it by first
creating a backup and then do a restore. I receive email
> by 'Local Delivery' and send email using 'Sendmail'.
>
> Any idea what is causing the 50+% spike in CPU?
You might have broken index files. It can sometimes help to "vacuum" the
database. Here's a script I posted recently:
#!/bin/sh
cd ~/.local/share/evolution/mail/
for i in `find . -name folders.db`
do
echo "Rebuilding Table $i"
sqlite3 $i "vacuum;"
done
Important: this is for Evo 3.x. Earlier versions used a different file
structure. Also, this should be done only after stopping Evo completely
("evolution --force-shutdown").
If that doesn't work, ask on the Evolution list:
https://mail.gnome.org/mailman/listinfo/evolution-list
poc