100% CPU usage
Submitted by Liv
Assigned to Xfce-Goodies Maintainers
Description
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>
** (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
Version: 1.1.0 or older