Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] tuning LDAP connections

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] tuning LDAP connections

Chronological Thread 
  • From: Shilen Patel <>
  • To: "Redman, Chad" <>, Baron Fujimoto <>
  • Cc: Grouper Users <>
  • Subject: Re: [grouper-users] tuning LDAP connections
  • Date: Wed, 3 Apr 2019 15:24:07 +0000

Yeah for 2.4, the timeLimit param is supposed to be for search timeouts. And
timeout is the connection timeout.


- Shilen

On 4/3/19, 11:00 AM, "Redman, Chad" <> wrote:

Yes, for 2.2, you can add raw vt-ldap configuration parameters in an file, and then point to it in sources.xml with a
ldapProperties_file property in sources.xml. If you don't have a file to start from, you can look at
The main ones for tuning would be the pooling options and pooling validator

If you want to add a pool validator, in 2.2 the configuration needs to be
in sources.xml, not Due to its weird design, the validator
properties are in the pool factory config rather than the pool config, so
they can't be set directly via vt-ldap properties. Instead, Grouper handles
them as special parameters and sets of the factory correctly. So it would
look like:



For 2.4, Shilen's wiki link should cover the basic options for ldaptive.
It doesn't currently mention the defaults, which I think are:

minPoolSize: 3
maxPoolSize: 10
validateTimerPeriod: (-> org.ldaptive.pool.validatePeriod=1800 * 1000)
1800000 ms or 30 minutes
validateTimeout: (->org.ldaptive.pool.validateTimeout=5000) 5 seconds? I
don't see our code handling it, so it's possibly not settable
timeout: (->org.ldaptive.connectTimeout=-1) -1
timeLimit: I don't think this does anything? It's specific to a search,
so there's nothing connection-related to set

Other undocumented ldaptive properties can also be set; just replace
"org.ldaptive." with "ldap.youServerId." and I believe the code will revert
it and pass it to ldaptive.


-----Original Message-----
[] On Behalf Of Shilen Patel
Sent: Wednesday, April 03, 2019 9:33 AM
To: Baron Fujimoto <>
Cc: Grouper Users <>
Subject: Re: [grouper-users] tuning LDAP connections


Is this question for 2.2, 2.4 or both?

For 2.4, you can specify the configs in your
See the bottom of
for examples of timeouts and pool sizes.

For 2.2, I think you have to update the sources.xml file to include an
external properties file via the ldapProperties_File property. There’s an
example here:
Then your properties file can contain vt-ldap specific properties. See
for config options. For example edu.vt.middleware.ldap.pool.maxPoolSize,
edu.vt.middleware.ldap.timeout, etc.


- Shilen

On 3/27/19, 11:28 PM, " on behalf of
Baron Fujimoto" < on behalf of
> wrote:

Is there a way to tune LDAP connections (connection times, pools
sizes, etc) for things like subject searches? I didn't see anything obvious
in .properties files or sources.xml.

Currently for grouper 2.2.x, upgrading to 2.4 is planned.
Baron Fujimoto <> :: UH Information Technology
minutas cantorum, minutas balorum, minutas carboratum desendus

Archive powered by MHonArc 2.6.19.

Top of Page