[cups.bugs] [HIGH] STR #2497: Cups client slow if used with two servers with more than 250 network printers.
Eli Kleinman
elik at bhphoto.com
Tue Aug 28 11:35:09 PDT 2007
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
In my configuration I am using 2 cups server’s(print1/print2)and one cups
client(ldapdev1) all solaris10 U3 (11/06), all are cups version 1.3.0.
The cups servers are setup with about 340 network printers most HP, by
staring ServerA(print1) the client(ldapdev1) works perfect without any
problem, but a soon as I start ServerB(print2), after a couple of seconds
the client’s lp responses drop drastically or don’t respond at all, in
the client error_log messages like printer-deleted event, Discarding unused
printer-deleted etc … show up, I have attached the client’s err log.
In my test the slow down starts when there is more then 200-250 network
printers.
Any help is greatly appreciated.
-Eli
Compile switches
------------------------------------------------------
../configure --prefix=/print/cups \
--with-fontpath=/usr/sfw/share/ghostscript/fonts \
--enable-ssl --with-openssl-libs=/usr/local/ssl/lib \
--with-openssl-includes=/usr/local/ssl/include
-------------------------------
Cupsd.conf (server print1/print2)
---------------------------------
# Log general information in error_log - change "info" to "debug" for
# troubleshooting...
LogLevel debug
# Administrator user group...
SystemGroup sys root
# Only listen for connections from the local machine.
Listen localhost:631
Listen print1.bnh.com:631
Listen /print/cups/var/run/cups/cups.sock
# Show shared printers on the local network.
# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseAddress 192.9.200.255
MaxClients 1024
MaxLogSize 100m
# Default authentication type, when authentication is required...
DefaultAuthType Basic
……. Default cupsd.conf file
----------------------------------------
Client side (ldapdev1)
----------------------------------------
cat cupsd.conf |grep -v ^#
----------------------------
LogLevel debug
SystemGroup sys root
Listen localhost:631
Listen ldapdev1.bnh.com:631
Listen /print/cups/var/run/cups/cups.sock
Browsing On
BrowseOrder allow,deny
BrowseAllow all
MaxLogSize 100m
DefaultAuthType Basic
……. Default cupsd.conf file
----------------------------------------
Link: http://www.cups.org/str.php?L2497
Version: 1.3.0
Attachment: http://www.cups.org/strfiles/2497/ldapdev1_error_log
More information about the cups
mailing list