Le 31 janv. 2018 à 11:04, Clément OUDOT 
<[email protected]<mailto:[email protected]>> a écrit :

2018-01-31 10:36 GMT+01:00 Vincent LEPETIT 
<[email protected]<mailto:[email protected]>>:
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@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@ldap:/etc/lsc/supann2ad#

What can is explain this difference ?

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

lsc-users mailing list
[email protected]<mailto:[email protected]>
https://lists.lsc-project.org/cgi-bin/mailman/listinfo/lsc-users

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

lsc-users mailing list
[email protected]
https://lists.lsc-project.org/cgi-bin/mailman/listinfo/lsc-users

Reply via email to