Skip to content
This repository was archived by the owner on Apr 21, 2023. It is now read-only.

Make !clean!time! Errors into warnings (or infos) and make them more descriptive #183

Closed
GoogleCodeExporter opened this issue Apr 6, 2015 · 17 comments

Comments

@GoogleCodeExporter
Copy link

Some people are getting a lot of warnings like:

[Thu Dec 30 19:41:22 2010] [error] [mod_pagespeed 0.9.11.5-293] /var/
mod_pagespeed/cache/!clean!time!:0: open input file (code=2 No such
file or directory)

These are not actually errors and are only a problem if they are happening more 
than about 2/hour. We should make the message more descriptive so that is clear.

Original issue reported on code.google.com by sligocki@google.com on 10 Jan 2011 at 7:00

@techrah
Copy link

techrah commented May 4, 2015

Can someone please explain what the !clean!time! file is and why it keeps reappearing after I've completely removed ALL files and subfolders from my mod_pagespeed cache directory? I've been searching for some kind of explanation of this and I can't find anything anywhere. Thanks in advance.

@jlporter
Copy link
Contributor

jlporter commented May 4, 2015

mod_pagespeed has a periodic cache cleaning process to keep the cache from growing too large. By default it runs every 1 hour. That !clean!time! file is used to track when the last time cache cleaning was run, and will be regenerated each time cache cleaning runs. It's essentially an implementation detail, so we don't have that file explicitly documented, but you can read more about the cache cleaning process here.

@techrah
Copy link

techrah commented May 4, 2015

Thanks for the explanation Jud. Now I know my mod_pagespeed is working as it should w.r.t. that file.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants