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

FW: httpd sucking up memory - continued

From: <rbraswell_at_connected.com>
Date: 2004-01-22 22:14:37 CET

In case it is worth anything, here is a little more info.
 
After stopping apache, here is what we have
====================================
[svn@svn bin]$top
15:57:52 up 9 days, 6:02, 1 user, load average: 0.40, 0.23, 0.46
39 processes: 37 sleeping, 2 running, 0 zombie, 0 stopped
CPU states: 0.0% user 0.0% system 0.0% nice 0.0% iowait 100.0% idle
Mem: 1160196k av, 291184k used, 869012k free, 0k shrd, 16888k
buff
                    212024k actv, 10980k in_d, 5604k in_c
Swap: 2040244k av, 9304k used, 2030940k free 226376k
cached
 
 
After restarting apache, here is what we have
====================================
[svn@svn bin]$top
16:00:25 up 9 days, 6:04, 1 user, load average: 0.03, 0.13, 0.38
45 processes: 44 sleeping, 1 running, 0 zombie, 0 stopped
CPU states: 0.3% user 0.3% system 0.0% nice 0.0% iowait 99.3% idle
Mem: 1160196k av, 291300k used, 868896k free, 0k shrd, 16980k
buff
                    213484k actv, 10980k in_d, 5620k in_c
Swap: 2040244k av, 9304k used, 2030940k free 226476k
cached
 
[svn@svn bin]$ ps -uaxww | grep httpd
svn 19512 0.0 0.2 5040 2352 ? S 16:00 0:00
/usr/local/apache2/bin/httpd -k start
svn 19513 0.0 0.2 5064 2372 ? S 16:00 0:00
/usr/local/apache2/bin/httpd -k start
svn 19514 0.0 0.2 5064 2372 ? S 16:00 0:00
/usr/local/apache2/bin/httpd -k start
svn 19515 0.0 0.2 5064 2372 ? S 16:00 0:00
/usr/local/apache2/bin/httpd -k start
svn 19516 0.0 0.2 5064 2372 ? S 16:00 0:00
/usr/local/apache2/bin/httpd -k start
svn 19517 0.0 0.2 5064 2372 ? S 16:00 0:00
/usr/local/apache2/bin/httpd -k start
svn 19528 0.0 0.0 3572 628 pts/0 S 16:01 0:00 grep httpd
 
 
 
Thanks,
Ryan

 
-----Original Message-----
From: rbraswell@connected.com [mailto:rbraswell@connected.com]
Sent: Thursday, January 22, 2004 3:53 PM
To: users@subversion.tigris.org
Subject: httpd sucking up memory

I am running SVN 0.35.1, Apache 2.0.48 and BerkleyDB 4.2 on RedHat 9.

SVN is timing out requests, and when I look at the following output it is
clear why!

I have seen this kind of system state lead to a repository 'wedge' in the
past.

Can someone please tell me what is causing this? I was under the impression
this was fixed some time ago.

[root@svn logs]#top
15:44:57 up 9 days, 5:49, 1 user, load average: 0.00, 0.16, 0.87
52 processes: 50 sleeping, 2 running, 0 zombie, 0 stopped
CPU states: 0.0% user 0.0% system 0.0% nice 0.0% iowait 100.0% idle
Mem: 1160196k av, 1148252k used, 11944k free, 0k shrd, 17504k
buff
                   1001720k actv, 44724k in_d, 23044k in_c
Swap: 2040244k av, 2040244k used, 0k free 223384k
cached

[root@svn logs]# ps -uaxww | grep httpd
svn 1714 0.0 0.0 5036 88 ? S Jan13 0:00
/usr/local/apache2/bin/httpd -k start
svn 3582 0.0 24.0 410084 279464 ? S Jan14 2:47
/usr/local/apache2/bin/httpd -k start
svn 3677 0.0 6.9 312804 81184 ? S Jan14 2:19
/usr/local/apache2/bin/httpd -k start
svn 3693 0.0 3.8 407696 44916 ? S Jan14 2:50
/usr/local/apache2/bin/httpd -k start
svn 3746 0.0 4.0 375564 46872 ? S Jan14 2:46
/usr/local/apache2/bin/httpd -k start
svn 16238 0.1 4.8 184952 56420 ? S Jan21 1:28
/usr/local/apache2/bin/httpd -k start
svn 16239 0.1 9.5 371784 111268 ? S Jan21 1:24
/usr/local/apache2/bin/httpd -k start
svn 16240 0.0 2.1 219012 24600 ? S Jan21 0:05
/usr/local/apache2/bin/httpd -k start
svn 16241 0.1 12.8 374192 148944 ? S Jan21 2:01
/usr/local/apache2/bin/httpd -k start
svn 16242 0.0 1.2 159960 14412 ? S Jan21 0:13
/usr/local/apache2/bin/httpd -k start
svn 16247 0.0 2.4 368872 28704 ? S Jan21 0:13
/usr/local/apache2/bin/httpd -k start
root 19471 0.0 0.0 3572 628 pts/0 S 15:43 0:00 grep httpd

Thanks,
Ryan
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Connected: the leading provider of automated
data protection, archiving and recovery
solutions for distributed data.
http://www.connected.com <http://www.connected.com>
Received on Thu Jan 22 22:16:03 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.