[Setup] Re: LDAP Authentication - Slows down Plone Drastically

Aruna Kahiriya aruna at cignex.com
Tue Jul 8 10:42:13 UTC 2008

Please keep all conversation through this group, as it will be useful for
future reference if any body needs same kind of help.
Now answering how to configure the cache for LDAP, by default there will be 
RAMCache object on ZMI of your plone site. 

Set Maximum age of a cache entry (seconds) and Cleanup interval (seconds) or
keep it default as per your requirement. If changes on LDAP server are not
frequent (and it will not), you can keep it bigger. 
If you choose to modify, make sure that RAMCache is not being used anywhere
else on your site. If that is the case then you can create another such
object by selecting RAM Cache Manager from drop down on ZMI and configure

Now go to acl_user\yourLDAPObject and click on "cache" (last tab) and select
the configured RAMCache object. You can use one RAMCache object to set
caching for more than one object.

Good Luck,
Aruna Kathiriya

BashirJ wrote:
> Hi guys,
> I am running Plone as below on a Windows 2003 Server:
> Plone Version Overview
> Plone 3.1.2 
> CMF 2.1.1 
> Zope (Zope 2.10.6-final, python 2.4.4, win32) 
> Python 2.4.4 (#71, Oct 18 2006, 08:34:43) [MSC v.1310 32 bit (Intel)] 
> PIL 1.1.6 
> I have successfully installed Plone as well as Plone_LDAP and
> authentication works fine when connecting to one LDAP server. However i
> require 2 LDAP connection to the same server due the the manner in which
> the ldap directory is set up for both groups as well as users.
> Using a single connection Plone operates fast and reliably. As soon as I
> add the second LDAP connection PLONE slows down to a snails pace. Is there
> a way to get around this?
> I am very new to Plone so I do not know where to start looking for
> answers.
> Thanks in advance
> Bash

View this message in context: http://n2.nabble.com/LDAP-Authentication---Slows-down-Plone-Drastically-tp364026p364112.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.

More information about the Setup mailing list