grouper-users - RE: [grouper-users] Subject source LDAP timeouts
Subject: Grouper Users - Open Discussion List
List archive
- From: "Wessel, Keith" <>
- To: "" <>
- Subject: RE: [grouper-users] Subject source LDAP timeouts
- Date: Thu, 15 Dec 2016 20:02:33 +0000
- Accept-language: en-US
- Ironport-phdr: 9a23:FQy/CxR/ubWoKv8ZFM0+/tMMUtpsv+yvbD5Q0YIujvd0So/mwa6ybRGN2/xhgRfzUJnB7Loc0qyN4vumBz1LusnJmUtBWaQEbwUCh8QSkl5oK+++Imq/EsTXaTcnFt9JTl5v8iLzG0FUHMHjew+a+SXqvnYdFRrlKAV6OPn+FJLMgMSrzeCy/IDYbxlViDanb75/KBu7oR/Qu8QSjodvJKQ8wQbVr3VVfOhb2XlmLk+JkRbm4cew8p9j8yBOtP8k6sVNT6b0cbkmQLJBFDgpPHw768PttRnYUAuA/WAcXXkMkhpJGAfK8hf3VYrsvyTgt+p93C6aPdDqTb0xRD+v4btnRAPuhSwaMTMy7WPZhdFqjK9DoByvuQFxw5Labo+WOvpxfKLdcs8VSmdaRMldSzBND5mgY4cTDecMO/tToYnnp1sJqBuzHQegC+PxxT9TnX/5w6k63/w8Gg/DwgMgHs4OsHTaoN7oM6oSUu60w7fTzTXYcfxW3Szw6InMchAloPGMW7VwccvKyUU1CQzKk0iQpJXjMjiI2OoNtG2b4PBhVeKpk2MntwFxoiKxycg2l4bFnJgVyk3C9Sh/3Y07JsW4RVZmbdOgDpdcrTyWOolsTs4hXW1koic3x7ketZKmeCUG1o4rywPdZvCdbYSF7AjvWPiMLTp6nH5ldqywihWu/UWlz+DzSsm530tFoydAj9XBt20C2AfW58WJSfZw/lmt1DON2gDd6exJL0Y5nrfBJZE72L4/jJ8TvFzDHiDonEX2i7ebdl08+uiz9+jrf6/qqYOdN49olA7+Kb4ims27AeQ8MwgOWW+b+eWn1LH540L2XahKguU3kqnfrp/aOdwWqrO9DgNLyIov9hSyAy2l3dgGh3UKLVZIdAqCj4fzOlHOJP74De24g1SpiDprxP7HMaP6ApXWMHfDlKzsfbd5605YyQozy9df55NPCr0bPv38R1LxuMTCDhAlKwy03/rnCNJl24MRQ2KPBbKZMLvMvl+S/+4vPvKMa5EPuDbmMPUl4//ujWQlmV8GY6Wlx5oXaHakHvt4OUWZZ2TjgssfHWsQoAUxUfHq2xW+VmsZaGy1Qrox/HQmE4+8Fq/CQJygmrqMwH39E5FLLCgSBUqLDG/lbcCZQPoWcwqTJNNsiDoJSeLnRoM8g0KArgj/nvBYI/HP9ylc/bHu1cR1raWHlg4/7id5C+yc12WMSWZ1hSUFSyJgj/M3mlB01lrWifswuPdfD9EGv/4=
Following up on this. Thanks for the advice so far, Julio. The load balancer may be the problem, but we haven’t found an easy way to change that yet, and we’re really hoping we can fix it with LDAP connection pooling
instead. I’ve added the following two settings to ldap-sources.properties: edu.vt.middleware.ldap.pool.pruneTimerPeriod = 60000 edu.vt.middleware.ldap.pool.expirationTime=600000 What I was expecting to see as a result of this, with a minPoolSize of 2, is new LDAP connections being created every 10 minutes or so. I see no such thing in
our logs, though. I see two connections being created on Tomcat start-up, then I see no new connections at all until the error occurs. A sequence looks like this in the LDAP logs: At 12:04, I start Tomcat, and two connections are created. It uses one when I log in on the web interface a minute later. I then let my browser sit idle. At 12:30, my LDAP server logs report an unbind for both connections. When I click a link in the browser at 1:02, I get an error that my subject couldn’t be retrieved, and I get the error I included in my original post to this thread. The GSLB inactivity timeout is 30 minutes, not 26. So, while that could be the issue, I’m not sure. But the fact is my pool doesn’t seem to be working as I would think it would. Is there something I need to do to enable pooling that I haven’t done? Far as I
can tell, with the two initial connections, pooling’s working on start-up. It’s just not purging and expiring connections. Any thoughts appreciated. Keith From: Julio Polo [mailto:]
I would disable idle timeouts in the load balancer and the LDAP server. It's OK to have timeouts for LDAP queries in both ends, client and server. If there is no way to turn off the load balancer's idle
timeout, can you configure it to 24 hours and ensure that you query a Grouper LDAP subject at least once a day? Adjust the intervals accordingly to the maximum idle timeout value for your appliance. -julio On Wed, Dec 7, 2016 at 5:13 AM, Wessel, Keith <> wrote:
|
- [grouper-users] Subject source LDAP timeouts, Wessel, Keith, 12/06/2016
- Re: [grouper-users] Subject source LDAP timeouts, Julio Polo, 12/07/2016
- RE: [grouper-users] Subject source LDAP timeouts, Wessel, Keith, 12/07/2016
- Re: [grouper-users] Subject source LDAP timeouts, Julio Polo, 12/08/2016
- RE: [grouper-users] Subject source LDAP timeouts, Wessel, Keith, 12/15/2016
- RE: [grouper-users] Subject source LDAP timeouts, Wessel, Keith, 12/15/2016
- RE: [grouper-users] Subject source LDAP timeouts, Hyzer, Chris, 12/15/2016
- RE: [grouper-users] Subject source LDAP timeouts, Wessel, Keith, 12/15/2016
- Re: [grouper-users] Subject source LDAP timeouts, Tom Poage, 12/15/2016
- RE: [grouper-users] Subject source LDAP timeouts, Wessel, Keith, 12/15/2016
- Re: [grouper-users] Subject source LDAP timeouts, Tom Poage, 12/15/2016
- RE: [grouper-users] Subject source LDAP timeouts, Redman, Chad Eric, 12/18/2016
- RE: [grouper-users] Subject source LDAP timeouts, Wessel, Keith, 12/19/2016
- RE: [grouper-users] Subject source LDAP timeouts, Wessel, Keith, 12/15/2016
- RE: [grouper-users] Subject source LDAP timeouts, Wessel, Keith, 12/15/2016
- Re: [grouper-users] Subject source LDAP timeouts, Julio Polo, 12/08/2016
- RE: [grouper-users] Subject source LDAP timeouts, Wessel, Keith, 12/07/2016
- Re: [grouper-users] Subject source LDAP timeouts, Julio Polo, 12/07/2016
Archive powered by MHonArc 2.6.19.