atop (2.2.6-2) unstable; urgency=medium

  KERNEL ISSUES WITH PROCESS ACCOUNTING

  Newer upstream kernels have two issues with process accounting.
  These were isolated and debugged in #833997

  1) Sometimes process accounting does not work at all¹. Atopacctd tries to
  work around this issue, by retrying to initialize process accounting
  several times.

  2) When using the NETLINK interface, the command TASKSTATS_CMD_GET
  consequently returns -EINVAL². Atopacctd needs NETLINK to be able to
  be triggered that some process in the system has finished. In this way
  atopacctd can be in a blocking state as long as no processes terminate.
  When atopacctd detects this condition it thus switches into a polling
  state to periodically try if it can read process accounting records as
  a workaround. This issue has to do with cpumask and you can work-around
  it by building a kernel that has CONFIG_NR_CPUS configured to exactly
  the amount of CPUs (logical CPUs) in the system the kernel runs on. You
  can find this kernel option under "Processor type and features" -->
  "Maximum number of CPUs".

  [1] Bug 190271 - process accounting sometimes does not work
  https://bugzilla.kernel.org/show_bug.cgi?id=190271

  [2] Bug 190711 - Process accounting: Using the NETLINK interface,
  the command TASKSTATS_CMD_GET returns -EINVAL
  https://bugzilla.kernel.org/show_bug.cgi?id=190711

  Linux kernel mailing list thread:

  [REGRESSION] Two issues that prevent process accounting (taskstats) from
  working correctly
  https://lkml.org/lkml/2016/12/19/182

 -- Marc Haber <mh+debian-packages@zugschlus.de>  Mon, 19 Dec 2016 16:27:37 +0100

atop (2.2.3-1~exp1) experimental; urgency=low

  * atop's log file format in /var/log has changed. Old log files will
    be moved away on upgrade so that the new atop will actually start.
  * currently the restart of atop does not work because in some
    circumstances, atop won't read its own log file. Symptom is that
    atop doesn't run after restart and /var/log/atop/daily.log says
    incompatible log format. Upstream has been informed of that. I am
    uploading to experimental to get preliminary comments from users.

 -- Marc Haber <mh+debian-packages@zugschlus.de>  Mon, 08 Aug 2016 10:58:40 +0200
