Issue #518 has been updated by Joel Foote.

I was able to isolate this behavior. It only appears to happen when I am 
running an asynchronous task using -all and the xml also contains a synchronous 
task.  I'm not sure if that is entirely a supported use case.  

It seems like it should be handled better either way. I was expecting it to 
start as a daemon, run the asynch tasks and I would have to fire off a manual 
request for the sync task.




----------------------------------------
Bug #518: dateformat in the ldapSourceService causes ldap query spam
http://tools.lsc-project.org/issues/518

Author: Joel Foote
Status: Feedback
Priority: Normal
Assigned to: Joel Foote
Category: Core
Target version: 2.1
Problem in version: 2.0


LSC version: 2.0

When using a dateformat attribute with the ldapSourceService other then 
default, the service will send queries constantly to the ldap server.

Here are example values that this was seen with:

      <dateFormat>yyyyMMddHHmmss.S'Z'</dateFormat>
      <dateFormat>yyyyMMddHHmmss.'Z'</dateFormat>
      <dateFormat>yyyyMMddHHmmss.'Z'</dateFormat>
      <dateFormat>yyyyMMddHHmmss.'0Z'</dateFormat>
      <dateFormat>yyyyMMddHHmmss'.0Z'</dateFormat>

There appears to be an interaction with the polling interval, but I haven't 
been able to track this down in the source yet. 

I can attach debug logs, but they do not show any specific information, just 
querying for the users over and over again, 3-5x a second.

The task never appears to finish the initial query and never checks for the 
modifytimestamp.

Changing dateFormat to the default value resolves this, and the query happens 
per the interval set. 



-- 
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