httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 39216] mod_disk_cache trying to rename locked file, decreasing performance
Date Sat, 26 Apr 2008 12:12:56 GMT

--- Comment #2 from pduveau <>  2008-04-26 05:12:55 PST ---
Created an attachment (id=21858)
 --> (
Patch which close opened files (unlock) before renaming

Th problem is that the function cache_select (cache_storage.c) makes some
return on error after the call to open_entity (provider) without taking care of
opened files by this last function.

So to fix this behaviour, the patch add a new function to sub provider which is
intended to close potential opened handles. And this function is call before
each returns on error.

So, this patch need to act on 3 modules mod_cache, mod_disk_cache and
mod_mem_cache. About mod_mem_cache, it needs to add the new function even if it
does nothing.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message