2014-03-12 11:09 GMT+01:00 bossant <[email protected]>: > Hi, > > I'm using lsc agent to monitor LSC status. In particular Nagios check > retrieves task status. > I noticed that it returns very huge numbers for All entries field, for > example: > All entries: 3240836, to modify entries: 97, successfully modified > entries: 97, errors: 0 > > My LDAP and database do not contain so many users. > There are 2 calls to incrementCountAll() method in > AbstractSynchronize.run() method. > The first one might be the explanation of this huge number as I run my > task in asynchronous mode - so I think run() is called every 5 seconds. > I also see that no provision is done in incrementCount methods about > integer overflow... > > Right,
for now, the counter is incremented for each modificiation, so in async mode, if one entry is modified 10 times, the "all entries" counter will grow of 10. For the integer overflow, could you maybe open an issue and propose a patch? Clément.
_______________________________________________________________ Ldap Synchronization Connector (LSC) - http://lsc-project.org lsc-users mailing list [email protected] http://lists.lsc-project.org/listinfo/lsc-users

