Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 21064 invoked from network); 19 Jun 2008 18:45:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Jun 2008 18:45:11 -0000 Received: (qmail 63840 invoked by uid 500); 19 Jun 2008 18:45:10 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 63502 invoked by uid 500); 19 Jun 2008 18:45:09 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 63491 invoked by uid 99); 19 Jun 2008 18:45:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jun 2008 11:45:09 -0700 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [130.239.18.156] (HELO mail.acc.umu.se) (130.239.18.156) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jun 2008 18:44:16 +0000 Received: from localhost (localhost [127.0.0.1]) by amavisd-new (Postfix) with ESMTP id 81C2550D for ; Thu, 19 Jun 2008 20:44:33 +0200 (MEST) X-Virus-Scanned: amavisd-new at acc.umu.se Received: by mail.acc.umu.se (Postfix, from userid 12143) id 8E14650C; Thu, 19 Jun 2008 20:44:28 +0200 (MEST) Received: from localhost (localhost [127.0.0.1]) by mail.acc.umu.se (Postfix) with ESMTP id 8C2A350B for ; Thu, 19 Jun 2008 20:44:28 +0200 (MEST) Date: Thu, 19 Jun 2008 20:44:28 +0200 (MEST) From: Niklas Edmundsson To: dev@httpd.apache.org Subject: mod_disk_cache jumbopatch - 2.2.9 version Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Checked: Checked by ClamAV on apache.org Hi all! I've uploaded our most recent mod_disk_cache jumbopatch for httpd 2.2.9 to https://issues.apache.org/bugzilla/show_bug.cgi?id=39380 for those interested. Includes the submitted fixes for: "FIX htcacheclean" - Since we use a script that looks at atime we don't use htcacheclean. The fix looks sane though. "FIX corruption in near-simultaneous requests of uncached files" - We're not hitting this, so it probably only affects usage in combination with proxies. Major additional fixes: - Adapt to recent APR sub-second file timestamps, meaning that we have to truncate to whole-second granularity when comparing http timestamps with file timestamps. - Be a tad more clever when trying to detect corrupted files (commonly caused by a machine using xfs crashing). It's perfectly valid to have the consumed size smaller than the actual size, for example filesystems with compression (SUN ZFS). Also, don't check consumed size on new files since for example ZFS only updates it when data is commited to disk. It works for us, and has survived the recent mozilla release so it should be fairly stable. /Nikke -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Niklas Edmundsson, Admin @ {acc,hpc2n}.umu.se | nikke@acc.umu.se --------------------------------------------------------------------------- "No, no, no. I don't get wild. Wild on me, equals spaz." - Willow =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=