<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 06/11/2013 12:12 AM, Mahadevan,
      Venkat wrote:<br>
    </div>
    <blockquote
cite="mid:57ABCAA446A34248A21072281010E3305B2BF6A4@S-ITSV-MBX01P.ead.ubc.ca"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal">Hello,<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">My apologies if this has been discussed
          before but I couldn’t find anything in the archives<o:p></o:p></p>
        <p class="MsoNormal">beyond this: <a moz-do-not-send="true"
href="https://lists.fedoraproject.org/pipermail/389-commits/2011-January/004560.html">https://lists.fedoraproject.org/pipermail/389-commits/2011-January/004560.html</a><o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">The issue I am encountering are the
          following errors when an entry is being added to the<o:p></o:p></p>
        <p class="MsoNormal">directory or deleted from the directory –
          it seems an operations error err=1 corresponds to<o:p></o:p></p>
        <p class="MsoNormal">a failure in the backend ldbm (see log
          snippets below).<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">I can reproduce these errors consistently
          by running a JMeter test to add and delete<o:p></o:p></p>
        <p class="MsoNormal">entries. It always transpires that some
          entries will fail to add or delete and will throw an
          operations<o:p></o:p></p>
        <p class="MsoNormal">error err=1 and a corresponding ldbm error.
        </p>
      </div>
    </blockquote>
    Hi Mahadevan,<br>
    <br>
    <blockquote>This  error means that the server is not able to replace
      in the entry cache and old entry by a new one.<br>
      It triggers the failure of the operation that is not committed
      although it has a csn.<br>
      Do you have special tuning of the entry cache  (nsslapd-cachesize,
      nsslapd-cachememsize) ?<br>
      I do not know what is going on but a possibility (ADD/DEL) is for
      example that the parent entry get out of the entry cache while
      processing the operation. For MOD, it could be the RUV itself !.<br>
      <br>
    </blockquote>
    best regards<br>
    thierry<br>
    <blockquote
