Why does my application hang in interruptible state?
Posted
by
Greg
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Greg
Published on 2011-03-04T13:45:51Z
Indexed on
2011/03/04
15:33 UTC
Read the original article
Hit count: 314
Hello,
I am running on Ubuntu 10.04 LTS Server an GTK application that used to work fine. It suddenly started to hang in interruptible state (Sl+) without any apparent reason. Here is a snippet of the strace:
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, 0) = 0 (Timeout)
poll([{fd=5, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=5, revents=POLLOUT}])
writev(5, [{"\2\30\4\0\224\4\240\0\0@\0\0\37\0\240\0\2\4\4\0\224\4\240\0\0@\0\0\37\0\240\0"..., 192}, {NULL, 0}, {"", 0}], 3) = 192
read(5, 0x2ba9ac4, 4096) = -1 EAGAIN (Resource temporarily unavailable)
I googled that line read(5, 0x2ba9ac4, 4096)
, which seems to be more significant, and it seems that many other applications tend to have the same problem. I tried to restart my X server, but it didn't help.
Do you have an idea how to solve this problem?
© Ask Ubuntu or respective owner