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

Re: RFV on issue 860 (httpd memory usage)

From: <kbohling_at_birddog.com>
Date: 2002-11-10 11:53:25 CET

(I can't tell for sure, but it sure seems that way).
Quoting "Kirby C. Bohling" <kbohling@birddog.com>:

> On Mon, 2002-11-04 at 16:06, Karl Fogel wrote:
> > Anyone who's feeling squirrely, please take a look at
> >
> > http://subversion.tigris.org/issues/show_bug.cgi?id=860
> >
> > Toward the end, you'll see Ben Collins-Sussman's summary of the
> > current situation, about how the bug's severity has been reduced, yet
> > there is still some mysterious linearity going on.
> >
> > I'm going to be looking at this too, but this is one of those
> > situations where many eyes might help. Especially those with
> > experience tracing Berkeley DB memory usage and/or APR pools.
> >
>
> Karl,
>
> At the end of the issue, it talks about it might be apache or Berkeley
> DB. However, at the top it mentions that this happens with ra_dav or
> ra_local. So I'm failing to see how it could be apache if it does it
> over ra_local.
>

..Snip...

I looked into this, and did the following.

Using RH 8.0, fresh install, installed everything.
Download 0.15.0, untar.
./configure --enable-maintainer-mode --without-apache --without-apxs
make
svnadmin create /home/kbohling/repos
svn mkdir file:///home/kbohling/repos/trunk
svn co file:///home/kbohling/repos/trunk
dd if=/dev/urandom of=stuff count=200k bs=1024
svn add stuff
svn commit -m "Memory hog"

ldd of lt-svn seems to say it was using db4, not db4.1.

I was sitting watching top in another window. It claimed a SIZE of 5220 for
almost the entire commit. Right near the end, it went up to 5280, the spiked
very briefly to 5336 or so. I never ever saw it hit, either of the sizes
mentioned in the issue entry. I'm not sure what this means. I generally don't
build the apache client/server pieces.

What'd I do differently? I'm missing the verbose memory stuff, and I'm missing
the mod_dav_svn stuff. Does that help at all? The issue claimed the problem
exists over ra_local, but I sure don't see it on my RH machine. I thought I was
supposed to see it slowly gain to about 17MB in memory, but I definitely didn't
see that.

I'll see if I can manage to get a version of apache installed and try it over
ra_local and ra_dav tomorrow with that client. I'll also try a 1GB file see if
that makes it visible.

Thanks,
    Kirby

>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Nov 10 11:54:28 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.