httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 45275] New: Locked files during expired page renew in disk cache
Date Wed, 25 Jun 2008 12:25:07 GMT

           Summary: Locked files during expired page renew in disk cache
           Product: Apache httpd-2
           Version: 2.2.9
          Platform: PC
        OS/Version: Windows Server 2003
            Status: NEW
          Keywords: PatchAvailable
          Severity: major
          Priority: P2
         Component: mod_disk_cache

Created an attachment (id=22175)
 --> (
Patch for locked files during expired pages renewing

The problem appears when a cached page is reaching expiration and must be renew
from a back end (http, ajp, coldfusion ...).

In fact the symptom is that the returned datas are never updated after
expiration. Inspecting the code, it seems that the handle on the data file is
not closed when the header in check for expiration and appear to be renewed.

So the patch adds a new function in the cache_provider structure for closing
all opened handles on errors or expiration reached. This patch applies changes
to mod_cache, mod_disk_cache and mod_mem_cache modules.

This patch is a work around and does not correct definitely the problem. In
fact the conjunction of locks, multithreading and the duration between the open
and close calls can makes the bug persistent on heavy loaded cached urls.

See also: Bug already reported for 2.2 (HEAD) with the id 39216. See it for
explanations to reproduce the bug.

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