A configurable limit for each would be good, either for number of files or size of files. If it's slow to examine this on a regular basis (say every hour) might be worth setting up an LRU containing all the files and then hook that to know when to delete stuff?
A configurable limit for each would be good, either for number of files or size of files. If it's slow to examine this on a regular basis (say every hour) might be worth setting up an LRU containing all the files and then hook that to know when to delete stuff?