On Fri, Nov 12, 2010 at 05:04:45PM +0100, bs_li...@aakef.fastmail.fm wrote:
> # HG changeset patch
> # User Bernd Schubert <bernd.schub...@fastmail.fm>
> # Date 1289577717 -3600
> # Node ID 8b4e11cab67165eb44bd89b9cbb0319078fc8fbc
> # Parent  112b6e5408892b791dbd46b66ce75fe98dd06c26
> ha_logd: Add a SIGHUP signal handler to close/open log files
> 
> Without the signal handler cl_log uses inefficient IO, as it
> has to open/seek/flush/close the log files in order to allow
> cron log file rotation.

Ah, yes.  That's a good approach.
So logrotate with deferred compression and only kill -HUP'ing
logd and possibly other known good candidates.

-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to