You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2007/07/27 23:06:45 UTC

DO NOT REPLY [Bug 39380] - mod_disk_cache eats memory, has no LFS support, etc

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39380>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39380


nikke@acc.umu.se changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #19418|0                           |1
        is obsolete|                            |




------- Additional Comments From nikke@acc.umu.se  2007-07-27 14:06 -------
Created an attachment (id=20558)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=20558&action=view)
httpd-2.2.4 - mod_disk_cache jumbo patch - lfs/diskformat/read-while-caching
etc.

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.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org