mod_cache_disk: AH00708: Cannot open data file

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

mod_cache_disk: AH00708: Cannot open data file

Dave Wreski
Hi all,

I have a apache-2.4.34 system on fedora28 and have set up disk caching
using "CacheQuickHandler off" to go through apache before being fetched
from the cache and having some problems.

[Mon Apr 01 14:16:48.908257 2019] [cache_disk:error] [pid 5955:tid
140305609242368] (2)No such file or directory: [client
37.9.87.132:60109] AH00708: Cannot open data file /
var/cache/httpd/HRx/pOb/xK7/mTz/tMN/ioVCrxg.header.vary/CFO/qLM/5Z3/wpr/aQx/HhYM2gA.data

Could this be caused by a configuration error?

CacheQuickHandler off
CacheLock on
CacheLockPath /tmp/mod_cache-lock
CacheLockMaxAge 5
CacheIgnoreHeaders Set-Cookie
CacheRoot "/var/cache/httpd"
CacheDetailHeader on

CacheEnable disk "/"
CacheHeader on
CacheDefaultExpire 800
CacheMaxExpire 64000
CacheIgnoreNoLastMod On
ExpiresActive on
ExpiresDefault A300
CacheDirLevels 5
CacheDirLength 3

The /var/cache/httpd directory has nearly 150,000 entries. Occasionally
I see these error messages for the same data file in the same directory
hours apart.

I have cache_disk:debug enabled, but it doesn't appear to show when the
file is created, only that it couldn't be deleted.

What more can I do to troubleshoot this? Are there config options which
may help?










---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]