MaxFileAgeSchedule
Should do this.
The rebuild may or may not process all files - so it could be possible,
that the rebuild will not remove old files, if the file count is too
large. Because the rebuild uses the most youngest files in the corpus
(maxFiles count) .
Thomas
Von: "GrayHat" <[email protected]>
An: "ASSP development mailing list" <[email protected]>
Datum: 18.11.2011 08:55
Betreff: Re: [Assp-test] changes in assp 2.1.2 build 11321
> - To make the corpus cleanup more flexible the following config
> parameters are enhanced.
Thomas... didn't yet try the 11321 (running 11320) but I hope those
fixes will solve an issue which I noticed; let me sum things up; I had
the spam/notspam folders growing more and more; at a certain
point, after the latest changes and the mailing we had I decided to
change the cleanup parameters and, since I was at it, to "trim" the
folders; to do so, I wrote a simple script which scanned both the
spam and the notspam folders removing all older files and trimming
both folders down to 14000 ... all ok ... but then, while the spam
folder
kept under limits, the notspam ... kept growing, here's a snippet from
a rebuildspamdb report
2011-11-17 01:15:04 d:/assp/spam
2011-11-17 01:15:05 File Count: 11,454
2011-11-17 01:15:05 Processing... spam with 11454 files
2011-11-17 01:24:45 Removed Old: 195
2011-11-17 01:24:45 Imported Files: 11,259
2011-11-17 01:24:45 Finished in 581 second(s)
2011-11-17 01:24:45 d:/assp/notspam
2011-11-17 01:24:50 File Count: 41,370
2011-11-17 01:24:50 Processing... notspam with 41370 files
2011-11-17 01:40:22 Imported Files: 41,371
2011-11-17 01:40:22 Folder contents exceeded `MaxFiles`(14000).
2011-11-17 01:40:22 Finished in 937 second(s)
as you see, the spam folder is "ok" while the notspam which was down
to 14000 after trimming ... has grown a whole lot (and, by the way
there's
no "removed old..." when it comes to the notspam ... how comes ?!?)
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test
DISCLAIMER:
*******************************************************
This email and any files transmitted with it may be confidential, legally
privileged and protected in law and are intended solely for the use of the
individual to whom it is addressed.
This email was multiple times scanned for viruses. There should be no
known virus in this email!
*******************************************************
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test