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 2012/01/30 16:17:28 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

--- Comment #3 from Diego Santa Cruz <Di...@spinetix.com> 2012-01-30 15:17:28 UTC ---
We have also come into this problem in our product. As in our case httpd runs
on an embedded device memory is a bit constrained, but some users still create
directories with more than a thousand files per directory which uses up a lot
of memory.

To fix the situation we have done a few patches to mod_dav and mod_dav_fs to
remove as much O(N) dependencies on the number of files per directory. We have
had them in production since long with no issues, so I am pushing them to be
considered for inclusion in httpd. Note that the patches are probably not
perfect but still they do improve the situation significantly. The only
remaining O(N) source I see is the lock DB, but that is O(N) in the number of
locks, so I think that is much less of an issue.

Patches against httpd 2.2.21 follow.

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