Clearing WireTempDir

Recommended Posts

I ran into a weird problem with the WireTempDir (site/assets/cache/WireTempDir).

A client uses cheap hosting that still works well with ProcessWire. But it does for some reason have a file & directory count limitation. And after reaching 260.000 files and directories the file system becomes read only. After some digging, I found that the site/assets/cache/WireTempDir was responsible for about 99% of the reported directories / files. It seems like the temp directories were never cleared. 

Now: I don’t think this a general ProcessWire problem, as I have other sites, that have an empty or – at least – not as full WireTempDir. Are there automated cleanup operations that may not be called due to some weird hosting issues? How are those dummy directories usually handled?


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.