[midPoint] Very Slow LDAP Sync

Pavol Mederly mederly at evolveum.com
Mon Jul 3 13:59:44 CEST 2017


Oh yes. That's quite expected. :) H2 is really to be used only for demo 
and testing purposes.

Pavol Mederly
Software developer
evolveum.com

On 03.07.2017 13:52, Lucas Diedrich wrote:
>
> Hi Gustavo,
>
> *- server HW
> * A centos 7 x64 vm, with 4 cores and 12gb of ram.
>
> *- Tomcat memory parameters:*
>
> -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:+UseParNewGC 
> -XX:MaxPermSize=256m -Xms512m -Xmx3072m
>
> *- database? is it in the same server?*
>
> 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.
>
> Now its working good.
>
> Thanks.
> Em qui, 29 de jun de 2017 12:48, Gustavo J Gallardo 
> <ggallard at identicum.com <mailto:ggallard at identicum.com>> escreveu:
>
>     Hi Lucas,
>     can you add some additional info regarding:
>     - server HW
>     - Tomcat memory parameters
>     - database? is it in the same server?
>     - is the import process creating the users in midpoint? are you
>     assigning roles, organizations, resources to those users?
>     - is there a user template processing?
>
>
>     Regards,
>
>     Gustavo J Gallardo
>     *Identicum S.A.*
>     Jorge Newbery 3226
>     Tel +54 (11) 4552-3050 <tel:+54%2011%204552-3050>
>     ggallard at identicum.com <mailto:ggallard at identicum.com>
>     www.identicum.com <http://www.identicum.com/>
>
>
>     On Thu, Jun 29, 2017 at 10:21 AM, Lucas Diedrich
>     <lucas.diedrich at gmail.com <mailto:lucas.diedrich at gmail.com>> wrote:
>
>         Hello guys,
>
>         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.
>
>         This is the log
>         https://paste.fedoraproject.org/paste/Obk37N2izHImvLQegSNr4w you
>         can check at the begining he is reading more than 3 or 4 peer
>         second and at the end it is really slow.
>
>         This is the resource config: https://snag.gy/7IN8oa.jpg
>         The process usage: https://snag.gy/GXJqbo.jpg
>
>         I'm using 4 threads on the task but with a single task i've
>         the same issue. Any ideas guys?
>
>         Thanks.
>
>         _______________________________________________
>         midPoint mailing list
>         midPoint at lists.evolveum.com <mailto:midPoint at lists.evolveum.com>
>         http://lists.evolveum.com/mailman/listinfo/midpoint
>
>
>     _______________________________________________
>     midPoint mailing list
>     midPoint at lists.evolveum.com <mailto:midPoint at lists.evolveum.com>
>     http://lists.evolveum.com/mailman/listinfo/midpoint
>
>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20170703/88e6d0d6/attachment.htm>


More information about the midPoint mailing list