BrowseTimeout broke?

angelb angelb at bugarin.us
Wed Mar 28 14:40:16 PDT 2007


Hello all.

Looks like BrowseTimeout in CUPS 1.2 is broken.

Here, I have two clients; client A running CUPS 1.1. and client B
running CUPS 1.2. I've purposedly set BrowseTimeout much lower for
this test and both clients have identical configuration.

clientA # grep Browse cupsd.conf
BrowseInterval 3600
BrowseTimeout 15


clientB # grep Browse cupsd.conf
BrowseInterval 3600
BrowseTimeout 15


Both clients point to the same server, serverZ running CUPS 1.1.

As expected, clientA started to timeout 15seconds later:

sapts01f# head error_log
I [28/Mar/2007:16:11:32 +0600] Listening to 0:631
I [28/Mar/2007:16:11:32 +0600] Polling a3007aa:631
I [28/Mar/2007:16:11:32 +0600] Loaded configuration file "/etc/opt/TWWfsw/cups11
23/cupsd.conf"
I [28/Mar/2007:16:11:32 +0600] Configured for up to 100 clients.
I [28/Mar/2007:16:11:32 +0600] Allowing up to 100 client connections per host.
I [28/Mar/2007:16:11:32 +0600] Full reload is required.
I [28/Mar/2007:16:11:32 +0600] LoadPPDs: Read "/etc/opt/TWWfsw/cups1123/ppds.dat
", 4227 PPDs...
I [28/Mar/2007:16:11:33 +0600] LoadPPDs: No new or changed PPDs...
I [28/Mar/2007:16:11:33 +0600] Full reload complete.
I [28/Mar/2007:16:11:33 +0600] Added remote printer "4mpa"...
...
I [28/Mar/2007:16:11:48 +0600] Added remote printer "BB02"...
I [28/Mar/2007:16:11:49 +0600] Remote destination "4mpa" has timed out; deleting it...
I [28/Mar/2007:16:11:49 +0600] Added remote printer "BB03"...
I [28/Mar/2007:16:11:50 +0600] Remote destination "4mpb" has timed out; deleting it...
..

clientA # lpstat -p
clientA #


While clientB, on the other hand silently keeps its printers
and still going:

clientB # tail error_log
I [28/Mar/2007:16:13:06 +0600] <Limit All>
I [28/Mar/2007:16:13:06 +0600] Order Deny,Allow
I [28/Mar/2007:16:13:06 +0600] </Limit>
I [28/Mar/2007:16:13:06 +0600] </Policy>
I [28/Mar/2007:16:13:06 +0600] Full reload is required.
I [28/Mar/2007:16:13:06 +0600] Loaded MIME database from '/etc/opt/TWWfsw/cups124': 34 types, 38 filters...
I [28/Mar/2007:16:13:06 +0600] Loading job cache file "/var/opt/TWWfsw/cups124/cache/job.cache"...
I [28/Mar/2007:16:13:06 +0600] Full reload complete.
I [28/Mar/2007:16:13:06 +0600] Listening to 0.0.0.0:631 on fd 0...
E [28/Mar/2007:16:13:06 +0600] Unable to bind socket for address :631 - Address already in use.


ROOT @ SAPTI02F # lpstat -p
printer 4mpa is idle.  enabled since Wed Mar 28 16:13:06 CDT 2007
printer 4mpb is idle.  enabled since Wed Mar 28 16:13:06 CDT 2007
...
printer zabq is idle.  enabled since Wed Mar 28 16:13:06 CDT 2007



Here, I have clientA(cups 1.1) pointing to serverY(cups 1.2)

sapts01f# tail -f error_log
I [28/Mar/2007:16:29:48 +0600] Loaded configuration file "/etc/opt/TWWfsw/cups11
23/cupsd.conf"
I [28/Mar/2007:16:29:48 +0600] Configured for up to 100 clients.
I [28/Mar/2007:16:29:48 +0600] Allowing up to 100 client connections per host.
I [28/Mar/2007:16:29:48 +0600] Full reload is required.
I [28/Mar/2007:16:29:49 +0600] LoadPPDs: Wrote "/etc/opt/TWWfsw/cups1123/ppds.da
t", 4227 PPDs...
I [28/Mar/2007:16:29:49 +0600] Full reload complete.
I [28/Mar/2007:16:29:49 +0600] Added remote printer "ar01"...
...
I [28/Mar/2007:16:30:03 +0600] Added remote printer "ca01"...
I [28/Mar/2007:16:30:04 +0600] Added remote printer "ca03"...
I [28/Mar/2007:16:30:05 +0600] Remote destination "ar01" has timed out; deleting it...
I [28/Mar/2007:16:30:05 +0600] Added remote printer "ca05"...
I [28/Mar/2007:16:30:06 +0600] Remote destination "ar02" has timed out; deleting it...


Can anyone else try and duplicate this? Or is this already a known issue?

Thanks,
Angel





More information about the cups mailing list