cite="mid:57ABCAA446A34248A21072281010E3305B2BF6A4@S-ITSV-MBX01P.ead.ubc.ca"
      type="cite">
      <div class="WordSection1">
        <p class="MsoNormal"><o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">----------------<o:p></o:p></p>
        <p class="MsoNormal">In the error log I see things like:<o:p></o:p></p>
        <p class="MsoNormal">[10/Jun/2013:14:46:43 -0700] -
          ldbm_back_delete: modify_switch_entries failed<o:p></o:p></p>
        <p class="MsoNormal">[10/Jun/2013:14:50:58 -0700] -
          ldbm_back_modify: modify_switch_entries failed<o:p></o:p></p>
        <p class="MsoNormal">[10/Jun/2013:14:50:59 -0700] -
          ldbm_back_modify: modify_switch_entries failed<o:p></o:p></p>
        <p class="MsoNormal">[10/Jun/2013:14:50:59 -0700] -
          ldbm_back_modify: modify_switch_entries failed<o:p></o:p></p>
        <p class="MsoNormal">[10/Jun/2013:14:50:59 -0700] -
          ldbm_back_add: modify_switch_entries failed<o:p></o:p></p>
        <p class="MsoNormal">[10/Jun/2013:14:50:59 -0700] -
          ldbm_back_modify: modify_switch_entries failed<o:p></o:p></p>
        <p class="MsoNormal">[10/Jun/2013:14:51:00 -0700] -
          ldbm_back_modify: modify_switch_entries failed<o:p></o:p></p>
        <p class="MsoNormal">[10/Jun/2013:14:51:00 -0700] -
          ldbm_back_add: modify_switch_entries failed<o:p></o:p></p>
        <p class="MsoNormal">[10/Jun/2013:14:51:00 -0700] -
          ldbm_back_modify: modify_switch_entries failed<o:p></o:p></p>
        <p class="MsoNormal">[10/Jun/2013:14:51:01 -0700] -
          ldbm_back_modify: modify_switch_entries failed<o:p></o:p></p>
        <p class="MsoNormal">[10/Jun/2013:14:51:02 -0700] -
          ldbm_back_modify: modify_switch_entries failed<o:p></o:p></p>
        <p class="MsoNormal">[10/Jun/2013:14:51:04 -0700] -
          ldbm_back_modify: modify_switch_entries failed<o:p></o:p></p>
        <p class="MsoNormal">[10/Jun/2013:14:51:04 -0700] -
          ldbm_back_add: modify_switch_entries failed<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">In the access log I see things like:<o:p></o:p></p>
        <p class="MsoNormal">[10/Jun/2013:14:50:59 -0700] conn=3516 SSL
          256-bit AES<o:p></o:p></p>
        <p class="MsoNormal">[10/Jun/2013:14:50:59 -0700] conn=3516 op=0
          BIND dn="cn=Directory Manager" method=128 version=3<o:p></o:p></p>
        <p class="MsoNormal">[10/Jun/2013:14:50:59 -0700] conn=3516 op=0
          RESULT err=0 tag=97 nentries=0 etime=0 dn="cn=directory
          manager"<o:p></o:p></p>
        <p class="MsoNormal">[10/Jun/2013:14:50:59 -0700] conn=3516 op=1
          ADD dn="uid=jmeter25,dc=dev,dc=id,dc=ubc,dc=ca"<o:p></o:p></p>
        <p class="MsoNormal">[10/Jun/2013:14:50:59 -0700] conn=3516 op=1
          RESULT err=1 tag=105 nentries=0 etime=0
          csn=51b64a46001b01f50000<o:p></o:p></p>
        <p class="MsoNormal">[10/Jun/2013:14:50:59 -0700] conn=3516 op=2
          DEL dn="uid=jmeter25,dc=dev,dc=id,dc=ubc,dc=ca"<o:p></o:p></p>
        <p class="MsoNormal">[10/Jun/2013:14:50:59 -0700] conn=3516 op=2
          RESULT err=32 tag=107 nentries=0 etime=0<o:p></o:p></p>
        <p class="MsoNormal">[10/Jun/2013:14:50:59 -0700] conn=3516 op=3
          UNBIND<o:p></o:p></p>
        <p class="MsoNormal">[10/Jun/2013:14:50:59 -0700] conn=3516 op=3
          fd=107 closed - U1<o:p></o:p></p>
        <p class="MsoNormal">[10/Jun/2013:14:51:00 -0700] conn=3533 SSL
          256-bit AES<o:p></o:p></p>
        <p class="MsoNormal">[10/Jun/2013:14:51:00 -0700] conn=3533 op=0
          BIND dn="cn=Directory Manager" method=128 version=3<o:p></o:p></p>
        <p class="MsoNormal">[10/Jun/2013:14:51:00 -0700] conn=3533 op=0
          RESULT err=0 tag=97 nentries=0 etime=0 dn="cn=directory
          manager"<o:p></o:p></p>
        <p class="MsoNormal">[10/Jun/2013:14:51:00 -0700] conn=3533 op=1
          ADD dn="uid=jmeter57,dc=dev,dc=id,dc=ubc,dc=ca"<o:p></o:p></p>
        <p class="MsoNormal">[10/Jun/2013:14:51:00 -0700] conn=3533 op=1
          RESULT err=1 tag=105 nentries=0 etime=0
          csn=51b64a46004d01f50000<o:p></o:p></p>
        <p class="MsoNormal">[10/Jun/2013:14:51:00 -0700] conn=3533 op=2
          DEL dn="uid=jmeter57,dc=dev,dc=id,dc=ubc,dc=ca"<o:p></o:p></p>
        <p class="MsoNormal">[10/Jun/2013:14:51:00 -0700] conn=3533 op=2
          RESULT err=32 tag=107 nentries=0 etime=0<o:p></o:p></p>
        <p class="MsoNormal">[10/Jun/2013:14:51:00 -0700] conn=3533 op=3
          UNBIND<o:p></o:p></p>
        <p class="MsoNormal">[10/Jun/2013:14:51:00 -0700] conn=3533 op=3
          fd=110 closed - U1<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Our configuration is as follows:<o:p></o:p></p>
        <p class="MsoNormal">2 Master servers (writes always go to one)
          in a MMR config.<o:p></o:p></p>
        <p class="MsoNormal">3 Replica servers with replication
          agreements to each of the 2 masters.<o:p></o:p></p>
        <p class="MsoNormal">RHEL 6.4 x64 Linux
          2.6.32-358.2.1.el6.x86_64<o:p></o:p></p>
        <p class="MsoNormal">389-ds-base.x86_64             
          1.2.11.15-14.el6_4 @rhel-x86_64-server-6<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Has anyone seen this before and solved the
          issue? This is a big blocker for us before we can deploy in
          production.
          <o:p></o:p></p>
        <p class="MsoNormal">So far, I am really liking 389 and want to
          see it in use at our institution. Thank you for any
          assistance.<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Kind regards,<o:p></o:p></p>
        <p class="MsoNormal"><span
            style="color:#1F497D;mso-fareast-language:EN-CA">--------------------------------------------------------------------<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="color:#1F497D;mso-fareast-language:EN-CA">Venkat
            Mahadevan<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="color:#1F497D;mso-fareast-language:EN-CA">Programmer
            Analyst II, Identity and Access Management<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="color:#1F497D;mso-fareast-language:EN-CA">Information
            Technology | Engage. Envision. Enable.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="color:#1F497D;mso-fareast-language:EN-CA">The
            University of British Columbia<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="color:#1F497D;mso-fareast-language:EN-CA">Tel:
            604.822.4112<o:p></o:p></span></p>
        <p class="MsoNormal"><o:p> </o:p></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">--
389 users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:389-users@lists.fedoraproject.org">389-users@lists.fedoraproject.org</a>
<a class="moz-txt-link-freetext" href="https://admin.fedoraproject.org/mailman/listinfo/389-users">https://admin.fedoraproject.org/mailman/listinfo/389-users</a></pre>
    </blockquote>
    <br>
  </body>
</html>