<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">If this is related to the async thread
      pool, you could increase the number of async threads.  Since the
      async threads have no shared job queue, long filesystem blocking
      can cause async threads to accumulate jobs, and the only option is
      to increase the number of threads (despite the CPU/core count) if
      you have variable latency with filesystem use (which causes async
      threads to get clogged up unpredictably).<br>
      <br>
      On 05/17/2016 11:37 PM, Max Lapshin wrote:<br>
    </div>
    <blockquote
cite="mid:CAMxVRxBjcVSCfmoXTm24mfTGj4MKUvkiwvMN8ni6ZkFRwA6SHg@mail.gmail.com"
      type="cite">
      <div dir="ltr">We have been hunting a performance bug on customer
        installation during some time and have found that group of
        processes (about 300) each hour (when new archive file is
        opened) got locked with following stacktrace:
        <div><br>
        </div>
        <div>
          <p class=""><span class="">[{gen,do_call,4,[{file,"gen.erl"},{line,168}]},</span></p>
          <p class=""><span class=""> {gen_server,call,3,[{file,"gen_server.erl"},{line,208}]},</span></p>
          <p class=""><span class=""> {file,call,2,[{file,"file.erl"},{line,1487}]},</span></p>
          <p class=""><span class=""> {filelib,do_is_dir,2,[{file,"filelib.erl"},{line,130}]},</span></p>
          <p class=""><span class=""> {filelib,ensure_dir,1,[{file,"filelib.erl"},{line,231}]},</span></p>
          <p class=""><span class=""> {dvr_hour_storage,append1,2,...</span></p>
          <p class=""><span class=""><br>
            </span></p>
          <p class=""><span class=""><br>
            </span></p>
          <p class=""><span class="">Just a friendly reminder that most
              of file access functions are called via singleton process.</span></p>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
erlang-questions mailing list
<a class="moz-txt-link-abbreviated" href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a>
<a class="moz-txt-link-freetext" href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>