httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niklas Edmundsson <>
Subject mod_disk_cache jumbopatch - 2.2.9 version
Date Thu, 19 Jun 2008 18:44:28 GMT

Hi all!

I've uploaded our most recent mod_disk_cache jumbopatch for httpd 
2.2.9 to 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.

  Niklas Edmundsson, Admin @ {acc,hpc2n}      |
  "No, no, no. I don't get wild. Wild on me, equals spaz." - Willow

View raw message