Huge folder com_finder.search

140 views
Skip to first unread message

rolandd

unread,
May 1, 2012, 2:56:06 AM5/1/12
to joomla-de...@googlegroups.com
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

Chris Davenport

unread,
May 1, 2012, 10:05:46 AM5/1/12
to joomla-de...@googlegroups.com
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.



--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To view this discussion on the web, visit https://groups.google.com/d/msg/joomla-dev-general/-/nXaSQe6mZtEJ.
To post to this group, send an email to joomla-de...@googlegroups.com.
To unsubscribe from this group, send email to joomla-dev-gene...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/joomla-dev-general?hl=en-GB.



--
Chris Davenport
Joomla Leadership Team - Production Working Group
Joomla Documentation Coordinator

rolandd

unread,
May 1, 2012, 11:25:00 AM5/1/12
to joomla-de...@googlegroups.com
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.


On 1 May 2012 07:56, rolandd <rdalm...@gmail.com> wrote:
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

--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To view this discussion on the web, visit https://groups.google.com/d/msg/joomla-dev-general/-/nXaSQe6mZtEJ.
To post to this group, send an email to joomla-dev-general@googlegroups.com.
To unsubscribe from this group, send email to joomla-dev-general+unsub...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/joomla-dev-general?hl=en-GB.

Chris Davenport

unread,
May 1, 2012, 1:21:43 PM5/1/12
to joomla-de...@googlegroups.com
I would go ahead and delete the files if you need to.  They will start accumulating again anyway.  It sounds like there might be a problem with the cache purge process.  Could you open a tracker item for it?  Thanks.

Chris.


To view this discussion on the web, visit https://groups.google.com/d/msg/joomla-dev-general/-/OvhSJnB0yrwJ.

To post to this group, send an email to joomla-de...@googlegroups.com.
To unsubscribe from this group, send email to joomla-dev-gene...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/joomla-dev-general?hl=en-GB.
Reply all
Reply to author
Forward
0 new messages