[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

mod_dav/mod_dav_svn PROPFINDS.

From: Kevin Pilch-Bisson <kevin_at_pilch-bisson.net>
Date: 2002-06-30 07:03:22 CEST

Hey,

Trying to help someone on IRC today, I imported the linux kernel source into a
repository. I then tried to check it out over dav and had problems. After
watching for a while, I noticed that whenever the checkout started a new
directory it would stop for quite a while, and the httpd memory usage would
grow. I soon found out that my svn client would time out before getting a
PROPFIND request back for the include/linux directory of the kernel sources.

The reason for this is that my machine starts thrashing, because the httpd
process trying to do the propfind grows huge (680MB before I killed it).(Note
by contrast that opening the directory in w3m took about 2 seconds, and I
didn't notice httpd's memory usage.

Tracing into this I found that mod_dav opens and closes it's internal prop
database for every resource found. I don't claim to know enough about the
internal workings of mod_dav to fix it, but thought I would post it here to
get gstein's attention when he gets back.

(I'll file an issue tomorrow as well).

For now: It is off to bed.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Pilch-Bisson                    http://www.pilch-bisson.net
     "Historically speaking, the presences of wheels in Unix
     has never precluded their reinvention." - Larry Wall
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  • application/pgp-signature attachment: stored
Received on Sun Jun 30 07:25:43 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.