Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 74030 invoked from network); 4 Nov 2005 02:01:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Nov 2005 02:01:34 -0000 Received: (qmail 61885 invoked by uid 500); 4 Nov 2005 02:01:24 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 61874 invoked by uid 500); 4 Nov 2005 02:01:24 -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 61862 invoked by uid 99); 4 Nov 2005 02:01:23 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Nov 2005 18:01:23 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of xuekun.hu@gmail.com designates 64.233.162.192 as permitted sender) Received: from [64.233.162.192] (HELO zproxy.gmail.com) (64.233.162.192) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Nov 2005 18:01:18 -0800 Received: by zproxy.gmail.com with SMTP id q3so225296nzb for ; Thu, 03 Nov 2005 18:01:02 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=poGobkueH3/qRogOUQKxPnHukX0w5B8RAw4biF/t2Lnb+FEQnn6gZrlRBloNomTcGgbRjZfo5lqGTGkrli3WdvGmNPgAnNoP4yjPQJNcZhkt98dCXlplqVEwoWkzNUbUjDUtIQKA1mKZkO97yt3GHNOpc0QXkQoOony8tHugXlg= Received: by 10.37.21.76 with SMTP id y76mr618125nzi; Thu, 03 Nov 2005 18:01:02 -0800 (PST) Received: by 10.36.46.4 with HTTP; Thu, 3 Nov 2005 18:01:02 -0800 (PST) Message-ID: <398d69300511031801o7753a086qba2723d707c2a222@mail.gmail.com> Date: Fri, 4 Nov 2005 10:01:02 +0800 From: Xuekun Hu To: users@httpd.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] mod_disk_cache config help X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I have been puzzled by the help doc of mod_disk_cache config that " CacheDirLevels*CacheDirLength value must not be higher than 20". When I set this value CacheRoot /usr/local/apache/cache/ CacheDirLength 7 CacheDirLevels 2 This error "CacheDirLevels*CacheDirLength value must not be higher than 20" is still happened. I looked at the source code and unstood why this error was happened because when first setting CacheDirLength value, CacheDirLevels wasn't be set, and used the default value 3. So 7*3 is higher than 20. Now in my instance, the DirLength has 7 characters, and DirLevel has 2 subdirectory levels. So how do I config the mod_disk_cache? Maybe set CacheRoot to subdirectory respectively, instead of the upper directory? But I have many this subdrectories. Any help are appreciated. Thx, Xuekun BTW, why not set CACHEFILE_LEN larger? performance issue? I think in real world most directory name has lots of characters. --------------------------------------------------------------------- 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