[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: slurpd.replog truncation?
- To: openldap-software@OpenLDAP.org
- Subject: Re: slurpd.replog truncation?
- From: Stefan Alfredsson <bulk@alfredsson.org>
- Date: Sun, 10 Mar 2002 17:28:13 +0100
- Content-disposition: inline
- In-reply-to: <3C889E46.30F5281@id.ethz.ch>; from mclaughlin@id.ethz.ch on Fri, Mar 08, 2002 at 12:19:34PM +0100
- References: <3C889E46.30F5281@id.ethz.ch>
- User-agent: Mutt/1.3.17i
Some more info on the truncation question... I'm forwarding this email
to the list, for archiving purposes. Also see David's suggestion about
updating the admin guide.
/Stefan
On Fri, Mar 08, 2002 at 12:19:34PM +0100, David McLaughlin wrote:
> Hi Stefan,
>
> Thank you for your reply. I looked in the source code in the
> servers/slurpd
> directory. The modules involved with the file trimming are "replog.c",
> "rq.c"
> and "st.c". They come from the original University of Michigan code.
>
> The "rq.c" module contains these comment lines:
>
> /*
> * Check to see if the private slurpd replication log needs trimming.
> * The current criteria are:
> * - The last trim was more than 5 minutes ago, *and*
> * - We've finished with at least 50 replication log entries since
> the
> * last time we re-wrote the replication log.
> *
> * Return 1 if replogfile should be trimmed, 0 if not.
> * Any different policy should be implemented by replacing this
> function.
> */
>
> It would be nice if the OpenLDAP people would put this information into
> the Admin Guide or at least into the man pages.
>
> It would also be nice if the Admin Guide and man pages were updated to
> say that slurpd now uses a single process and single replog file for
> replication ...
>
> Thanks again for your help,
> David
>
> --
> David McLaughlin e-mail: mclaughlin@id.ethz.ch
> Swiss Federal Institute of Technology tel. : + 41 (1) 632-3531
> Informatikdienste secr. : + 41 (1) 632-0833
> ETH-Zentrum fax : + 41 (1) 632-1225
> Clausiusstrasse 59
> CH-8092 Zurich, Switzerland