Bug#921280: systemd-cgtop no longer shows memory usage

2019-02-28 Thread Anthony DeRobertis

On 2/28/19 1:48 PM, Michael Biebl wrote:


Hm, interesting.
I see that this particular PR is not part of v241.
That said, when I run systemd-cgtop I *do* see the memory usage column
with 241-1

Anthony, could you please re-test with this version and report back?



I installed systemd 241-1 from unstable. systemd-cgtop still doesn't 
display memory usage. Since kernel version apparently matters,


$ uname -a
Linux Watt 4.19.0-1-amd64 #1 SMP Debian 4.19.12-1 (2018-12-22) x86_64 
GNU/Linux


I went ahead and tried the patch from 
https://github.com/systemd/systemd/pull/11775 and installed that, and it 
works. (though I installed and not configured, since the dependencies 
are really tight, and I also have libsystemd0:i386 here, which I didn't 
wind up building on my amd64 box...) So the patch fixes it.




Bug#921280: systemd-cgtop no longer shows memory usage

2019-02-28 Thread Michael Biebl
Control: tags -1 + moreinfo

Hi

On Wed, 20 Feb 2019 14:20:19 -0800 Szabolcs Fruhwald
 wrote:
> We experienced the same issue. After debugging it with gdb, found the
> culprit and created a fix / PR on systemd github repo:
> https://github.com/systemd/systemd/pull/11775


Hm, interesting.
I see that this particular PR is not part of v241.
That said, when I run systemd-cgtop I *do* see the memory usage column
with 241-1

Anthony, could you please re-test with this version and report back?

Regards,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#921280: systemd-cgtop no longer shows memory usage

2019-02-03 Thread Anthony DeRobertis
Package: systemd
Version: 240-5
Severity: normal
File: /usr/bin/systemd-cgtop

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

systemd-cgtop now displays '-' for all memory usage columns. Not sure
exactly when it stopped working, I had it running in a terminal for a
long time (so it was an old version). When I finally restarted it, it no
longer worked. Even after rebooting the machine, it continues to not
work.

Control Group Tasks 
  %CPU   Memory  Input/s Output/s
/   781 
  11.6---
/init.scope   1 
 ----
/system.slice   238 
   1.2---
/system.slice/acpid.service   1 
   0.0---
/system.slice/apache-htcacheclean.service 1 
   0.0---
/system.slice/apache2.service11 
   0.0---
/system.slice/atd.service 1 
 ----
⋮

Memory accounting information shows fine in `systemctl status`, though:

$ systemctl status atd.service
● atd.service - Deferred execution scheduler
   Loaded: loaded (/lib/systemd/system/atd.service; enabled; vendor preset: enab
   Active: active (running) since Sun 2019-02-03 16:27:07 EST; 13min ago
 Docs: man:atd(8)
  Process: 1503 ExecStartPre=/usr/bin/find /var/spool/cron/atjobs -type f -name 
 Main PID: 1565 (atd)
Tasks: 1 (limit: 4915)
   Memory: 1.3M
  CPU: 4ms
   CGroup: /system.slice/atd.service
   └─1565 /usr/sbin/atd -f

Feb 03 16:27:06 Watt systemd[1]: Starting Deferred execution scheduler...
Feb 03 16:27:07 Watt systemd[1]: Started Deferred execution scheduler.

I'm booting with systemd.unified_cgroup_hierarchy=1 if it matters.


- -- Package-specific info:

- -- System Information:
Debian Release: buster/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'testing'), (500, 'stable'), (130, 
'unstable-debug'), (130, 'unstable'), (120, 'experimental-debug'), (120, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages systemd depends on:
ii  adduser  3.118
ii  libacl1  2.2.52-3+b1
ii  libapparmor1 2.13.2-7
ii  libaudit11:2.8.4-2
ii  libblkid12.33.1-0.1
ii  libc62.28-5
ii  libcap2  1:2.25-1.2
ii  libcryptsetup12  2:2.0.6-1
ii  libgcrypt20  1.8.4-4
ii  libgnutls30  3.6.6-2
ii  libgpg-error01.33-3
ii  libidn11 1.33-2.2
ii  libip4tc01.8.2-3
ii  libkmod2 25-2
ii  liblz4-1 1.8.3-1
ii  liblzma5 5.2.2-1.3
ii  libmount12.33.1-0.1
ii  libpam0g 1.1.8-4
ii  libseccomp2  2.3.3-3
ii  libselinux1  2.8-1+b1
ii  libsystemd0  240-5
ii  mount2.33.1-0.1
ii  util-linux   2.33.1-0.1

Versions of packages systemd recommends:
ii  dbus1.12.12-1
ii  libpam-systemd  240-5

Versions of packages systemd suggests:
ii  policykit-10.105-25
pn  systemd-container  

Versions of packages systemd is related to:
pn  dracut   
ii  initramfs-tools  0.132
ii  udev 240-5

- -- Configuration Files:
/etc/systemd/system.conf changed:
[Manager]
DefaultCPUAccounting=yes
DefaultMemoryAccounting=yes


- -- no debconf information

-BEGIN PGP SIGNATURE-

iHMEARECADMWIQTlAc7j4DAtSNRJJ0z7P4jCVepZ/gUCXFdgiBUcYW50aG9ueUBk
ZXJvYmVydC5uZXQACgkQ+z+IwlXqWf50PQCdEhQOhXiA7v/qi/IRdbVnovWzrMMA
n0zKtwj5lJ8BazDXSybxJw2JAX7/
=Cs2T
-END PGP SIGNATURE-