High CPU usage in some folders
I reported the issue on the mailing list some time ago:
I still experience the problem with 3.7.0 so I am posting here,
hoping to see if anyone else can reproduce the issue.
It's some time that Sylpheed on my Debian unstable machine
takes a lot of CPU when exploring some folders with a lot of messages.
Some details on my setup:
Sylpheed Version 3.7.0 (Build 1185)
GTK+ 2.24.32 / GLib 2.54.3
Operating System: Linux 4.14.13-1-amd64 (x86_64)
Compiled-in features: gthread IPv6 iconv compface GnuPG OpenSSL LDAP GtkSpell
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4800+
Disk: Seagate Barracuda 7200.12
Video card: "ATI Radeon HD 5670" (xorg radeon driver)
I can consistently see the behavior with "htop" or the Gnome system
monitor when I navigate my "alsa-devel" and "linux-input" mailing list
folders in Sylpheed, I can trigger the problem going to the next unread
message with the "Next" UI button.
Usually Sylpheed performs some disk activity but I've never seen this
very high CPU usage before.
From a quick "perf" run it looks like most of the time is spent here:
85,55% sylpheed libgtk-x11-2.0.so.0.2400.31 [.] gtk_tree_store_get_path
12,58% sylpheed libglib-2.0.so.0.5400.0 [.] g_node_nth_child
I tried to recreate the .sylpheed_cache and .sylpheed_mark file in the
affected directories but nothing changed.
The Mail dir is on the local disk (a normal HDD but it shouldn't
matter), and the problem happens also with Sylpheed in off-line mode.
A self compiled binary from the latest svn trunk shows the same
Has anyone else noticed anything similar recently? Initially I thought
it could be caused by some update in dependency libraries in Debian, but
there was no update to gtk2 recently, and I tried to downgrade glib to
a previous version but with no changes.
I also tried with a Debian stable live image (Stretch 9.2 with Sylpheed
3.5.1) to exclude that the culprit was a recent update in Debian
unstable and the behavior is confirmed on Debian stable as well.
So it seems to be the data; could it just be that these particular
folders reached some limit Sylpheed is not comfortable with?
Just for reference Claws-mail 3.15.1 does NOT show the problem in the
Please let me know any other info you might need.
If you want access to the Mail data which shows the problem here are the
steps to download the data and replicate the issue:
1. Get the mailing list data (it's about 850MB):
$ wget "http://mailman.alsa-project.org/mailman/private/alsa-devel.mbox/alsa-devel.mbox?username=USERNAME&password=PASSWORD" -O alsa-devel.mbox
replacing USERNAME with "alsa-devel at mailinator.com" and PASSWORD with
"mailinator" in the link above. I am not pasting a full working link
to reduce the risk of spamming the alsa-project server.
I can share off-list an alsa-devel.mbox.bz2 file of about 163MB.
2. Import the alsa-devel.mbox file into a new folder in Sylpheed.
3. Click on the new folder in the folders view and go to the next
message with the "Next" button.
You can see a very high CPU usage.
Now that I think of it I might have imported data into the affected
folders from the mbox archives at
http://mailman.alsa-project.org/pipermail/alsa-devel/ so maybe the
imported data is confusing Sylpheed (but not Claws-mail apparently)?
Just a thought.
Or could it be some Gtk2 regression, in particular with my video card?
I am not sure how likely this is.
Updated by Antonio Ospite almost 4 years ago
OK, looked again into this.
A seemingly harmless message put me on the right track.
When launching sylpheed on my system I was getting this on the console:
Gtk-Message: 10:22:24.441: Failed to load module "atk-bridge"
The message goes away after installing libatk-adaptor, but the high CPU
usage problem remains.
However this gave me a hint.
Since I am using the maybe uncommon gnome-flashback session, I started
to suspect that the session itself was doing something which affected
Checking the environment I saw:
$ env | grep GTK
And I noticed that disabling gail and atk-bridge makes the problem go
So for now I am launching sylpheed in this way:
$ GTK_MODULES='' sylpheed
And I have a usable state again.
I'll try to look for the root cause of this problem but for now it feels
nice to have found a workaround.
Ironically, accessibility features made sylpheed next to unusable in my
Updated by Kentaro Hayashi almost 4 years ago
I could reproduce a similar issue on my PC (sylpheed 3.7.0-4 debian/sid and even though current master)
(I'm not collecting profile yet, so just say a similar issue, GTK_MODULES="" also works as a workaround)
and in my environment, it will occur with deep nested threads (10 or more re:re:re replying are good test cases) easily.
Updated by Antonio Ospite almost 4 years ago
Thank you for confirming the issue Kentaro-san.
The scenario seems to be the same: deep nested threads.
I am convinced that this is a gtk2 issue rather than a problem in
sylpheed itself, so feel free to close the issue if you think so too.
I will try to report the issue to gtk developers but —up to now— I was
not able to recreate the issue with a minimal gtk program using
GtkTreeStore and GtkTreeView and populating rows synthetically.
I still don't understand the exact reason why the issue was not
occurring in Claws, I know they are still using some custom gtk tree
code, but I don't know the details.
If you get the chance, join the #sylpheed IRC channel on Freenode so
that we can have a chat about it.
Or I can attach the program here.
Updated by replica watches 5 months ago
https://www.bestwatchaaa.com/Bulgari-replica.html https://www.allshopwatch.com/ Muller https://www.hotwatchsreplica.com/Dior.html https://www.bestwatchss.com/Zenith-Replica-Watches.html noted https://www.hotwatchsreplica.com/Romain-Jerome.html https://www.replicawatchsshop.cc/Tudor-Replica.html https://www.hotwatchsreplica.com/Jacob-Co.html https://www.bestwatchaaa.com/U-Boat-replica.html https://www.replicawatchsshop.cc/Blancpain-Replica.html https://www.hotwatchsreplica.com/Ulysse-Nardin.html https://www.hotwatchsreplica.com/Omega.html https://www.watchrm.com/ https://www.replicawatchsshop.cc/Seiko-Replica.html https://www.replicawatchsshop.cc/IWC-Replica.html https://www.bestwatchaaa.com/Tudor-replica.html https://www.bestwatchss.com/Patek-Philippe-Replica-Watches.html https://www.hotwatchsreplica.com/Piaget.html are https://www.perfectwatchen.com/ for https://www.replicawatchsshop.cc/Hamilton-Replica.html https://www.bestwatchaaa.com/Graham-replica.html of https://www.bestwatchss.com/Chronoswiss-Replica-Watches.html style https://www.hotwatchsreplica.com/girard-perregaux.html traditional https://www.allshopwatch.com/IWC-a-hot.html watch https://www.bestwatchaaa.com/Blancpain-replica.html https://www.bestwatchss.com/Cartier-Replica-Watches.html https://www.newwatchesale.com/ https://www.replicawatchsshop.cc/Graham-Replica.html https://www.hotwatchsreplica.com/Vacheron-Constantin.html wide https://www.hotwatchsreplica.com/Panerai.html https://www.bestwatchaaa.com/Baume-Mercier-replica.html https://www.hotwatchsreplica.com/Cartier.html https://www.allshopwatch.com/Seiko-a-hot.html Muller https://www.bestwatchss.com/Perrelet-Replica-Watches.html https://www.allshopwatch.com/Gevril-a-hot.html https://www.replicawatchsshop.cc/Zenith-Replica.html market. https://www.bestwatchaaa.com/Rado-replica.html Franck Muller https://www.bestwatchss.com/Linde-Werdelin-Replica-Watches.html watch https://www.bestwatchss.com/Blancpain-Replica-Watches.html https://www.allshopwatch.com/Romain-Jerome-a-hot.html https://www.hotwatchsreplica.com/Bell-Ross.html look https://www.bestwatchaaa.com/Glashutte-Original-replica.html https://www.bestwatchss.com/Hublot-Replica-Watches.html https://www.replicawatchsshop.cc/Rado-Replica.html https://www.allshopwatch.com/TW-Steel-a-hot.html https://www.allshopwatch.com/R-M-a-hot.html https://www.allshopwatch.com/Invicta-a-hot.html https://www.swisswatchesale.com/ you a https://www.allshopwatch.com/Zenith-a-hot.html https://www.allshopwatch.com/Technomarine-a-hot.html cash. https://www.hotwatchsreplica.com/Raymond-Weil.html false can https://www.hotwatchsreplica.com/Bvlgari.html https://www.hotwatchsreplica.com/Alain-Silberstein.html stylish, https://www.swissrepicass.com/ https://www.bestwatchss.com/Franck-Muller-Replica-Watches.html inexpensive.