httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
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
https://issues.apache.org/bugzilla/show_bug.cgi?id=39216





--- Comment #2 from pduveau <philippe.duveau@eurocis.fr>  2008-04-26 05:12:55 PST ---
Created an attachment (id=21858)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?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: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


Mime
View raw message