Hi,
I'm using httpd.x86_64-2.2.3-22.el5.centos to serve the content of a backend
web server.
I'm using mod_proxy + mod_disk_cache to cache the content (only public images)
to be served.
CacheRoot "/var/cache/httpd/mod_proxy"
CacheEnable disk /i/i
CacheDirLevels 5
CacheDirLength 3
CacheMinFileSize 1
CacheMaxFileSize 1000000
CacheIgnoreNoLastMod On
CacheIgnoreHeaders Set-Cookie
CacheIgnoreHeaders Cookie
CacheIgnoreHeaders RequestID
CacheIgnoreHeaders TimeReq
CacheIgnoreHeaders User-Agent
CacheIgnoreHeaders Accept-Encoding
CacheIgnoreHeaders Warning
CacheIgnoreHeaders Via
CacheIgnoreHeaders Max-Forwards
CacheIgnoreHeaders UA-CPU
CacheIgnoreHeaders Referer
CacheIgnoreHeaders X-Forwarded-For
When the 32000 sub dirs limit is reached, i get the following errors in
error_log:
[Tue Jun 09 22:19:23 2009] [error] (2)No such file or directory: disk_cache:
rename tempfile to hdrsfile failed: /var/cache/httpd/mod_proxy/aptmpfddU8r ->
/var/cache/httpd/mod_proxy/xWP/E9D/HS@/W_G/WD8/oBQ1iaA.header
[Tue Jun 09 22:19:23 2009] [error] (2)No such file or directory: disk_cache:
rename tempfile to hdrsfile failed: /var/cache/httpd/mod_proxy/aptmpgPLPkx ->
/var/cache/httpd/mod_proxy/n4R/Ldr/eFp/w...@k/iPx/QDmvxAQ.header
[Tue Jun 09 22:19:25 2009] [error] (2)No such file or directory: disk_cache:
rename tempfile to hdrsfile failed: /var/cache/httpd/mod_proxy/aptmphMok4K ->
/var/cache/httpd/mod_proxy/bY7/yUi/Acf/Xpa/6vg/FUNAjYg.header
And lots of temporary files remain in cacherootdir:
# ls aptmp*|wc -l
83296
I'm using cachedirlevels = 5 so that the tree of directories is deep. But the
problem is that all the requests go to a separated directory:
.
./aptmpAEh15q
./2fv
./2fv/IJD
./2fv/IJD/JJ3
./2fv/IJD/JJ3/HHe
./2fv/IJD/JJ3/HHe/1v8
./2fv/IJD/JJ3/HHe/1v8/2EVlBaA.header
./2fv/IJD/JJ3/HHe/1v8/2EVlBaA.data
./6TQ
./6TQ/rxa
./6TQ/rxa/bqo
./6TQ/rxa/bqo/qhN
./6TQ/rxa/bqo/qhN/gf_
./6TQ/rxa/bqo/qhN/gf_/hoqm_QA.data
./6TQ/rxa/bqo/qhN/gf_/hoqm_QA.header
./aptmpk1CjXf
./v3Y
./v3Y/FPA
./v3Y/FPA/D7K
./v3Y/FPA/D7K/63I
./v3Y/FPA/D7K/63I/aEq
./v3Y/FPA/D7K/63I/aEq/1NFtYwA.header
./v3Y/FPA/D7K/63I/aEq/1NFtYwA.data
I don't find two request files in the same directory.
Thanks for any info.
Best regards,
Nuno Fernandes
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [email protected]
" from the digest: [email protected]
For additional commands, e-mail: [email protected]