Red Hat Bugzilla – Bug 1021512
cups-browsed opens many connection an don't close it
Last modified: 2013-11-10 01:38:53 EST
Description of problem:
With cups-filters-1.0.40-3.fc19.x86_64 I got many (currently ~300 ) CLOSE_WAIT connections
tcp 1 0 Enterprise.theori:58593 cups.theorie.physik:ipp CLOSE_WAIT 1010/cups-browsed
and ~6 ESTABLISHED connections:
tcp 0 0 Enterprise.theori:33139 cups.theorie.physik:ipp ESTABLISHED 1010/cups-browsed
Because of this our cups server, responseable for ~100 clients breaks with MaxClients too low: Max clients reached, holding new connections...
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. systemctl start cups-browsed.service
2. wait a couple of hours and see netstat -tap|grep cups-browsed
No problems with 1.0.34-7.fc19.x86_64
cat <<EOF >/etc/cron.hourly/restart-cups-browsed
systemctl start cups-browsed.service
chmod a+x /etc/cron.hourly/restart-cups-browsed
Please attach /etc/cups/cups-browsed.conf.
It looks like the IPP subscriptions code has a socket leak somewhere. :-(
Created attachment 814606 [details]
The host to poll cups resolves:
Enterprise: ~>host cups
cups.theorie.physik.uni-goettingen.de has address 184.108.40.206
I think I've found the leaks.
cups-filters-1.0.40-4.fc19 has been submitted as an update for Fedora 19.
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing cups-filters-1.0.40-4.fc19'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
Ok, 1.0.40-4 fix the Bug.
Thanks for the hispeed fix!
Thanks. Sent upstream.
cups-filters-1.0.40-4.fc20 has been submitted as an update for Fedora 20.
cups-filters-1.0.40-4.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
Re-opening for Fedora 20.
cups-filters-1.0.40-4.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.