[Digikam-users] digikam 2.2.0 busy EAGAIN (Resource temporarily unavailable)

Thomas Güttler guettli at thomas-guettler.de
Fri Oct 7 21:36:37 BST 2011


just for fun I run strace on digikam on this platform:

Ubuntu 11.04 digikam 2.2.0 from ppa. Unity desktop

Every some seconds digikam gets EAGAIN (Resource temporarily unavailable)

I don't thing it is a big problem, but it wastes CPU and energy.

the socket file is /tmp/.X11-unix/X0

socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC, 0) = 10
connect(10, {sa_family=AF_FILE, path=@"/tmp/.X11-unix/X0"}, 20) = 0
getpeername(10, {sa_family=AF_FILE, path=@"/tmp/.X11-unix/X0"}, [20]) = 0
poll([{fd=10, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=10, 
revents=POLLOUT}])
writev(10, [{"l\0\v\0\0\0\22\0\20\0\0\0", 12}, {"", 0}, 
{"MIT-MAGIC-COOKIE-1", 18}, {"\0\0", 2}, 
{"\201\274\325\31\35j-\\\361\262;zI\33P\257", 16}, {"", 0}], 6) = 48
read(10, 0x9a6fe40, 8)                  = -1 EAGAIN (Resource 
temporarily unavailable)
poll([{fd=10, events=POLLIN}], 1, -1)   = 1 ([{fd=10, revents=POLLIN}])
...

read(10, 0x8ccb098, 4096)               = -1 EAGAIN (Resource 
temporarily unavailable)
.....

There is a second fd, which is the same socket-file, which gets EAGAIN 
again and again.


-- 
Thomas Guettler http://www.thomas-guettler.de/



More information about the Digikam-users mailing list