Issue #775 has been reported by Clément OUDOT.

----------------------------------------
Bug #775: Buffer limit with exectuable plugin
http://tools.lsc-project.org/issues/775

Author: Clément OUDOT
Status: New
Priority: Normal
Assigned to: 
Category: Plugin
Target version: Executable plugin - 1.1
Problem in version: 


Hi, I try to use executable plugin as source service.

With a small amount of entries it works well, but with >500 entries, it stalled.

Log of LSC execution:
<pre>
Jun 10 09:20:37 - DEBUG - Loading XML configuration from: 
/etc/lsc/mysql2ldap/lsc.xml
Jun 10 09:20:37 - DEBUG - going to scan these urls:
jar:file:/usr/lib/lsc/lsc-executable-plugin-1.0.jar!/
jar:file:/usr/lib/lsc/lsc-core-2.1.3.jar!/
Jun 10 09:20:37 - INFO  - Reflections took 240 ms to scan 2 urls, producing 66 
keys and 162 values 
Jun 10 09:20:37 - DEBUG - Importing XML schema file: schemas/lsc-core-2.1.xsd
Jun 10 09:20:37 - DEBUG - Importing XML schema file: 
schemas/lsc-executable-1.0.xsd
Jun 10 09:20:37 - INFO  - Logging configuration successfully loaded from 
/etc/lsc/mysql2ldap/logback.xml 
Jun 10 09:20:37 - INFO  - LSC configuration successfully loaded from 
/etc/lsc/mysql2ldap/
Jun 10 09:20:37 - INFO  - Connecting to LDAP server 
ldap://localhost:3389/dc=ow2,dc=org as cn=manager,dc=ow2,dc=org
Jun 10 09:20:37 - DEBUG - Reading sql-map-config.xml from 
file:/etc/lsc/mysql2ldap/sql-map-config.xml
Jun 10 09:20:37 - INFO  - Starting sync for password
Jun 10 09:20:37 - DEBUG - Lauching '/etc/lsc/mysql2ldap/list.pl '
Jun 10 09:20:37 - DEBUG - Writing to STDIN 
Jun 10 09:20:37 - DEBUG - Waiting for command to stop ...
</pre>

The command never stops. Here is what we get with strace:
<pre>
root@sandbox:~# strace -p 1564
Process 1564 attached
write(1, "xxx,"..., 8192
</pre>


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://tools.lsc-project.org/my/account
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-dev mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-dev

Reply via email to