Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 21868 invoked from network); 9 Jun 2009 21:25:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Jun 2009 21:25:11 -0000 Received: (qmail 69156 invoked by uid 500); 9 Jun 2009 21:25:20 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 69119 invoked by uid 500); 9 Jun 2009 21:25:20 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 69109 invoked by uid 99); 9 Jun 2009 21:25:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jun 2009 21:25:20 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of npf-mlists@eurotux.com designates 216.75.63.6 as permitted sender) Received: from [216.75.63.6] (HELO os.eurotux.com) (216.75.63.6) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jun 2009 21:25:11 +0000 Received: (qmail 15464 invoked from network); 9 Jun 2009 21:24:49 -0000 Received: from unknown (HELO xeon.localnet) (npf@82.155.37.70) by 0 with AES256-SHA encrypted SMTP; 9 Jun 2009 21:24:49 -0000 From: Nuno Fernandes To: users@httpd.apache.org Date: Tue, 9 Jun 2009 22:24:46 +0100 User-Agent: KMail/1.11.4 (Linux/2.6.29.3-desktop-1mnb; KDE/4.2.4; i686; ; ) MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906092224.46877.npf-mlists@eurotux.com> X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] mod_disk_cache - Temporary files when 32000 subdirs limit is reached 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 for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org