Bug 995041
| Summary: | timeout duration for waiting for a client response is too long (when flushing commands) | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Yonit Halperin <yhalperi> | |
| Component: | spice-server | Assignee: | Yonit Halperin <yhalperi> | |
| Status: | CLOSED ERRATA | QA Contact: | Desktop QE <desktop-qa-list> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 6.4 | CC: | acathrow, cfergeau, dblechte, mkenneth, mkrcmari, uril | |
| Target Milestone: | rc | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | spice-server-0.12.4-3.el6 | Doc Type: | Bug Fix | |
| Doc Text: |
Cause:
Sometimes, when the queue of messages to send to the client (aka pipe) is full, the server waits for messages to be sent to the client (such that the pipe is not full).
The server does not wait forever, but uses a timeout.
This timeout (DISPLAY_CLIENT_TIMEOUT) was set to 150 seconds.
Consequence:
When the client is unresponsive, the server waits that long timeout period. Also sometimes this caused other problems.
Fix:
Reduce the timeout to 30 seconds
Result:
The server now waits only 30 seconds for unresponsive clients.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 1016182 (view as bug list) | Environment: | ||
| Last Closed: | 2013-11-21 07:42:28 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1016182 | |||
|
Description
Yonit Halperin
2013-08-08 12:57:30 UTC
Upstream Patch: http://cgit.freedesktop.org/spice/spice/commit/?id=6ced0f698507de02a67cfcd25b7ab07e8c423fad To test: 1. Connect remote-viewer to a VM. 2. Do something on the VM (e.g run a video). 3. Suspend the client (or disconnect its ethernet cable) 4. Measure the time till disconnection. 5. See if the server has errors. (In reply to Uri Lublin from comment #2) > To test: > 1. Connect remote-viewer to a VM. > 2. Do something on the VM (e.g run a video). > 3. Suspend the client (or disconnect its ethernet cable) > 4. Measure the time till disconnection. Most times, only the display channel is being disconnected. When that happens a warning is logged on the server side, such as: SpiceWorker-Warning ** red_worker.c:9738:flush_display_commands: update timeout > 5. See if the server has errors. Also, note that this is not 100% reproducible (for me it was less than 10%), and may depend on what the guest is running. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-1571.html |