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

RE: httpd sucking up memory

From: <rbraswell_at_connected.com>
Date: 2004-01-23 05:01:17 CET

I just upgraded to 0.36 and the bleeding continues.

Prior to starting apache after the upgrade to 0.36
Free memory was 779512k
Free swap was 2031040k

After the upgrade to 0.36, apache was started
Free memory was 779000k
Free swap was 2031040k

After doing a checkout from the newly upgraded 0.36 repository
Free memory was 653544k
Free swap was 2031040k

Also, look at the memory usage by httpd here.

[svn@svn bin]$ ps -uaxww | grep httpd
svn 4192 0.0 0.2 5032 2356 ? S 21:54 0:00
/usr/local/apache2/bin/httpd -k start
svn 4193 0.0 0.2 5368 3348 ? S 21:54 0:00
/usr/local/apache2/bin/httpd -k start
svn 4194 0.0 0.4 8172 5456 ? S 21:54 0:00
/usr/local/apache2/bin/httpd -k start
svn 4195 0.6 2.1 29084 24824 ? S 21:54 0:23
/usr/local/apache2/bin/httpd -k start
svn 4196 0.0 0.2 5320 3280 ? S 21:54 0:00
/usr/local/apache2/bin/httpd -k start
svn 4197 0.0 0.2 5300 3228 ? S 21:54 0:00
/usr/local/apache2/bin/httpd -k start
svn 4207 0.0 0.2 5320 3264 ? S 21:59 0:00
/usr/local/apache2/bin/httpd -k start
svn 4208 0.0 0.3 6232 3876 ? S 21:59 0:00
/usr/local/apache2/bin/httpd -k start
svn 4209 0.0 0.2 5320 3280 ? S 21:59 0:00
/usr/local/apache2/bin/httpd -k start
svn 4293 0.0 0.0 3568 624 pts/0 S 22:54 0:00 grep httpd

To reproduce this problem, simply use svn via apache. You will see the
memory get chewed up, and then on to the swap space until the whole thing
grinds to a halt!

Please help me fix this!

Thanks,
Ryan

-----Original Message-----
From: Tobias Ringstrom [mailto:tobias@ringstrom.mine.nu]
Sent: Thursday, January 22, 2004 5:51 PM
To: rbraswell@connected.com
Cc: users@subversion.tigris.org
Subject: Re: httpd sucking up memory

rbraswell@connected.com wrote:
> Ok, I am going to monitor the memory usage very closely from here on
> out. I will upgrade to 0.37 once it is released. Is there a bug on this
> which is due to be fixed in 0.37, or was it presumably fixed in 0.36?

One memory usage bug was fixed in 0.36. I do not know of any
additional memory usage bug fixes in 0.37.

/Tobias
Received on Fri Jan 23 05:02:28 2004

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.