Bug#280718: gnome-cups-manager: floods central cups printer server with requests

Emilio Jesús Gallego Arias Emilio Jesús Gallego Arias , 280718@bugs.debian.org
Wed, 15 Dec 2004 01:25:17 +0100


Hi!

El mar, 14-12-2004 a las 20:01 +0000, Ross Burton escribió:
> On Tue, 2004-12-14 at 19:36 +0100, Emilio Jesús Gallego Arias wrote:
> > The problem it's that gnome-cups-icon does polling at very high rate, ~
> > 3 times per second as I see in the logs. Maybe making the poll time
> > value configurable would be a solution (in this case I'll set it a 20
> > seconds, so cupsd doesn't eat so much cpu)
> 
> >From gnome-cups-printer.c:
> 
> #define UPDATE_TIMEOUT 5000

Yes you're right, now that I'm alone in the system can see it polls
every 5 sec.

During the day we have 30+ users it polls a lot more, but I can change
the define, thank you very much for pointing this, it will solve my
problems for a while.

> [...]
> Of course, if you can provide proof that g-c-m is sending more requests
> that it should, that is good.

So I think this bug is severy wishlist then, and if you approve I will
retitle it as "Should support dbus enabled server to avoid excessive
polling to cups"

Thank you very much, regards,

Emilio