You are not logged in.

#1 2013-03-27 16:34:22

Koven
Member
Registered: 2006-06-13
Posts: 151

[SOLVED] High CPU with Clementine

I know this topic has been posted several times but now it's not working. I found when I run clementine with strace looks like this it's the main error

recvfrom(6, 0x1f7d9d4, 4096, 0, 0, 0)   = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN}, {fd=6, events=POLLIN}, {fd=10, events=POLLIN}, {fd=44, events=POLLIN}, {fd=28, events=POLLIN}], 7, 0) = 1 ([{fd=3, revents=POLLIN}])
read(3, "\3\0\0\0\0\0\0\0", 16)         = 8
recvfrom(6, 0x1f7d9d4, 4096, 0, 0, 0)   = -1 EAGAIN (Resource temporarily unavailable)
write(3, "\1\0\0\0\0\0\0\0", 8)         = 8
poll([{fd=6, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=6, revents=POLLOUT}])
writev(6, [{"+\3\1\0", 4}, {NULL, 0}, {"", 0}], 3) = 4
poll([{fd=6, events=POLLIN}], 1, 4294967295) = 1 ([{fd=6, revents=POLLIN}])
recvfrom(6, "\1\2\335 \0\0\0\0002\0`\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096, 0, NULL, NULL) = 32
recvfrom(6, 0x1f7d9d4, 4096, 0, 0, 0)   = -1 EAGAIN (Resource temporarily unavailable)
recvfrom(6, 0x1f7d9d4, 4096, 0, 0, 0)   = -1 EAGAIN (Resource temporarily unavailable)
write(3, "\1\0\0\0\0\0\0\0", 8)         = 8
poll([{fd=6, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=6, revents=POLLOUT}])
writev(6, [{"\202\3\n\0\10\0\300\2\r\0\300\2\224\5C\3\333\2\3\3D\2$\0\333\2\3\3\30\2\0\0"..., 40}, {NULL, 0}, {"", 0}], 3) = 40
recvfrom(6, 0x1f7d9d4, 4096, 0, 0, 0)   = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN}, {fd=6, events=POLLIN}, {fd=10, events=POLLIN}, {fd=44, events=POLLIN}, {fd=28, events=POLLIN}], 7, 0) = 1 ([{fd=3, revents=POLLIN}])
read(3, "\2\0\0\0\0\0\0\0", 16)         = 8
recvfrom(6, 0x1f7d9d4, 4096, 0, 0, 0)   = -1 EAGAIN (Resource temporarily unavailable)
write(3, "\1\0\0\0\0\0\0\0", 8)         = 8
write(3, "\1\0\0\0\0\0\0\0", 8)         = 8
recvfrom(6, 0x1f7d9d4, 4096, 0, 0, 0)   = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN}, {fd=6, events=POLLIN}, {fd=10, events=POLLIN}, {fd=44, events=POLLIN}, {fd=28, events=POLLIN}], 7, 0) = 1 ([{fd=3, revents=POLLIN}])
read(3, "\2\0\0\0\0\0\0\0", 16)         = 8
recvfrom(6, 0x1f7d9d4, 4096, 0, 0, 0)   = -1 EAGAIN (Resource temporarily unavailable)
write(3, "\1\0\0\0\0\0\0\0", 8)         = 8
write(3, "\1\0\0\0\0\0\0\0", 8)         = 8
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=231, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=231, ...}) = 0
write(3, "\1\0\0\0\0\0\0\0", 8)         = 8
recvfrom(6, 0x1f7d9d4, 4096, 0, 0, 0)   = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN}, {fd=6, events=POLLIN}, {fd=10, events=POLLIN}, {fd=44, events=POLLIN}, {fd=28, events=POLLIN}], 7, 0) = 1 ([{fd=3, revents=POLLIN}])
read(3, "\3\0\0\0\0\0\0\0", 16)         = 8
recvfrom(6, 0x1f7d9d4, 4096, 0, 0, 0)   = -1 EAGAIN (Resource temporarily unavailable)
write(3, "\1\0\0\0\0\0\0\0", 8)         = 8
poll([{fd=6, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=6, revents=POLLOUT}])
writev(6, [{"+\3\1\0", 4}, {NULL, 0}, {"", 0}], 3) = 4
poll([{fd=6, events=POLLIN}], 1, 4294967295) = 1 ([{fd=6, revents=POLLIN}])
recvfrom(6, "\1\2\337 \0\0\0\0002\0`\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096, 0, NULL, NULL) = 32
recvfrom(6, 0x1f7d9d4, 4096, 0, 0, 0)   = -1 EAGAIN (Resource temporarily unavailable)
recvfrom(6, 0x1f7d9d4, 4096, 0, 0, 0)   = -1 EAGAIN (Resource temporarily unavailable)
write(3, "\1\0\0\0\0\0\0\0", 8)         = 8
poll([{fd=6, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=6, revents=POLLOUT}])
writev(6, [{"\202\3\n\0\10\0\300\2\r\0\300\2\224\5C\3\346\1.\3\20\0\20\0\346\1.\3\30\2\0\0"..., 40}, {NULL, 0}, {"", 0}], 3) = 40
recvfrom(6, 0x1f7d9d4, 4096, 0, 0, 0)   = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN}, {fd=6, events=POLLIN}, {fd=10, events=POLLIN}, {fd=44, events=POLLIN}, {fd=28, events=POLLIN}], 7, 0) = 1 ([{fd=3, revents=POLLIN}])
read(3, "\2\0\0\0\0\0\0\0", 16)         = 8
recvfrom(6, 0x1f7d9d4, 4096, 0, 0, 0)   = -1 EAGAIN (Resource temporarily unavailable)
write(3, "\1\0\0\0\0\0\0\0", 8)         = 8
write(3, "\1\0\0\0\0\0\0\0", 8)         = 8
recvfrom(6, 0x1f7d9d4, 4096, 0, 0, 0)   = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN}, {fd=6, events=POLLIN}, {fd=10, events=POLLIN}, {fd=44, events=POLLIN}, {fd=28, events=POLLIN}], 7, 0) = 1 ([{fd=3, revents=POLLIN}])
read(3, "\2\0\0\0\0\0\0\0", 16)         = 8
recvfrom(6, 0x1f7d9d4, 4096, 0, 0, 0)   = -1 EAGAIN (Resource temporarily unavailable)
recvfrom(6, 0x1f7d9d4, 4096, 0, 0, 0)   = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN}, {fd=6, events=POLLIN}, {fd=10, events=POLLIN}, {fd=44, events=POLLIN}, {fd=28, events=POLLIN}], 7, 6) = 0 (Timeout)
read(3, 0x7fffbc176c00, 16)             = -1 EAGAIN (Resource temporarily unavailable)
recvfrom(6, 0x1f7d9d4, 4096, 0, 0, 0)   = -1 EAGAIN (Resource temporarily unavailable)
recvfrom(6, 0x1f7d9d4, 4096, 0, 0, 0)   = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN}, {fd=6, events=POLLIN}, {fd=10, events=POLLIN}, {fd=44, events=POLLIN}, {fd=28, events=POLLIN}], 7, 0) = 0 (Timeout)
recvfrom(6, 0x1f7d9d4, 4096, 0, 0, 0)   = -1 EAGAIN (Resource temporarily unavailable)
write(3, "\1\0\0\0\0\0\0\0", 8)         = 8
recvfrom(6, 0x1f7d9d4, 4096, 0, 0, 0)   = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN}, {fd=6, events=POLLIN}, {fd=10, events=POLLIN}, {fd=44, events=POLLIN}, {fd=28, events=POLLIN}], 7, 0) = 1 ([{fd=3, revents=POLLIN}])
recvfrom(6, 0x1f7d9d4, 4096, 0, 0, 0)   = -1 EAGAIN (Resource temporarily unavailable)
write(3, "\1\0\0\0\0\0\0\0", 8)         = 8
poll([{fd=6, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=6, revents=POLLOUT}])
writev(6, [{"+\3\1\0", 4}, {NULL, 0}, {"", 0}], 3) = 4
poll([{fd=6, events=POLLIN}], 1, 4294967295) = 1 ([{fd=6, revents=POLLIN}])
recvfrom(6, "\1\2\341 \0\0\0\0002\0`\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096, 0, NULL, NULL) = 32
recvfrom(6, 0x1f7d9d4, 4096, 0, 0, 0)   = -1 EAGAIN (Resource temporarily unavailable)
recvfrom(6, 0x1f7d9d4, 4096, 0, 0, 0)   = -1 EAGAIN (Resource temporarily unavailable)
write(3, "\1\0\0\0\0\0\0\0", 8)         = 8
poll([{fd=6, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=6, revents=POLLOUT}])
writev(6, [{";\3\7\0\r\0\300\2\0\0\0\0\333\2\3\3D\2$\0\340\1*\3\371\0\31\0\202\3\n\0"..., 84}, {NULL, 0}, {"", 0}], 3) = 84
recvfrom(6, 0x1f7d9d4, 4096, 0, 0, 0)   = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN}, {fd=6, events=POLLIN}, {fd=10, events=POLLIN}, {fd=44, events=POLLIN}, {fd=28, events=POLLIN}], 7, 0) = 1 ([{fd=3, revents=POLLIN}])
read(3, "\7\0\0\0\0\0\0\0", 16)         = 8
recvfrom(6, 0x1f7d9d4, 4096, 0, 0, 0)   = -1 EAGAIN (Resource temporarily unavailable)
write(3, "\1\0\0\0\0\0\0\0", 8)         = 8
write(3, "\1\0\0\0\0\0\0\0", 8)         = 8
recvfrom(6, 0x1f7d9d4, 4096, 0, 0, 0)   = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN}, {fd=6, events=POLLIN}, {fd=10, events=POLLIN}, {fd=44, events=POLLIN}, {fd=28, events=POLLIN}], 7, 0) = 1 ([{fd=3, revents=POLLIN}])
read(3, "\2\0\0\0\0\0\0\0", 16)         = 8
recvfrom(6, 0x1f7d9d4, 4096, 0, 0, 0)   = -1 EAGAIN (Resource temporarily unavailable)

Over and over again, that "Resource temporarily unavailable" looks like an eternal loop, and the reason why clementine uses so much CPU. Any Idea about this issue?

BR

Last edited by Koven (2013-03-27 16:52:50)

Offline

#2 2013-03-27 16:52:35

Koven
Member
Registered: 2006-06-13
Posts: 151

Re: [SOLVED] High CPU with Clementine

I think I found a workaround for this issue. By default are checked two options:

- Update the library when Clementine starts
- Monitor the Library for changes.

Uncheck first one and everything works fine now. I hope clementine staff fixes CPU problems since the beggining.

Edited**********

The negative is that I can't update never more my Library hehe.

BR

Last edited by Koven (2013-03-27 17:10:05)

Offline

Board footer

Powered by FluxBB