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 22:09:59 +0000
- Accept-language: en-US
- Ironport-phdr: 9a23:NH8cXh8DND4/Sf9uRHKM819IXTAuvvDOBiVQ1KB20uMcTK2v8tzYMVDF4r011RmSDN6dtaMP1bOempujcFRI2YyGvnEGfc4EfD4+ouJSoTYdBtWYA1bwNv/gYn9yNs1DUFh44yPzahANS47xaFLIv3K98yMZFAnhOgppPOT1HZPZg9iq2+yo9ZDeZwtFiCC8bL52Ixm7rBjdvdQKjIV/Lao81gHHqWZSdeRMwmNoK1OTnxLi6cq14ZVu7Sdete8/+sBZSan1cLg2QrJeDDQ9LmA6/9brugXZTQuO/XQTTGMbmQdVDgff7RH6WpDxsjbmtud4xSKXM9H6QawyVD+/6apgVR3mhzodNzMh8G/ZlNF+jL5VrhyiqRxwwY/Ub52aO/dlZKzRYc8WSHBdUspNVSFMBJ63YYsVD+oGOOZVt4fxqFsQohulHgmjGufvxidVjXHzw6I60vghEQHI0Ac9GN8Os3rVo8vuNKcJT++1yLLFzTTHb/NS2Df97o/IchE6of2WQ71/bNfRxFApGgjYgFuQronlMCmU1uQLq2Wb8+pgVfixhGE9tg59uCKvxtoqioTPm4kbyUjE+D1nzIopKtC0Ukp2bNC+HJdOrS2XNZN6Tt4mTm12oio2178LtYSlcCUE0pgr2QPTZv6ff4iG/B3uV/qdLDJ9iX15eL+wmhm//E29xuD9S8a7y1NHoyRGn9TMqHwA0h7e6saER/Zz+EqqxCyB2BrJ6u5eJEA5jarbJIAlwr43jpcTq1rMHivsl0T2l6+ab18r+ue25OThfrXqup6RO5Voig7gLqsumte/DvoiMggQXmiU5fqz1Kb58U34RLVKivw2kq/esJDbPsQXvLC2DBJI0oo76ha/CSmp0MgAkHUZMF5IdwiLgoznNl3UPvz0F/Wyj0ypkDhxxvDGOrPhAo/KLnjGiLrhfrh85FBHyAoo099f44lZCrAFIPL3W0/xstvYDh4iMwCu3enoFch92psEWW2TGq+ZLL/SsViQ6+IgOemMY5IVuC7jJPg//vLukGQ5lkEHfamyxpYXbHG4Hu96I0WCf3bgmNYBEWEWvgUgVuzqjkONUSJNa3qoQa0z+yw7W8qaCtKJSZqqnaSMxmKmBZBMfUhHDEyBC3Hla9/CVvsRImrGLdVmjyQJT/28UII7zjmvshP30bxqMrCS9yEF48HNzt9wsqfsmAop+DgwR+eQ0n2NBSkgnXwFXCQ72Ih+pUh8zFCCyu51j+EORo8b3O9ATgpvbc2U9Od9Ed2nAg8=
Yes. Other thoughts? Keith From: Hyzer, Chris [mailto:]
Do you have this in the sources.xml for that source? <init-param> <param-name>ldapProperties_file</param-name> <param-value>ldap-sources.properties</param-value> </init-param>
Thanks Chris From: [mailto:]
On Behalf Of Wessel, Keith 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 []
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.