Chris,
Thank you for your answer. I have ran the cron job but it doesn't make a difference, the number of files doesn't decrease. It did give me another idea. I went into the backend to check the Clear Cache page and it shows the same number of files on the server as SSH shows me, 46997 but Joomla shows a size of 21.3kb instead of the actual 724MB. Doing a clean cache from the backend does not decrease the files either, so I guess it is in line with what the cronjob did.
Looking at the folder, these cache files go back to February 5th 2012 when I started to use Smart Search. Something doesn't seem right here. Just want to see if there is anything I can check, before wiping the folder, that may be of help in preventing this from happening again.
Regards,
Roland
On Tuesday, May 1, 2012 4:05:46 PM UTC+2, Chris Davenport wrote:
I'm guessing you are looking in the cache directory?
Yes, you can delete those files.
Yes, you should probably set up a cron job to delete them periodically. There is a CLI application that will do that for you. The command to run is
php <path-to-joomla>/cli/garbagecron.php
I think this purges just the stale cache files rather than deleting all of them. And of course, it is not restricted to the just the Smart Search files.
Chris.
Hello all,
Today I was busy cleaning up my site. I found that the folder com_finder.search is huge. It contains 46793 files and is about 720MB large. My site has about 850 articles but it really shouldn't be using this much space should it? This averages to 55 files and 0.84MB per article. This sounds like overkill.
Can I just empty the com_finder.search folder? Is there a setting for it not becoming so large or should I be setting up a cron job to empty it regularly?
The site runs Joomla 2.5.4.
Thanks for the insight.
Regards,
Roland