This bug was fixed in the package cups - 2.2.11-0ubuntu1
---------------
cups (2.2.11-0ubuntu1) eoan; urgency=medium
* New upstream release
* Removed 10 patches taken from upstream.
* Refreshed 13 patches with quilt.
* Removed patch to set "LogDebugHistory 99999" as it causes high
system load when there are very many jobs (LP: #1831021).
* Set "DirtyCleanInterval 0" in CUPS configuration to avoid losses of
jobs when cupsd gets killed (LP: #1830022).
-- Till Kamppeter <[email protected]> Mon, 05 Aug 2019 11:40:10
+0200
** Changed in: cups (Ubuntu)
Status: Triaged => Fix Released
--
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:
Fix Released
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