mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
Work around broken cache management in mod_ldap: If LDAPSharedCacheSize is too
small, try to free some memory by purging the cache and log a warning. Also increase the default LDAPSharedCacheSize to 500000. This is a more realistic size suitable for the default values of 1024 for LdapCacheEntries and LdapOpCacheEntries. PR: 46749 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@822458 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -2402,7 +2402,7 @@ static void *util_ldap_create_config(apr_pool_t *p, server_rec *s)
|
||||
apr_thread_mutex_create(&st->mutex, APR_THREAD_MUTEX_DEFAULT, st->pool);
|
||||
#endif
|
||||
|
||||
st->cache_bytes = 100000;
|
||||
st->cache_bytes = 500000;
|
||||
st->search_cache_ttl = 600000000;
|
||||
st->search_cache_size = 1024;
|
||||
st->compare_cache_ttl = 600000000;
|
||||
|
Reference in New Issue
Block a user