I have raised the default LogDebugHistory some years ago as most
printing problems happen during the execution of a job and this way one
gets a logging with debug verbosity only for jobs and standard verbosity
for all the rest. This way one often did not need to ask the bug-
reporting users to reproduce their problems after having set logging to
debug mode but instead, one could simply start to work with the
error_log auto-captured by Apport.
Up to now no one complained that it somehow overloaded system resources.
Please add a line "LogDebugHistory 200" to your /etc/cups/cupsd.conf and
restart CUPS.
I will remove this change from the next release of the CUPS package.
OdyX, could you remove the LogDebugHistory=99999 default change from the
CUPS package for Debian (remove log-debug-history-nearly-
unlimited.patch)? Thanks.
** Changed in: cups (Ubuntu)
Status: Confirmed => Triaged
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to cups in Ubuntu.
https://bugs.launchpad.net/bugs/1831021
Title:
Extremely high memory consumption under heavy workload
Status in cups package in Ubuntu:
Triaged
Bug description:
Under heavy workload conditions cups can reach irrationally high
memory consumption very quickly (tens of GBs).
Test case:
1. Set MaxJobs to 40000 in cupsd.conf.
2. sudo apt install cups-pdf
3. Fill the queue with jobs:
while [ 1 ]; lp -d PDF /usr/share/cups/data/default.pdf; done
4. Cancel all jobs
cancel -a PDF
5. Restart cups.
6. Start filling the queue again (as in step 3).
Expected result:
Jobs are processed and memory consumption is proportional to the number of
jobs.
Actual result:
After step 5 or at latest step 6 memory consumption starts to increase
exponentially - from ~150-200 MB to 8+GB. Without foreseeing this it's very
easy to get cupsd killed by OOM killer.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1831021/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp