AFP548

openldap-data log files

Every now and then we rewrite all the users general information (phone, email, title, etc...) from a data dump we get from our ERP. This has caused so many log files to be created in /var/db/openldap/openldap-data that the boot volume has filled up. OD servers don't do well with a full hard drive so I need to know if I can delete these files (or at least the older ones). Anyone know if this is ok to do? I already have a script that checks the hard drive space and will run the appropriate commands if the hard drive starts to get close to full. The problem is that I don't know what's safe to delete. I've deleted all the log files before but then the slapd won't launch and the slapd.log file shows errors about missing log files.
Exit mobile version