how to LDAP cached db-files automatic cleanup ?

xcientist

New Member
Dec 3, 2022
13
0
1
the LDAP entries are synced hourly - the result is in cached db-files in /var/lib/pmg ('users', 'dnames', 'groups', 'mails', 'accounts', 'memberof')

there are too many files here and i have free space problem

I do not use a very large structure
How can I clean this place automatically I am using LDAP
Services stop when disk space reaches 90% :(
I'm still very new I really love and support PMG I continue to learn thank you
 
can you post the output of

Code:
du -h /var/lib/pmg/
?
 
root@prox:~# ls
PAKETLER pmg-backup_2019_12_03_5DE6BE24.tgz
root@prox:~#
root@prox:~# du -h /var/lib/pmg/
4.1G /var/lib/pmg/ldapdb_BORDA <<< This Folder
108K /var/lib/pmg/templates
1.2M /var/lib/pmg/backup
4.1G /var/lib/pmg/
 
Last edited:
how many users/groups do you have in the ldap?
 
ok, you could try to simply delete the folder (make a backup somewhere else) and redo the sync from the gui