Kimmo Koivisto
2008-Apr-09 20:45 UTC
[Fedora-directory-users] Loads of db log files, how to clean
Hello My FDS (1.0.4 in RHEL4) is generating loads of db log files: -rw------- 1 nobody nobody 10M Apr 9 22:32 log.0000011814 -rw------- 1 nobody nobody 10M Apr 9 22:36 log.0000011815 -rw------- 1 nobody nobody 10M Apr 9 22:40 log.0000011816 -rw------- 1 nobody nobody 10M Apr 9 22:44 log.0000011817 -rw------- 1 nobody nobody 10M Apr 9 22:48 log.0000011818 -rw------- 1 nobody nobody 10M Apr 9 22:53 log.0000011819 -rw------- 1 nobody nobody 10M Apr 9 22:57 log.0000011820 -rw------- 1 nobody nobody 10M Apr 9 23:01 log.0000011821 -rw------- 1 nobody nobody 10M Apr 9 23:05 log.0000011822 I just realized that I had unindexed attribute that was searched constantly. I have ~500 entried stored to FDS. Can that cause massive db log files (now 17Gb) and can I just delete those? Or how to do the cleaning? After realizing that the searches were mostly unindexed, I created index entry to the attribute. Regards, Kimmo
Kimmo Koivisto
2008-Apr-10 03:11 UTC
Re: [Fedora-directory-users] Loads of db log files, how to clean
> Hello > > My FDS (1.0.4 in RHEL4) is generating loads of db log files: >... can I just delete those? Or how to do the > cleaning? >And it seems that it did the cleaning itself, I restarted FDS, it took 45 minutes to start but after that thins seems to be okay :) "[10/Apr/2008:00:02:07 +0300] - Fedora-Directory/1.0.4 B2006.312.435 starting up [10/Apr/2008:00:02:07 +0300] - Detected Disorderly Shutdown last time Directory Server was running, recovering database. [10/Apr/2008:00:45:17 +0300] - slapd started. Listening on All Interfaces port 389 for LDAP requests" Regards, Kimmo