Hi Emmanuel,

I had to check which connection pool we are using and see now that our
configuration looks like this:

LdapConnectionConfig config = *new* LdapConnectionConfig();

config.setLdapHost(apacheDSHost);

config.setLdapPort(apacheDSPort);

config.setName(writeUser);

config.setCredentials(writePassword);



GenericObjectPoolConfig<Object> poolConfig = *new*
GenericObjectPoolConfig<>();

poolConfig.setLifo(*true*);

poolConfig.setMaxTotal(600);

poolConfig.setMaxIdle(128);

poolConfig.setMaxWaitMillis(-1L);

poolConfig.setMinEvictableIdleTimeMillis(1000L * 60L * 30L);

poolConfig.setMinIdle(8);

poolConfig.setNumTestsPerEvictionRun(3);

poolConfig.setSoftMinEvictableIdleTimeMillis(-1L);

poolConfig.setTestOnBorrow(*true*);

poolConfig.setTestOnReturn(*false*);

poolConfig.setTestWhileIdle(*false*);

poolConfig.setTimeBetweenEvictionRunsMillis(-1L);


*return* *new* LdapConnectionPool(factory, poolConfig);


Could you please check if out connection pool configuration is correct, or
maybe some property needs a change.


Some more info:

We have approximately 800 requests per minute.


Best Regards


Sergey Mikhno

Software Developer

Galexis AG

On Mon, Jul 1, 2019 at 4:11 PM Sergey Mikhno <sergey.mik...@gmail.com>
wrote:

> We are using 2.0.0.AM24
>
> On Mon, Jul 1, 2019 at 4:05 PM Emmanuel Lécharny <elecha...@gmail.com>
> wrote:
>
>>
>> On 01/07/2019 15:51, Sergey Mikhno wrote:
>> > Thank you, Emmanuel,
>> >
>> > We'll activate this logger and see what happens.
>>
>>
>> The idea is just to rule out the possibility that a Anonymous request is
>> done. There are two possibility for that to happen :
>>
>> - an anonymous bind followed by a request. In this case, the request
>> message ID would be > 1
>>
>> - a direct request from a non bound session (it will be an anonymous
>> request then) and the request messageID would be 1
>>
>>
>> Sadly the logs don't register the session IP nor do we create a session
>> ID which would help us tracking a full session. This is probably two
>> things we should do...
>>
>>
>> Can you tell me which ApacheDS version you are using ?
>>
>>
>> Tanks !
>>
>>
>
> --
> Sergey Mikhno
>


-- 
Sergey Mikhno

Reply via email to