Closed (fixed)
Project:
Boost
Version:
5.x-1.0
Component:
Expiration logic
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 Aug 2009 at 08:15 UTC
Updated:
6 Feb 2010 at 18:55 UTC
Hi,
Even though I set the pages to expire after an hour, my site's cached pages hasn't expired at all since installing the module. Any idea what's going on? Thx.
Comments
Comment #1
hansrossel commentedDoes cron run?
Comment #2
sinmao commentedyes. cron ran every 5 minutes.
Comment #3
mikeytown2 commentedSadly 5.x is not supported at this time.
#454652: Looking for a co-maintainer - 5.x
Comment #4
mikeytown2 commentedMy guess is file permissions, can you manually del the file? Write a script and that targets 1 file in your node folder. See if it can delete it.
Comment #5
sinmao commentedHi Mikey,
Yes, I can manually delete the files in shell. Does the number of files affect it? Cuz I do have a lot of files. Each time cron is run, does it go and check every file in the folder to see which file has expired? Thx.
Comment #6
mikeytown2 commentedFor 5.x it checks every file via the glob function. 6.x doesn't have this issue. The number of files can effect apache if your 100k+ #410730: System limits: Number of files in a single directory; which can be fixed for the most part via #174380: Remove symlink creation. Let each path have own file.
My guess is the problem is in the _boost_rmdir_rf() function.
Comment #7
sinmao commentedok, i don't think I have 100k files. I'll check out that boost function. What's the best way to see if that's the culprit?
Comment #8
mikeytown2 commentedHere's all the issues with the function. Almost all are for 6.x, which means they haven't been fixed in 5.x.
http://drupal.org/project/issues/boost?order=version&sort=asc&text=_boos...
Comment #9
mikeytown2 commentedClosing all 5.x issues; will only reevaluate if someone steps up #454652: Looking for a co-maintainer - 5.x
Reason is 6.x has 10x as many users as 5.x; also last 5.x dev was over a year ago. The 5.x issue queue needs to go.