Actions
action #17092
closed100% cpu usage in virtio_screen.pm function read_until
Status:
Resolved
Priority:
High
Assignee:
Category:
Regressions/Crashes
Target version:
Start date:
2017-02-15
Due date:
% Done:
0%
Estimated time:
Description
On my machine isotovideo runs with 100% cpu usage in virtio_screen.pm function read_until.
strace shows that it cycles on this:
read(21, 0x6670db0, 2048) = -1 EAGAIN (Resource temporarily unavailable)
Adding usleep(1000) before the retry on EAGAIN (virtio_screen.pm line 197) helped, but maybe there is a better fix.
Updated by rpalethorpe almost 8 years ago
- Priority changed from Normal to High
I guess we can set the socket to blocking and set a timer to signal a timeout or similar, I will do some research, it could be improved anyway.
Updated by rpalethorpe almost 8 years ago
- Status changed from New to Feedback
I have made a patch which blocks using select
. https://github.com/os-autoinst/os-autoinst/pull/724
Updated by okurz almost 8 years ago
- Category set to Regressions/Crashes
- Target version set to Milestone 6
Updated by okurz over 7 years ago
- Status changed from Feedback to Resolved
merged, nadvornik proved it's working for him.
Actions