On Fri, Aug 31, 2012 at 09:38:43AM +0200, Jan Niehusmann wrote:
> If the partition where the process accounting file,
> /var/run/atop/atop.acct is located, is close to full (98%, depending on
> kernel settings), the kernel stops writing process accounting entries.
> (Log message in kern.log: "Process accounting paused")
> 
> Subsequently, acctvers(fd) in acctproc.c fails reading a version number
> from the accounting file, and doesn't initialize the acctrecsz variable.
> 
> This, in turn, leads to a division by zero in acctprocnt(void):
> "atop[4631] trap divide error ip:4060a8 sp:7fffd6992c90 error:0 in 
> atop[400000+1c000]"
> 
> Set severity to minor, as this only happens under unusual circumstances
> and it's trivial to work around using the ATOPACCT variable (according
> to the man page - not verified).

If you can reproduce this, please retry with a backport of atop 1.26.
There have been changes in this area of atop. I can give you a
backported package if you want to.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 31958061
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 31958062


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to