Hi Jonathan,
first of all thanks for your reply and for your willingness to help.
Il 01/10/24 01:45, Jonathan Kamens ha scritto:
[...]
From your report, it sounds like you're saying that the `apt-get -qq
changelog` command is the one you see consuming a lot of CPU? Do you see that
same command consumeĀ a lot of CPU if you run it from the command line, i.e.,
not when the apt-listchanges populate database job runs it?
Yes: the CPU intensive command is indeed 'apt-get -qq changelog' and it's CPU
hungry from command line too. It easily reaches 100% of a CPU thread for the
time it runs.
[...] Also, the populate database job only
runs that command for packages that don't have any changelogs in /usr/share/
doc, which should be a minority of installed packages.
This sounds quite odd since I saw running the 'apt-get -qq changelog' command
for >9 secs. against the package dolphin=4:23.08.1-1+b2, which actually _has_ a
changelog in /usr/share/doc:
ll /usr/share/doc/dolphin/
totale 24
-rw-r--r-- 1 root root 222 16 mar 2024 changelog.Debian.amd64.gz
-rw-r--r-- 1 root root 2969 16 mar 2024 changelog.Debian.gz
-rw-r--r-- 1 root root 14269 4 ott 2023 copyright
... or libintl-xs-perl=1.33-1+b2:
ll /usr/share/doc/libintl-xs-perl/
totale 16
-rw-r--r-- 1 root root 218 7 mar 2024 changelog.Debian.amd64.gz
-rw-r--r-- 1 root root 1932 7 mar 2024 changelog.Debian.gz
-rw-r--r-- 1 root root 2436 14 dic 2022 changelog.gz
-rw-r--r-- 1 root root 1601 22 dic 2022 copyright
When you see that command consuming a lot of CPU, are you connected to the
network? Is there anything unusual about your network connection, like is it
particularly slow or unreliable? Is there anything unusual about your computer,
like does it have a particularly slow CPU?
Everything looks normal here. I have a good Gbit fiber connection, a Ryzen
4700G CPU with 32GB RAM and fast NVMe storage. I really can't figure out why
that command takes up so much CPU; the database reading phase of the apt
commands has always been CPU intensive (I have several repositories configured,
which can well be the reason) but I never had the need to run thousands of apt
commands in sequence as apt-listchanges does.
[...]
Thank you for support!