[Users] CM 100% CPU...

Pierre Fortin pf at pfortin.com
Tue Nov 20 01:23:57 CET 2012


Just noticed one instance of CM went 100% CPU.  It's been spinning for a
while; no idea when it started... I was busy & on phone.

strace showed this:
read(8, 0x7fff31374d00, 16)             = -1 EAGAIN (Resource temporarily
unavailable) select(22, [21], NULL, NULL, {0, 0})    = 1 (in [21], left
{0, 0}) fcntl(21, F_GETFL)                      = 0x2 (flags O_RDWR)
select(22, [21], NULL, NULL, {10, 0})   = 1 (in [21], left {9, 999998})
recvfrom(7, 0x29ab3f4, 4096, 0, 0, 0)   = -1 EAGAIN (Resource temporarily
unavailable) poll([{fd=8, events=POLLIN}, {fd=7, events=POLLIN}, {fd=11,
events=POLLIN}, {fd=9, events=POLLIN}, {fd=10, events=POLLIN}, {fd=16,
events=POLLIN}, {fd=18, events=POLLIN}, {fd=6, events=POLLIN|POLLPRI},
{fd=20, events=POLLIN|POLLPRI}, {fd=12, events=POLLIN}], 10, 0) = 0
(Timeout) read(8, 0x7fff31374d00, 16)             = -1 EAGAIN (Resource
temporarily unavailable) select(22, [21], NULL, NULL, {0, 0})    = 1 (in
[21], left {0, 0}) fcntl(21, F_GETFL)                      = 0x2 (flags
O_RDWR) select(22, [21], NULL, NULL, {10, 0})   = 1 (in [21], left {9,
999997}) recvfrom(7, 0x29ab3f4, 4096, 0, 0, 0)   = -1 EAGAIN (Resource
temporarily unavailable) poll([{fd=8, events=POLLIN}, {fd=7,
events=POLLIN}, {fd=11, events=POLLIN}, {fd=9, events=POLLIN}, {fd=10,
events=POLLIN}, {fd=16, events=POLLIN}, {fd=18, events=POLLIN}, {fd=6,
events=POLLIN|POLLPRI}, {fd=20, events=POLLIN|POLLPRI}, {fd=12,
events=POLLIN}], 10, 0) = 0 (Timeout)

The window was totally empty.

Killed it:
$ fg
claws-mail      (wd: [**])
^CNewmail plugin unloaded
$

** directory I was likely in when I started CM; though I'd done a cd to my
   home directory sometime between starting CM and the loop starting.

Just an FYI for now...  Not enough info to bug; updating to latest CVS
now.

Pierre




More information about the Users mailing list