<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 06/24/2015 10:02 AM, Christoph
      Kaminski wrote:<br>
    </div>
    <blockquote
cite="mid:OF6C873102.B1069DA9-ONC1257E6E.002C1954-C1257E6E.002C2FE2@biotronik.com"
      type="cite"><tt><font size="2"><a class="moz-txt-link-abbreviated" href="mailto:freeipa-users-bounces@redhat.com">freeipa-users-bounces@redhat.com</a>
          schrieb am 29.04.2015
          17:51:46:<br>
          <br>
          > Am 29.04.2015 um 15:43 schrieb Ludwig Krispenz:<br>
          > > <br>
          > > On 04/29/2015 03:17 PM, Martin (Lists) wrote:<br>
          > >> Am 27.04.2015 um 09:45 schrieb Ludwig Krispenz:<br>
          > >>> On 04/26/2015 10:49 AM, Martin (Lists)
          wrote:<br>
          > >>>> Hallo<br>
          > >>>><br>
          > >>>> after a reboot I get almost thousand of
          the following
          messages:<br>
          > >>>><br>
          > >>>> DSRetroclPlugin - delete_changerecord:
          could not
          delete change record<br>
          > >>>> 128755 (rc: 32)<br>
          > >>> this message comes from changeglog trimming
          and means
          that an entry,<br>
          > >>> which should be purged does not exist (any
          more).<br>
          > >>> the retrocl maintains a first/lastchange and
          trinming
          starts at<br>
          > >>> firstchange. if for some reason (race ?)
          there is an
          attempt to try to<br>
          > >>> delete the same entry a second time this
          message should
          be logged.<br>
          > >>> since the changenumbers in the error message
          increases,
          I think<br>
          > >>> changelog trimming moves forward. you could
          do searches
          on<br>
          > >>> "cn=changelog" to verify that trimming
          works.<br>
          > >> changelog is part of the ldbm database plugin
          and contains
          several<br>
          > >> informations I don't understand (or understand
          partially).
          What kind of<br>
          > >> information should I look for?<br>
          > > the changelog keeps track of the changes applied to
          the database,
          a<br>
          > > typical entry looks like:<br>
          > > dn: changenumber=4,cn=changelog<br>
          > > objectClass: top<br>
          > > objectClass: changelogentry<br>
          > > changeNumber: 4<br>
          > > targetDn: cn=tuser,ou=people,dc=example,dc=com<br>
          > > changeTime: 20140411093444Z<br>
          > > changeType: delete<br>
          > <br>
          > OK, I looked in the wrong directory. Now I have found
          many changelog<br>
          > entries, starting with number 152926 and ending with
          155512 (ldapsearch<br>
          > states 2588 numEntries). Should that be that much?<br>
          > <br>
          > The oldest is about two days and an half old and it does
          not change<br>
          > within the last few minutes.<br>
          > <br>
          > > <br>
          > > each entry gets a DN made up from he changenumber,
          so your entries
          will<br>
          > > be named:<br>
          > > ....<br>
          > > dn: changenumber=61,cn=changelog<br>
          > > dn: changenumber=62,cn=changelog<br>
          > > dn: changenumber=63,cn=changelog<br>
          > > dn: changenumber=64,cn=changelog<br>
          > > ....<br>
          > > changenumbers start and are always incremented,
          changelog trimming<br>
          > > removes old entries (depending on config).<br>
          > > <br>
          > > so if you do a search like:<br>
          > > ldapsearch .................. -b "cn=changelog"<br>
          > > the changenumber of the first entry rerurne should
          always increase,<br>
          > > indicating that trimming works.<br>
          > <br>
          > As it seems my trimming is broken, at least partially. Is
          there<br>
          > something I can adjust?<br>
          > <br>
          > > <br>
          > > you said "thousands" of messages, how frequent are
          they really ?<br>
          > <br>
          > On every reboot I got these messages. I do not get them
          during normal<br>
          > opperation.<br>
          > <br>
          > Something odd I observed after the last two reboots:
          ns-slapd runs
          my<br>
          > hard disk for several minutes (about 15 minutes) after
          the reboot.
          This<br>
          > is the time it takes to log all these change record
          messages.<br>
          > <br>
          > Kindly<br>
          > Martin<br>
          > <br>
          > -- <br>
        </font></tt>
      <br>
      <tt><font size="2">We have the same issue here on some servers...
          Any
          solutions for it?</font></tt>
      <br>
    </blockquote>
    <br>
    Hi Christoph,<br>
    <br>
    If you do a search on 'cn=changelog' what is the number of the first
    returned entry ?<br>
    Also what is the first number logged in the error log '<font
      size="2">delete_changerecord: could not
      delete change record xxx'.<br>
      <br>
      <font size="2">Did you see th<font size="2">ose messages a<font
            size="2">fter a server restart ?<br>
            <br>
            <font size="2">thanks<br>
              <font size="2">thierry</font></font></font></font></font></font><tt><font
        size="2"><font size="2"><font size="2"><font size="2"><font
                size="2"><br>
              </font></font></font></font></font></tt>
    <blockquote
cite="mid:OF6C873102.B1069DA9-ONC1257E6E.002C1954-C1257E6E.002C2FE2@biotronik.com"
      type="cite">
      <br>
      <tt><font size="2">Greetz</font></tt><font face="sans-serif"
        size="2"><br>
        <br>
      </font>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <br>
  </body>
</html>