Package: atop
Version: 2.2.3-1~exp1
Severity: normal

Dear Marc,

Thank you for packaging atop 2.2.3.

Process accounting does not seem to work. I wonder why tough.

atopacct is running, and it also seemed to setup process accounting:

merkaba:/run> ls -l pacct_*
-rw------- 1 root root  0 Aug 11 10:53 pacct_source

pacct_shadow.d:
insgesamt 4
-rw-r--r-- 1 root root 0 Aug 11 10:53 0000000000.paf
-rw-r--r-- 1 root root 7 Aug 11 10:53 current
merkaba:/run>

merkaba:~> ls -l /proc/3748/fd
insgesamt 0
lr-x------ 1 root root 64 Aug 11 10:57 0 -> /run/pacct_source
l-wx------ 1 root root 64 Aug 11 10:57 1 -> /run/pacct_shadow.d/0000000000.paf
l-wx------ 1 root root 64 Aug 11 10:57 3 -> /run/pacct_shadow.d/current
lrwx------ 1 root root 64 Aug 11 10:57 4 -> socket:[814532]
lrwx------ 1 root root 64 Aug 11 10:57 5 -> socket:[814533]


Yet the file that is supposed to contain the data, I think thats
"0000000000.paf" does not grow.

The service runs:

merkaba:~> systemctl status atopacct | cat
● atopacct.service - Atop process accounting daemon
   Loaded: loaded (/lib/systemd/system/atopacct.service; enabled; vendor 
preset: enabled)
   Active: active (running) since Do 2016-08-11 10:53:19 CEST; 1min 50s ago
     Docs: man:atopacctd(8)
  Process: 3746 ExecStart=/usr/sbin/atopacctd (code=exited, status=0/SUCCESS)
 Main PID: 3748 (atopacctd)
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/atopacct.service
           └─3748 /usr/sbin/atopacctd

Aug 11 10:53:19 merkaba systemd[1]: Starting Atop process accounting daemon...
Aug 11 10:53:19 merkaba systemd[1]: atopacct.service: PID file /run/
atopacctd.pid not readable (yet?) after start: No such file or directory
Aug 11 10:53:19 merkaba atopacctd[3748]: Version: 2.2-3 - 2015/06/25 11:07:21 
[…]
Aug 11 10:53:19 merkaba systemd[1]: Started Atop process accounting daemon.
Aug 11 10:53:19 merkaba atopacctd[3748]: reactivate process accounting


I wonder about

Aug 11 10:53:19 merkaba systemd[1]: atopacct.service: PID file /run/
atopacctd.pid not readable (yet?) after start: No such file or directory

but the process is definately running and the process file also exists and
contains correct value

merkaba:~> cat /run/atopacctd.pid
3748


Thank you,
Martin

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.7.0-tp520-btrfstrim+ (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages atop depends on:
ii  init-system-helpers  1.42
ii  initscripts          2.88dsf-59.8
ii  libc6                2.23-4
ii  libncurses5          6.0+20160625-1
ii  libtinfo5            6.0+20160625-1
ii  lsb-base             9.20160629
ii  zlib1g               1:1.2.8.dfsg-2+b1

Versions of packages atop recommends:
ii  cronie [cron-daemon]  1.4.8-1~exp1

atop suggests no packages.

-- no debconf information

Reply via email to