On Wed, Apr 08, 2015 at 11:56:59AM +0200, Pavel Březina wrote:
On 04/07/2015 05:08 PM, Jakub Hrozek wrote:
>On Tue, Apr 07, 2015 at 05:02:33PM +0200, Jakub Hrozek wrote:
>>On Tue, Apr 07, 2015 at 04:39:30PM +0200, Jakub Hrozek wrote:
>>>So unless account_cache_expiration is set to something sensible, only
>>>empty groups are removed and that's quite a corner case.
>>
>>Correction - also groups who have never logged in might be removed. This
> ~~~~~~
> users, sorry
>>could be useful for pruning info after "ls -l" on directory like /tmp
>>for example.
>>
>>But my opinion on the whole cleanup task still stands.
Sure we can disable it, it don't oppose.
Or we can also increase the default value for ldap_purge_cache_timeout to
days instead of hours.
This wouldn't help the biggest problem though which is when the cache cleanup
starts for a huge database on a busy server, the single transaction blocks
any other transaction..