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

Huge memory leaks from svn using https

From: Amol Karnik <amol_at_coventor.com>
Date: 2005-07-01 20:00:51 CEST

Hi all,

i looked through the archives and found one earlier incident which
seemed similar to my problems, but there were no solutions there.
(Besides that was with a 0.x version of subversion)

I'm in the process of migrating my company's repository from cvs to svn
and testing it out. The size of my svn repository dir is 1.68Gb with
around 130,000 or so files in it...mostly source code.

I have svn 1.2.0 running with apache 2.0 using SSL.

If i checkout the trunk of my repository, my memory usage goes up like
crazy.
I checked the output from top and memory usage on an idle newly rebooted
svn server machine *went from around 200Mb to 1.1 Gb*.
After the checkout finished, the memory* decreased only slightly from
1.1Gb to 999Mb.*
I stopped httpd, and the memory usage *went down from 999Mb to 976Mb*.
When i start httpd again, the memory usage as reported in top, *went
from 976 to 983Mb.

*It looks like svn is chewing up a lot of RAM but not returning it. This
is very critical for me because i will have 4 builds atleast running
each night and checking out the source code, (not to mention 20 dev
engineers during the day).......my server wont be able to handle this at
all.

Is there anything i can do to troubleshoot this? Has anyone else come
across this problem before? I would really appreciate any help and am
willing to test out patches or whatever. I downloaded the svn rpms from
the subversion website and installed them directly.

Here's my machine details :

Server: Dell 1.3 ghz P4, 1 Gb RAM
OS : Red Hat Enterprise Linux 4.0

*Subversion related packages*:-
httpd-suexec-2.0.52-9.ent
system-config-httpd-1.3.1-1
httpd-manual-2.0.52-9.ent
httpd-2.0.52-9.ent
subversion-perl-1.2.0-1
subversion-1.2.0-1
subversion-python-1.2.0-1
subversion-tools-1.2.0-1
mod_dav_svn-1.2.0-1

Here's a few snippets from my svn a*pache config file*:

====================================================
<Location /rep>

        DAV svn
        SVNParentPath /var/svn/rep

        SVNIndexXSLT "/svn/style.xsl"

        SSLRequireSSL

        AuthzSVNAccessFile /var/svn/config/svn-access-file

        Require valid-user

        AuthType Basic
        AuthName "Coventor Subversion Repository"
        AuthUserFile /var/svn/config/svn-auth-file

</Location>
=================================================

thanks!

- amol

-- 
-----------------------------------------------
Amol Karnik
Manager, Product Development
Coventor, Inc.
625 Mount Auburn Street
Cambridge MA, 02138
Work : (617) 497-6880 x248
Cell : (617) 304-4199
Fax  : (617) 497-6882
Email: amol@coventor.com
Web  : http://www.coventor.com
-----------------------------------------------
Received on Fri Jul 1 20:19:31 2005

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

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