Am Mittwoch, 10. August 2016, 11:08:23 CEST schrieb Marc Haber:
> On Tue, Aug 09, 2016 at 05:21:30PM +0200, Marc Haber wrote:
> > On Tue, Aug 09, 2016 at 05:15:41PM +0200, Martin Steigerwald wrote:
> > > I am currently still in holidays but intended to work on this after I
> > > am back at work.
> > 
> > No need, 2.2.3-1 is in final testing. Unfortunately, 2.2.3 does not
> > restart cleanly, so the first upload is going to go to experimental
> > (tomorrow, if the midnight cronjob doesn't bomb on me again). I
> > have pestered upstream lately with quite a few mails, so I'm going to
> > wait for him to react before upload goes to unstable.
> 
> I have uploaded, tagged and pushed.

Thank you.

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  
<gerlof.langev...@atoptool.nl>
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


I can report in another bug, but since this is experimental and for 
preliminary testing for now I just added it here.

Thanks,
-- 
Martin

Reply via email to