Bug 1164854
Summary: | When access is restricted, cups-polld retries polling multiple times per second | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | jstephen |
Component: | cups | Assignee: | Tim Waugh <twaugh> |
Status: | CLOSED ERRATA | QA Contact: | qe-baseos-daemons |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.4 | CC: | jpopelka, psklenar, tlavigne |
Target Milestone: | rc | Keywords: | Patch, Regression |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | cups-1.4.2-69.el6 | Doc Type: | Bug Fix |
Doc Text: |
When the BrowsePoll configuration directive was used and the remote server configured for polling forbade access, the cups-polld process retried accessing immediately in a busy loop. The process consumed all processor time and increased network traffic. With this update, a mandatory delay of ten seconds has been introduced to prevent that. Affected users should also fix their configuration by removing the BrowsePoll line for the server, or adjusting the server to allow remote queries.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2015-07-22 06:54:59 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: |
Description
jstephen
2014-11-17 17:44:40 UTC
We aren't sleeping when we loop because restart_polling is 1: /* * Sleep for any remaining time... */ if (remain > 0 && !restart_polling) sleep(remain); But we do need to sleep in order to prevent this busy loop, so I'd suggest else if (restart_polling) sleep(10); There is no equivalent upstream fix as cups-polld.c was removed with this bug still remaining as far as I can tell. Hello, I have tested the patch and it resolved this issue in my testing. E [05/Dec/2014:08:36:18 -0500] [cups-polld 192.168.100.173:631] CUPS-Get-Printers failed: Forbidden E [05/Dec/2014:08:36:28 -0500] [cups-polld 192.168.100.173:631] CUPS-Get-Printers failed: Forbidden E [05/Dec/2014:08:36:38 -0500] [cups-polld 192.168.100.173:631] CUPS-Get-Printers failed: Forbidden E [05/Dec/2014:08:36:48 -0500] [cups-polld 192.168.100.173:631] CUPS-Get-Printers failed: Forbidden E [05/Dec/2014:08:36:58 -0500] [cups-polld 192.168.100.173:631] CUPS-Get-Printers failed: Forbidden - Justin 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. https://rhn.redhat.com/errata/RHBA-2015-1346.html |