<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Oh yes. That's quite expected. :) H2 is really to be used only
      for demo and testing purposes.<br>
    </p>
    <pre class="moz-signature" cols="72">Pavol Mederly
Software developer
evolveum.com
</pre>
    <div class="moz-cite-prefix">On 03.07.2017 13:52, Lucas Diedrich
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAOnKmVRKuLqjqYuQMJCk7Roc9+5EoZjEiX27PvdxSWp3AhL31A@mail.gmail.com">
      <div dir="ltr">
        <p>Hi Gustavo,</p>
        <p dir="ltr"><b>- server HW<br>
          </b>
          A centos 7 x64 vm, with 4 cores and 12gb of ram. </p>
        <p dir="ltr"><b>- Tomcat memory parameters:</b></p>
        <p dir="ltr">-XX:+UseConcMarkSweepGC
          -XX:+CMSClassUnloadingEnabled -XX:+UseParNewGC
          -XX:MaxPermSize=256m -Xms512m -Xmx3072m<br>
        </p>
        <p dir="ltr"><b>- database? is it in the same server?</b></p>
        <p>I'm was using the H2 internal database. Now i migrated to a
          postgresSQL server and the process is reading the 7000+ users
          in about 2 minutes.</p>
        <div>Now its working good.</div>
        <div><br>
        </div>
        <div>Thanks.<br>
          <div class="gmail_quote">
            <div dir="ltr">Em qui, 29 de jun de 2017 12:48, Gustavo J
              Gallardo <<a href="mailto:ggallard@identicum.com"
                target="_blank" moz-do-not-send="true">ggallard@identicum.com</a>>
              escreveu:<br>
            </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div dir="ltr">Hi Lucas,
                <div>can you add some additional info regarding:</div>
                <div>- server <span
                    id="m_6180957858309049753m_6125223547793188360:3lq.1">HW</span></div>
                <div>- Tomcat memory parameters</div>
                <div>- database? is it in the same server?</div>
                <div>- is the import process creating the users in
                  midpoint? are you assigning roles, organizations,
                  resources to those users?</div>
                <div>- is there a user template processing?</div>
                <div><br>
                </div>
                <div><br>
                </div>
                <div>
                  <div dir="ltr">
                    <div dir="ltr">
                      <div><font style="color:rgb(0,0,0)" size="2"
                          face="arial">Regards,</font></div>
                      <font style="color:rgb(0,0,0)" size="2"
                        face="arial">
                        <div><font style="color:rgb(0,0,0)" size="2"
                            face="arial"><br>
                          </font></div>
                        Gustavo J <span
                          id="m_6180957858309049753m_6125223547793188360:3lq.2">Gallardo</span></font><span
                        style="color:rgb(0,0,0);font-family:'Times New
                        Roman';font-size:medium"> </span><br
                        style="color:rgb(0,0,0);font-family:'Times New
                        Roman';font-size:medium">
                      <font style="color:rgb(0,0,0)" size="1"
                        face="arial"><b><span
                            id="m_6180957858309049753m_6125223547793188360:3lq.3">Identicum</span>
                          S.A.</b><br>
                        Jorge <span
                          id="m_6180957858309049753m_6125223547793188360:3lq.4">Newbery</span>
                        3226<br>
                        Tel <a href="tel:+54%2011%204552-3050"
                          value="+541145523050" target="_blank"
                          moz-do-not-send="true">+54 (11) 4552-3050</a><br>
                        <a href="mailto:ggallard@identicum.com"
                          target="_blank" moz-do-not-send="true"><span
                            id="m_6180957858309049753m_6125223547793188360:3lq.5">ggallard</span>@<span
id="m_6180957858309049753m_6125223547793188360:3lq.6">identicum</span>.com</a><br>
                        <a href="http://www.identicum.com/"
                          target="_blank" moz-do-not-send="true">www.<span
id="m_6180957858309049753m_6125223547793188360:3lq.7">identicum</span>.com</a></font><br>
                    </div>
                  </div>
                  <br>
                </div>
              </div>
              <div class="gmail_extra"><br>
              </div>
              <div class="gmail_extra">
                <div class="gmail_quote">On Thu, Jun 29, 2017 at 10:21
                  AM, Lucas Diedrich <span dir="ltr"><<a
                      href="mailto:lucas.diedrich@gmail.com"
                      target="_blank" moz-do-not-send="true">lucas.diedrich@gmail.com</a>></span>
                  wrote:<br>
                </div>
              </div>
              <div class="gmail_extra">
                <div class="gmail_quote">
                  <blockquote class="gmail_quote" style="margin:0 0 0
                    .8ex;border-left:1px #ccc solid;padding-left:1ex">
                    <div dir="ltr">Hello guys, 
                      <div><br>
                      </div>
                      <div>I'm creating a task to sync my LDAP Users
                        (389DS), i have more than 7000 users, when i
                        initiate the sync task it reads like 15 users
                        for second, almost 1000 peer minute, but as the
                        process goes on it keep getting slower, slower
                        like reading 1 user in 3 seconds.</div>
                      <div><br>
                      </div>
                      <div>This is the log <a
                          href="https://paste.fedoraproject.org/paste/Obk37N2izHImvLQegSNr4w"
                          target="_blank" moz-do-not-send="true">https://paste.fedoraproject.org/paste/Obk37N2izHImvLQegSNr4w</a> you
                        can check at the begining he is reading more
                        than 3 or 4 peer second and at the end it is
                        really slow.</div>
                      <div><br>
                      </div>
                      <div>This is the resource config: <a
                          href="https://snag.gy/7IN8oa.jpg"
                          target="_blank" moz-do-not-send="true">https://snag.gy/7IN8oa.jpg</a></div>
                      <div>The process usage: <a
                          href="https://snag.gy/GXJqbo.jpg"
                          target="_blank" moz-do-not-send="true">https://snag.gy/GXJqbo.jpg</a></div>
                      <div><br>
                      </div>
                      <div>I'm using 4 threads on the task but with a
                        single task i've the same issue. Any ideas guys?</div>
                      <div><br>
                      </div>
                      <div>Thanks.</div>
                    </div>
                    <br>
                  </blockquote>
                </div>
              </div>
              <div class="gmail_extra">
                <div class="gmail_quote">
                  <blockquote class="gmail_quote" style="margin:0 0 0
                    .8ex;border-left:1px #ccc solid;padding-left:1ex">_______________________________________________<br>
                    midPoint mailing list<br>
                    <a href="mailto:midPoint@lists.evolveum.com"
                      target="_blank" moz-do-not-send="true">midPoint@lists.evolveum.com</a><br>
                    <a
                      href="http://lists.evolveum.com/mailman/listinfo/midpoint"
                      rel="noreferrer" target="_blank"
                      moz-do-not-send="true">http://lists.evolveum.com/mailman/listinfo/midpoint</a><br>
                    <br>
                  </blockquote>
                </div>
                <br>
              </div>
              _______________________________________________<br>
              midPoint mailing list<br>
              <a href="mailto:midPoint@lists.evolveum.com"
                target="_blank" moz-do-not-send="true">midPoint@lists.evolveum.com</a><br>
              <a
                href="http://lists.evolveum.com/mailman/listinfo/midpoint"
                rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.evolveum.com/mailman/listinfo/midpoint</a><br>
            </blockquote>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
midPoint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>