From bugs-return-35236-apmail-httpd-bugs-archive=httpd.apache.org@httpd.apache.org Sun Mar 07 13:11:45 2010 Return-Path: Delivered-To: apmail-httpd-bugs-archive@www.apache.org Received: (qmail 91794 invoked from network); 7 Mar 2010 13:11:44 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 Mar 2010 13:11:44 -0000 Received: (qmail 66624 invoked by uid 500); 7 Mar 2010 13:11:24 -0000 Delivered-To: apmail-httpd-bugs-archive@httpd.apache.org Received: (qmail 66460 invoked by uid 500); 7 Mar 2010 13:11:24 -0000 Mailing-List: contact bugs-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: "Apache HTTPD Bugs Notification List" List-Id: Delivered-To: mailing list bugs@httpd.apache.org Received: (qmail 66451 invoked by uid 99); 7 Mar 2010 13:11:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Mar 2010 13:11:24 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Mar 2010 13:11:23 +0000 Received: by brutus.apache.org (Postfix, from userid 33) id A7165234C4AC; Sun, 7 Mar 2010 13:11:02 +0000 (UTC) From: bugzilla@apache.org To: bugs@httpd.apache.org Subject: DO NOT REPLY [Bug 48130] DAV operations on large filesets consume all the OS memory X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Apache httpd-2 X-Bugzilla-Component: mod_dav X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: sf@sfritsch.de X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: bugs@httpd.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Version OS/Version In-Reply-To: References: X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Message-Id: <20100307131102.A7165234C4AC@brutus.apache.org> Date: Sun, 7 Mar 2010 13:11:02 +0000 (UTC) https://issues.apache.org/bugzilla/show_bug.cgi?id=48130 Stefan Fritsch changed: What |Removed |Added ---------------------------------------------------------------------------- Version|2.2.14 |2.3-HEAD OS/Version|AIX |All --- Comment #2 from Stefan Fritsch 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