! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
100% CPU usage
Status:
RESOLVED: MOVED
Product:
Xfce4-mailwatch-plugin

Comments

Description Liv 2009-12-10 12:17:58 CET
I listed the bug report in the Gmail component, but this also affects IMAP. 

Mailwatch will often (regularly?) start using 100% of the CPU for periods of up to 5-10 sec. From the log file that I set up here, it seems that the issue arises when there is temporary loss of internet connection. 

There are many recurring messages, but I *think* the following ("CRITICAL") lines are related to the 100% CPU issue. In some instances the plug-in crashes, but I haven't yet managed to obtain a debug on this. 


liviu@debian-liv:~$ uname -a
Linux debian-liv 2.6.30-1-amd64 #1 SMP Sat Aug 15 18:09:19 UTC 2009 x86_64 GNU/Linux
liviu@debian-liv:~$ aptitude show xfce4-mailwatch-plugin
Package: xfce4-mailwatch-plugin
State: not installed [built from source]
Version: 1.1.0-2


DBG[mailwatch-mailbox-gmail.c:300] gmail_check_atom_feed(): p=0x7fffea161445, q=0x7fffea161451
DBG[mailwatch-mailbox-gmail.c:351] gmail_check_mail(): checked gmail, 0 new messages
DBG[mailwatch-mailbox-gmail.c:276] gmail_check_atom_feed(): got opening <fullcount> tag: '<fullcount>0</fullcount>
<link rel="alternate" href="http://mail.google.com/mail" type="text/html" />
<modified>2009-12-10T11:55:59Z</modified>
</feed>
'
DBG[mailwatch-mailbox-gmail.c:300] gmail_check_atom_feed(): p=0x7fffeae5344a, q=0x7fffeae53456
DBG[mailwatch-mailbox-gmail.c:351] gmail_check_mail(): checked gmail, 0 new messages
DBG[mailwatch-net-conn.c:291] xfce_mailwatch_net_conn_get_connect_status(): checking for a connection...
DBG[mailwatch-net-conn.c:291] xfce_mailwatch_net_conn_get_connect_status(): checking for a connection...
DBG[mailwatch-net-conn.c:291] xfce_mailwatch_net_conn_get_connect_status(): checking for a connection...
DBG[mailwatch-net-conn.c:310] xfce_mailwatch_net_conn_get_connect_status():     connection succeeded
DBG[mailwatch-net-conn.c:310] xfce_mailwatch_net_conn_get_connect_status():     connection succeeded
DBG[mailwatch-net-conn.c:291] xfce_mailwatch_net_conn_get_connect_status(): checking for a connection...
DBG[mailwatch-net-conn.c:310] xfce_mailwatch_net_conn_get_connect_status():     connection succeeded

** (xfce4-mailwatch-plugin:5939): CRITICAL **: XfceMailwatch: TLS handshake failed: Connection timed out
DBG[mailwatch-mailbox-gmail.c:356] gmail_check_mail(): failed to connect to gmail server

** (xfce4-mailwatch-plugin:5939): CRITICAL **: XfceMailwatch: TLS handshake failed: Connection timed out
DBG[mailwatch-mailbox-gmail.c:356] gmail_check_mail(): failed to connect to gmail server

** (xfce4-mailwatch-plugin:5939): CRITICAL **: XfceMailwatch: TLS handshake failed: Connection timed out
DBG[mailwatch-mailbox-gmail.c:356] gmail_check_mail(): failed to connect to gmail server
WP 9951)]
[Thread 0x7fffea164910 (LWP 9950) exited]
[Thread 0x7fffeae56910 (LWP 9951) exited]
[Thread 0x7fffe955b910 (LWP 9949) exited]
[New Thread 0x7fffe955b910 (LWP 10005)]
[New Thread 0x7fffeae56910 (LWP 10006)]
[New Thread 0x7fffea164910 (LWP 10007)]
[Thread 0x7fffea164910 (LWP 10007) exited]
[Thread 0x7fffeae56910 (LWP 10006) exited]
[Thread 0x7fffe955b910 (LWP 10005) exited]
[New Thread 0x7fffe955b910 (LWP 10045)]
[New Thread 0x7fffeae56910 (LWP 10046)]
[New Thread 0x7fffea164910 (LWP 10047)]
[Thread 0x7fffe955b910 (LWP 10045) exited]
[Thread 0x7fffeae56910 (LWP 10046) exited]
[Thread 0x7fffea164910 (LWP 10047) exited]
[New Thread 0x7fffea164910 (LWP 10088)]
[New Thread 0x7fffeae56910 (LWP 10089)]
[New Thread 0x7fffe955b910 (LWP 10090)]
[Thread 0x7fffe955b910 (LWP 10090) exited]
[Thread 0x7fffea164910 (LWP 10088) exited]
[Thread 0x7fffeae56910 (LWP 10089) exited]
[New Thread 0x7fffeae56910 (LWP 10127)]
[New Thread 0x7fffea164910 (LWP 10128)]
[New Thread 0x7fffe955b910 (LWP 10129)]
[Thread 0x7fffe955b910 (LWP 10129) exited]
[Thread 0x7fffea164910 (LWP 10128) exited]
[Thread 0x7fffeae56910 (LWP 10127) exited]
[New Thread 0x7fffeae56910 (LWP 10208)]
[New Thread 0x7fffea164910 (LWP 10209)]
[New Thread 0x7fffe955b910 (LWP 10210)]
DBG[mailwatch-net-conn.c:519] xfce_mailwatch_net_conn_connect(): failed to get sockaddr
DBG[mailwatch-mailbox-gmail.c:196] gmail_check_atom_feed(): failed to connect to gmail server
DBG[mailwatch-mailbox-gmail.c:356] gmail_check_mail(): failed to connect to gmail server
Comment 1 Landry Breuil editbugs 2014-11-23 21:43:54 CET
Mass-reassign all bugs from florian@ to goodies-dev@, thanks for the maintenance work! (and sorry for the bugmail spam..)
Comment 2 Git Bot editbugs 2020-05-24 00:41:33 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/panel-plugins/xfce4-mailwatch-plugin/-/issues/16.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #6065

Reported by:
Liv
Reported on: 2009-12-10
Last modified on: 2020-05-24

People

Assignee:
Xfce-Goodies Maintainers
CC List:
0 users

Version

Version:
1.1.0 or older

Attachments

Additional information