[cups.general] Cups client slow if used with two servers with more than 250 network printers.

Eli Kleinman elik at bhphotovideo.com
Wed Aug 29 06:59:16 PDT 2007


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
----------------------------------------

-- 
Eli Kleinman
B&H Photo Video, Inc.
420 9TH Avenue
New York, NY 10001 USA
Phone: 212-239-7500 Ext.2154
Email: elik at bhphoto.com





More information about the cups mailing list