On Sun, Jul 08, 2012 at 04:16:44PM +0200, Michael Stapelberg wrote:
> So, _cron is essentially restart, but with a 3-second delay followed by
> deleting old atop_* files.

It is essentially what the upstream cron job did in a dedicated shell
script, using its own configuration and introducing possibility for
de-synced paths.

> I’m not entirely sure what the 3-second delay is for (and it’s not
> documented), so I cannot comment on that.

It's what upstream does. I guess that the sleep is there to allow the
dying atop to close the log file.

> Fedora uses logrotate to deal with /var/log/atop/atop.log. In case you
> don’t want to use that for some reason (please elaborate),

Upstream's wish. I rolled back the corresponding Debian change because
it introduced three bugs into Debian that noone cared about. I decided
to go back to the way Upstream does it.

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