Bug 206050 - excessive cpu usage, apparent hang
excessive cpu usage, apparent hang
Product: Fedora
Classification: Fedora
Component: setroubleshoot (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: John Dennis
Depends On:
  Show dependency treegraph
Reported: 2006-09-11 14:16 EDT by John Dennis
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-09-29 16:57:01 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description John Dennis 2006-09-11 14:16:00 EDT
I just discovered this. If the server catches an exception when handing a client
request the socket will be closed but the client in various places is looking
for socket exceptions and not a null return from socket.recv, in addition the
client code is not correct with respect to gobject.IO_HUP, it needs to
immediately remove the io watcher and only then queue a future reconnect
request. The problem is the io watch routine will keep firing signaling an
IO_HUP if it has not been removed from the watch queue.
Comment 1 John Dennis 2006-09-29 16:57:01 EDT
The code in question was totally re-written, no evidence of this behavior anymore.

Note You need to log in before you can comment on or make changes to this bug.