[cups.bugs] [MOD] STR #2836: Multiple values of document-format-default in CUPS-Get-Printers response

Guy Paressant net at ac-nantes.fr
Tue May 27 08:57:36 PDT 2008


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Our 2 central cups servers (more than 400 printers) becomes slower so we
need to restart cups 2-3 times a days.
A trace of CUPS-Get-Printers Request shows many values of
document-format-default for each printer, always increasing...
I type this :
strace -s 2500 -fv -o /tmp/strace13 lpstat -p hn03ap

For the CUPS-Get-Printers with requested-attributes including
"printer-defaults", the response is :
recv(3,"\1\1\0\0\0\0\0\1\1G\0\22attributes-charset\0\5utf-8H\0\33attributes-natural-language\0\2en\4\"\0\31printer-is-accepting-jobs
\0\1\1\"\0\21printer-is-shared\0\1\0#\0\rprinter-state\0\4\0\0\0\3!\0\31...
....orientation-requested-default\0\0I\0\27document-format-default\0\30application/octet-streamI\0\27document-format-default\0\30application/octet-stream...

The number of document-format-default increase so much (more than 3000)
that the cups server becomes too slow.
I don't reproduce the problem on a test machine...
Can you help me ?
Thanks

Link: http://www.cups.org/str.php?L2836
Version: 1.3.7





More information about the cups-devel mailing list