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 | [EMAIL PROTECTED]
---------------------------------------------------------------------------
"No, no, no. I don't get wild. Wild on me, equals spaz." - Willow
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=