[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#758626: marked as done (cups-browsed: uses a lot of CPU on a busy network)



Your message dated Tue, 26 Nov 2019 20:31:15 +0000
with message-id <26112019202249.ad3cb974273d@desktop.copernicus.org.uk>
and subject line Re: Bug#758626: cups-browsed: uses a lot of CPU on a busy network
has caused the Debian Bug report #758626,
regarding cups-browsed: uses a lot of CPU on a busy network
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
758626: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758626
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: cups-browsed
Version: 1.0.57-1
Severity: normal

I'm running cups on a machine which lives on a fairly busy network
(about 100 printers broadcasting), and cups-browsed is constantly near
the very top of the "top" list, ordered by %CPU, for example:

PID USER     PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
11954 root   20   0   76428   2532   1268 R  12.9  0.1   8:44.36 cups-brows+

Is this a bug, or just the result of the network having so many
printers?

   Julian

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cups-browsed depends on:
ii  init-system-helpers  1.20
ii  libavahi-client3     0.6.31-4
ii  libavahi-common3     0.6.31-4
ii  libavahi-glib1       0.6.31-4
ii  libc6                2.19-7
ii  libcups2             1.7.4-4
ii  libglib2.0-0         2.40.0-4

Versions of packages cups-browsed recommends:
ii  avahi-daemon  0.6.31-4

cups-browsed suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
On Wed 05 Nov 2014 at 11:05:30 +0000, Julian Gilbey wrote:

> On Fri, Oct 31, 2014 at 03:25:05PM +0100, Till Kamppeter wrote:
> > I by myself have never tested cups-browsed with that many printers or
> > otherwise very noisy networks. It is also the first time that someone
> > reports that cups-browsed takes a lot of CPU.
> > 
> > cups-browsed is running an event loop and if an event (= broadcast
> > signal from local avahi-daemon or from remote CUPS server) happens, a
> > callback function to create, update, or remove a print queue is executed.
> > 
> > Important to know is also what kind of broadcasting the remote servers
> > are doing. Are they running newer CUPS versions and so using Bonjour for
> > broadcasting (cups-browsed is then triggered by the local avahi-daemon)
> > or are these older servers using CUPS broadcasting (cups-browsed uses
> > the legacy CUPS browsing facility then)?
> > 
> > Can you deactivate CUPS browsing via cups-browsed.conf? If some printers
> > go away on your local system then you indded have servers using the old
> > method. Does the system load caused by cups-browsed go down now? Perhaps
> > upgrading old servers to have all broadcasting being Bonjour could help.
> 
> I modified cups-browsed.conf by changing the line
> 
> BrowseRemoteProtocols dnssd cups
> 
> to read
> 
> BrowseRemoteProtocols dnssd
> 
> and then restarted cups-browsed.  I now have negligible load from
> cups-browsed and no printers found.
> 
> > Is there a lot of Bonjour broadcasting in your network, also from other
> > devices, like file servers or so? You can see this running the
> > "avahi-discover" command.
> 
> There is some amount of broadcasting, but it seems to be at a rate of
> one broadcast every few seconds.  I don't see any printers being
> broadcast.
> 
> > Is your local machine sharing CUPS printers? Did you turn on the legacy
> > CUPS broadcasting of your local cups-browsed to share to old clients?
> > Try to turn this off and in case of success, update the CUPS on these
> > clients.
> 
> I don't believe that I'm sharing any printers.  (I don't have any
> locally connected printers, for a start.)

This report concerns a now unsupported version of cups-browsed.
In the light of this and the above remarks I feel that closing
it is not unjustified. A new report can always be submitted if
the issue resurfaces.

Regards,

Brian.

--- End Message ---

Reply to: