[cups.bugs] [MOD] STR #2365: Slowdown with many job history files in RequestRoot

Sebastian Leske Sebastian.Leske at sleske.name
Sat Apr 28 04:41:07 PDT 2007


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

[STR New]

If
PreserveJobHistory Yes
is set in cupsd.conf (the default), CUPS will retain a history file for
each completed print job in RequestRoot.

If there are many such files in RequestRoot, printing (or more precisely,
communication with CUPS) slows down on our system. Starting a new print
job or just running "lpq" take several seconds with ~15000 files in
RequestRoot.

Removing the history files ( c<Jobnumer> ) from RequestRoot and reloading
CUPS fixes the problem. Copy back the history files and restart, and the
problem returns.

The workaround is to set "PreserveJobHistory No", but it would be better
if CUPS handled a large history more intelligently. Particularly if there
are dozens of printers, the history can get large very quickly. It would
be nice to still retain the history feature without such a slowdown.

Link: http://www.cups.org/str.php?L2365
Version: 1.1.22





More information about the cups mailing list