You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2010/03/07 14:11:02 UTC

DO NOT REPLY [Bug 48130] DAV operations on large filesets consume all the OS memory

https://issues.apache.org/bugzilla/show_bug.cgi?id=48130

Stefan Fritsch <sf...@sfritsch.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|2.2.14                      |2.3-HEAD
         OS/Version|AIX                         |All

--- Comment #2 from Stefan Fritsch <sf...@sfritsch.de> 2010-03-07 13:11:00 UTC ---
Memory management in mod_dav is broken. A PROPFIND of a dir with 10000 files
needs around 140MB of memory on my system.

Some initiative to overhaul pool usage was described here:

http://mail-archives.apache.org/mod_mbox/httpd-dev/200305.mbox/<86smqzgcuf.fsf%40kepler.ch.collab.net>

Unfortunately this was never completed.

Probably the pool guidelines from subversion should be used:

http://subversion.apache.org/docs/community-guide/conventions.html#apr-pools

This would mean that most mod_dav functions would need to tak a scratch pool
and a result pool as parameters. And dav_push_error needs some magic to ensure
correct lifetime of the error stack.

In addition there is the problem that the response is streamed to the client
while locks are held (PR 36636).

This looks like a large amount of work. Probably a project for Apache 3.0 and
not for 2.4.

-- 
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