https://issues.apache.org/bugzilla/show_bug.cgi?id=52123
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
AssignedTo: [email protected]
ReportedBy: [email protected]
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
apr_pool_destroy(propdb->p);
#endif
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: 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: [email protected]
For additional commands, e-mail: [email protected]