[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] allevents stops updating after trimhistory
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] allevents stops updating after trimhistory
- From: henrik (at) hswn.dk (Henrik Stoerner)
- Date: Wed, 4 Oct 2006 07:27:50 +0200
- References: <4522B3F5.6080007@idttechnology.com>
- User-agent: Mutt/1.5.11
On Tue, Oct 03, 2006 at 03:03:17PM -0400, John Glowacki wrote:
> On Solaris 9 hobbit 4.1.2 and RedHat 4 hobbit 4.2 I ran trimhistory and
> noticed the next day that no events were listed at the bottom of the bb2
> page. Working on my 4.2 test system I found hist/allevents stopped
> updating after running trimhistory. Restarting hobbit got it working
> again. Hobbit should not require any additional restarts after running
> trimhistory or it should be mentioned in the man page.
I think you're right about this. The hobbitd_history module keeps the
"allevents" file open while it is running, so trimhistory needs to
signal that it should re-open the new (truncated) file. Killing
hobbitd_history (it restarts automatically) fixes this, but that
shouldn't be needed.
Regards,
Henrik