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

Apache/mod_dav_svn.so failing on large directories on Windows?

From: Arild Fines <arild.fines_at_broadpark.no>
Date: 2002-06-29 21:14:26 CEST

Env: Debug builds of both apache and mod_dav_svn.so on Windows XP.

I have a large repository consisting of 700+ small files(mostly pickled
Python objects) in one single directory. Trying to check out that directory
through Apache causes Apache to consume massive amounts of memory(I have
seen it go up to 7-800 megs in the Task Manager before I managed to kill the
process), and eventually the svn client fails with the following
message(this is of course if I do not kill Apache first):

j:\subversion\subversion\libsvn_ra_dav\fetch.c:1014
svn_error: #21096 : <RA layer request failed>
  could not fetch directory entries

j:\subversion\subversion\libsvn_ra_dav\util.c:81
svn_error: #21096 : <RA layer request failed>
  PROPFIND of /svn/rogiefaq/!svn/bc/1/: Could not read chunk size: Line too
long

The message "Could not read chunk size: Line too long" seems to originate
from Neon, not from svn code.

After doing a little experimentation, it seems that the breaking point is
somewhere between 400 and 450 files in a single directory. Other
repositories with a lot more files than this, but spread out over several
directories, seem to work fine.
Even for successfull checkouts Apache seems to consume an excessive amount
of memory; 100-200 megs seem to be the norm.
So - am I missing something here?

Arild Fines

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jun 30 07:45:21 2002

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