[lsc-users] Sync process time seem to be excessive

Vincent LEPETIT vincent.lepetit at psl.eu
Wed Jan 31 11:11:52 CET 2018



Le 31 janv. 2018 à 11:04, Clément OUDOT <clem.oudot at gmail.com<mailto:clem.oudot at gmail.com>> a écrit :

2018-01-31 10:36 GMT+01:00 Vincent LEPETIT <vincent.lepetit at psl.eu<mailto:vincent.lepetit at psl.eu>>:
Hi,

During my test the time from start process to end process eeam to take one hours, each time.


And i have betweenn 1000 and 2000 entry in both ldap/ad directory before filtering …

So what can explain this long executing time ?

How Can i optimize this ?


Indeed this is not normal.

You can try to force LSC to use only one thread:

# /usr/bin/lsc -f /etc/lsc/supann2ad -t1 -s all -c all -n


Try to see also if both directories have good response time. Often AD
is quite slow.

Clément.
Hi clément,

Ok whis your option it’s very much faster :

root at ldap:/etc/lsc/supann2ad# /usr/bin/lsc -f /etc/lsc/supann2ad -t1 -s all -c all -n
11:08:22,339 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
11:08:22,340 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/etc/lsc/supann2ad/logback.xml]
….
janv. 31 11:08:23 - INFO  - Reflections took 255 ms to scan 1 urls, producing 56 keys and 117 values
janv. 31 11:08:23 - INFO  - Logging configuration successfully loaded from /etc/lsc/supann2ad/logback.xml
janv. 31 11:08:24 - INFO  - LSC configuration successfully loaded from /etc/lsc/supann2ad/
janv. 31 11:08:24 - INFO  - Connecting to LDAP server ldap://srvad01.psl.local/dc=PSL,dc=local as cn=Supann AD,cn=Users,dc=PSL,dc=local with STARTTLS extended operation
janv. 31 11:08:24 - INFO  - Connecting to LDAP server ldaps://ldap.intranet.univ-psl.fr/dc=univ-psl,dc=fr as uid=gestioncomptes,ou=people,dc=univ-psl,dc=fr
janv. 31 11:08:24 - INFO  - Starting sync for FromSupannToAD
janv. 31 11:08:34 - INFO  - All entries: 755, to modify entries: 755, successfully modified entries: 0, errors: 0
janv. 31 11:08:34 - INFO  - Starting clean for FromSupannToAD
janv. 31 11:08:35 - INFO  - All entries: 836, to modify entries: 389, successfully modified entries: 0, errors: 0
root at ldap:/etc/lsc/supann2ad#

What can is explain this difference ?

_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-users mailing list
lsc-users at lists.lsc-project.org<mailto:lsc-users at lists.lsc-project.org>
https://lists.lsc-project.org/cgi-bin/mailman/listinfo/lsc-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lsc-project.org/pipermail/lsc-users/attachments/20180131/047f3fa1/attachment.html>


More information about the lsc-users mailing list