Package: unattended-upgrades
Version: 1.1
Severity: normal

Dear Maintainer,

When unattended upgrade runs it is using up 100% CPU for half an hour:

top - 12:19:08 up 7 days, 21:32,  1 user,  load average: 1,21, 1,33, 1,28
Tasks: 242 total,   2 running, 180 sleeping,   0 stopped,   0 zombie
%Cpu(s): 28,0 us,  7,9 sy,  0,0 ni, 63,6 id,  0,1 wa,  0,0 hi,  0,3 si,  0,0 st
KiB Mem : 16305448 total,  2055960 free,  8917952 used,  5331536 buff/cache
KiB Swap: 19956732 total, 19762884 free,   193848 used.  4859524 avail Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
30106 root      20   0  187660 117692  60896 R 100,0  0,7  42:28.55 unattended-
upgr


I see no reason why it is eating up so many system resources, especially
because this is only the control process it is not even
downloading/unpacking/installing anything on its own, except pooly designed
algorythms.

This behaviour is especially bad on battery powered devices.

regards

     Hans



-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.14.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages unattended-upgrades depends on:
ii  debconf [debconf-2.0]  1.5.66
ii  lsb-base               9.20170808
ii  lsb-release            9.20170808
ii  python3                3.6.4-1
ii  python3-apt            1.4.0~beta3+b1
ii  ucf                    3.0038
ii  xz-utils               5.2.2-1.3

Versions of packages unattended-upgrades recommends:
ii  anacron             2.3-24
ii  cron [cron-daemon]  3.0pl1-130

Versions of packages unattended-upgrades suggests:
ii  bsd-mailx                     8.1.2-0.20160123cvs-4
pn  needrestart                   <none>
ii  ssmtp [mail-transport-agent]  2.64-8+b2

-- debconf information excluded

Reply via email to