httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 52123] New: High memory usage in propfind
Date Wed, 02 Nov 2011 13:07:43 GMT

             Bug #: 52123
           Summary: High memory usage in propfind
           Product: Apache httpd-2
           Version: 2.2.20
          Platform: PC
        OS/Version: Solaris
            Status: NEW
          Severity: major
          Priority: P2
         Component: mod_dav
    Classification: Unclassified

When doing a propfind on directories with many files (e.g. 100000), mod_dav
consumes multiple GB of memory. The cause is that for each file, the prop_db
gets opened and closed, but closing the propdb does not free any memory. There
is a source code comment:

    /* Currently, mod_dav's pool usage doesn't allow clearing this pool. */
#if 0

Even with the pool_destroy in place, the dav_propdb structure itself would not
get destroyed, as it is not allocated from the pool.
The original commit that added this pool was talking about 'lifetime issues'.
Are they resolved yet?
Or, on the other hand, would it be possible to open the propdb only once for
the propfind request?

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