Your message dated Tue, 31 Dec 2019 13:50:18 +0100 with message-id <5388360.ictSUWPUt3@odyx.org> and subject line Re: Bug#946941: memory leak fixes in 2.2.11 and 2.2.12 has caused the Debian Bug report #946941, regarding cups: Memory leak in cupsd to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 946941: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=946941 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: cups: Memory leak in cupsd
- From: Rik Theys <Rik.Theys@esat.kuleuven.be>
- Date: Wed, 18 Dec 2019 11:10:37 +0100
- Message-id: <[🔎] 157666383780.13725.8587949102189948491.reportbug@oxygen.esat.kuleuven.be>
Package: cups Version: 2.2.10-6+deb10u1 Severity: important Hi, After upgrading our print server from Debian 9 to 10, we frequently get notified by our monitoring system that the server is running out of memory. It seems there's a memory leak in cupsd. The memory usage starts at about 3.8% and can grow to 98% of system memory. When I monitor the memory usage of the cupsd process with top, and then run the following command in a terminal on the print server, I can see the memory usage grow with each invocation: lpstat -W completed -u The memory usage is increased and never decreased again. The memory usage also increases with other commands (although not as much), such as 'lpstat -a'. I assume client systems trigger the same issue when they query printer status. Just last night the memory usage went from about 100MB to 3GB in 23 minutes (cups was restarted by logrotate). A similar issue is described in the comments of https://askubuntu.com/questions/1160624/cupsd-service-high-memory-usage Regards, Rik -- System Information: Debian Release: 10.2 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-6-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages cups depends on: ii cups-client 2.2.10-6+deb10u1 ii cups-common 2.2.10-6+deb10u1 ii cups-core-drivers 2.2.10-6+deb10u1 ii cups-daemon 2.2.10-6+deb10u1 ii cups-filters 1.21.6-5 ii cups-ppdc 2.2.10-6+deb10u1 ii cups-server-common 2.2.10-6+deb10u1 ii debconf [debconf-2.0] 1.5.71 ii ghostscript 9.27~dfsg-2+deb10u3 ii libavahi-client3 0.7-4+b1 ii libavahi-common3 0.7-4+b1 ii libc6 2.28-10 ii libcups2 2.2.10-6+deb10u1 ii libcupsimage2 2.2.10-6+deb10u1 ii libgcc1 1:8.3.0-6 ii libstdc++6 8.3.0-6 ii libusb-1.0-0 2:1.0.22-2 ii poppler-utils 0.71.0-5 ii procps 2:3.3.15-2 Versions of packages cups recommends: pn avahi-daemon <none> ii colord 1.4.3-4 ii cups-filters [ghostscript-cups] 1.21.6-5 pn printer-driver-gutenprint <none> Versions of packages cups suggests: ii cups-bsd 2.2.10-6+deb10u1 pn cups-pdf <none> pn foomatic-db-compressed-ppds | foomatic-db <none> ii hplip 3.18.12+dfsg0-2 ii printer-driver-hpcups 3.18.12+dfsg0-2 ii smbclient 2:4.9.5+dfsg-5+deb10u1 ii udev 241-7~deb10u2 -- Configuration Files: /etc/default/cups changed [not included] -- debconf information: cupsys/backend: lpd, socket, usb, snmp, dnssd cupsys/raw-print: true
--- End Message ---
--- Begin Message ---
- To: Rik Theys <Rik.Theys@esat.kuleuven.be>, 946941-done@bugs.debian.org
- Subject: Re: Bug#946941: memory leak fixes in 2.2.11 and 2.2.12
- From: Didier 'OdyX' Raboud <odyx@debian.org>
- Date: Tue, 31 Dec 2019 13:50:18 +0100
- Message-id: <5388360.ictSUWPUt3@odyx.org>
- In-reply-to: <[🔎] 75043151-82ea-77f7-2a79-61aca042452e@esat.kuleuven.be>
- References: <[🔎] 157666383780.13725.8587949102189948491.reportbug@oxygen.esat.kuleuven.be> <[🔎] 75043151-82ea-77f7-2a79-61aca042452e@esat.kuleuven.be>
Version: 2.3.1-1 Hello Rik, as far as I'm aware, all these are fixed in unstable; hereby marking this bug as fixed in the latest CUPS version. Le mercredi, 18 décembre 2019, 11.44:57 h CET Rik Theys a écrit : > It seems the newer upstream releases 2.2.11 and 2.2.12 fix memory issues: > > https://github.com/apple/cups/releases/tag/v2.2.11 > > https://github.com/apple/cups/releases/tag/v2.2.12 > > Would it be possible to backport those fixes to the Debian package? Let's see. From 2.2.11: > Fixed a potential memory leak when reading at the end of a file (#5473) > Fixed a potential memory leak when loading a PPD file (#5475) Both these are already part of 2.2.10-6. From 2.2.12: > Fixed a memory leak in ppdOpen. I'll include this one in the next debian/buster upload. Cheers, OdyXAttachment: signature.asc
Description: This is a digitally signed message part.
--- End Message ---