I have more than 50000 posts. I’ve enabled “WP Cache and Super Cache enabled = ON” and “Super Cache Compression = ON”. ALL other settings are unchecked. I'm only caching posts and have set expire time to 0 seconds (never expire).
When 30000 - 35000 posts are in the cache I get problems:
Dynamic page generated in 2.014 seconds.
File not cached! Super Cache Couldn’t write to: wp-content/cache/supercache/www.domain.com/my-post.html/2599829494be928f16172d0.14739459.tmp
At this time my disk has 16 GB free. After clearing the cache, everything works again.
My guess is that there are too many files in the supercache directory.
Would it be possible to change the cache directory structure so that “12345.html” would go into /1/2/3/4/12345.html ?