I have uploaded the version of our mod_disk_cache jumbopatch that we've been using on ftp.acc.umu.se for some time now to
http://issues.apache.org/bugzilla/show_bug.cgi?id=39380
for those who wants a one-patch solution to using our modifications.

Cut&paste from the bugzilla attachment comment:
httpd 2.2.4 - mod_disk_cache jumbo patch - lfs/diskformat/read-while-caching 
etc.

A snapshot from 20070727 of our mod_disk_cache jumbo patch and some assorted additional patches that's needed for stability. We've been running this for a couple of months on ftp.acc.umu.se, they have survived Debian/Ubuntu/Mozilla releases gracefully.

This version plays well with other entities using/updating the cache. We are using a open()-wrapper in combination with rsync which lets rsync utilise the cached bodies, and also cache files.

This patch is provided mostly as a one-patch solution for other sites that wishes to use these mod_disk_cache modifications.

Highlights from previous patch:
* More corner case error fixes, most of them triggered by Mozilla releases. * Greatly reduced duplicated data in the cache when using an NFS backend by hashing the body on the source files device and inode when available. HTTPD has
already done the stat() of the file for us, so it's essentially free.
* Tidied up the handling of updated files, only delete files in cache if they're really obsolete.


/Nikke
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 Niklas Edmundsson, Admin @ {acc,hpc2n}.umu.se      |     [EMAIL PROTECTED]
---------------------------------------------------------------------------
 We are AT&T of Borg, MCI will be assimilated
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Reply via email to