<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Lock #1 is CRYPTO_LOCK_ERR, which I believe is used for logging
    errors.  It appears your application is generating a lot of errors
    for some reason.  Never tried it myself, but you probably can't
    disable this lock with multiple threads running.  You should take a
    look at the error log to identify the cause of the errors.  Then
    resolve the issue, whatever it may be.  <br>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 04/30/2015 06:52 PM, Bryan Call
      wrote:<br>
    </div>
    <blockquote
      cite="mid:91F453BC-3CA5-4031-9F07-09222EE7716B@apache.org"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      This is for Apache Traffic Server and we have no knobs for turning
      on/off FIPS.  I am thinking about always disabling FIPS right now
      and that would happen before we create the threads. 
      <div class=""><br class="">
      </div>
      <div class="">I was able to get rid of all the FIPS lock
        connection with the changes you recommend (Big Thanks!).  The
        big one now is type 1.  I am printing out the log every time the
        contention total is mod 1M.  Are there any tricks I can do for
        type 1 locks?</div>
      <div class=""><br class="">
      </div>
      <div class="">
        <div class="">[Apr 30 22:46:49.549] Server {0x7f1e4531d700}
          ERROR: contention for lock - total contention: 4000000
          waiting: 1 file: pmeth_lib.c line: 185 type: 10</div>
        <div class="">[Apr 30 22:46:49.688] Server {0x7f1e45822700}
          ERROR: contention for lock - total contention: 11000000
          waiting: 2 file: err.c line: 469 type: 1</div>
        <div class="">[Apr 30 22:46:50.406] Server {0x7f1e45c26700}
          ERROR: contention for lock - total contention: 4000000
          waiting: 0 file: ex_data.c line: 304 type: 2</div>
        <div class=""><b class="">[Apr 30 22:46:50.932] Server
            {0x7f1e45b25700} ERROR: contention for lock - total
            contention: 12000000 waiting: 5 file: err.c line: 446 type:
            1</b></div>
        <div class="">[Apr 30 22:46:52.001] Server {0x7f1e45721700}
          ERROR: contention for lock - total contention: 1000000
          waiting: 0 file: rand_lib.c line: 212 type: 19</div>
      </div>
      <div class=""><br class="">
        <div class="">
          <div style="color: rgb(0, 0, 0); letter-spacing: normal;
            orphans: auto; text-align: start; text-indent: 0px;
            text-transform: none; white-space: normal; widows: auto;
            word-spacing: 0px; -webkit-text-stroke-width: 0px;
            word-wrap: break-word; -webkit-nbsp-mode: space;
            -webkit-line-break: after-white-space;" class="">
            <div class="">-Bryan</div>
            <div class=""><br class="">
            </div>
          </div>
          <br>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>