You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by rb...@connected.com on 2004/01/22 20:53:10 UTC
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
Re: Fedora mod_dav_svn RPM, was: Re: httpd sucking up memory
Posted by David Summers <da...@summersoft.fay.ar.us>.
On Thu, 22 Jan 2004, Chris Croome wrote:
> On Thu 22-Jan-2004 at 05:16:41PM -0600, David Summers wrote:
> > On Thu, 22 Jan 2004, Chris Croome wrote:
> > > I have just looked at upgrading to the latest RPMS from David but I
> > > have a dependancy problem with mod_dav_svn:
> > >
> > > # rpm -Uvh subversion-0.36.0-1.fc1.i386.rpm \
> > > subversion-devel-0.36.0-1.fc1.i386.rpm apr-0.9.5-0.2.i386.rpm \
> > > apr-util-0.9.5-0.1.i386.rpm neon-0.24.4-1.i386.rpm \
> > > apr-devel-0.9.5-0.2.i386.rpm apr-util-devel-0.9.5-0.1.i386.rpm \
> > >
> > > error: Failed dependencies:
> > > subversion = 0.32.1-1 is needed by (installed) mod_dav_svn-0.32.1-1
> >
> > Ummmm. You need to erase the mod_dav_svn-0.32.1-1.
> >
> > You are trying to use the 0.32.1 version when you are upgrading to 0.36.0
> > which won't work.
> >
> > :-)
>
> Hmm, OK I have tried this:
>
> # rpm -e mod_dav_svn
>
> And then I have upgraded as above and not had a dependancy problem.
>
> However the rpm -e removed /etc/httpd/conf.d/subversion.conf which
> contained:
>
> LoadModule dav_svn_module modules/mod_dav_svn.so
> LoadModule authz_svn_module modules/mod_authz_svn.so
>
> So I have added them to the main httpd.conf file.
>
> But I now have this problem:
>
> # /etc/init.d/httpd configtest
> Syntax error on line 200 of /etc/httpd/conf/httpd.conf:
> Cannot load /etc/httpd/modules/mod_dav_svn.so into server:
> /etc/httpd/modules/mod_dav_svn.so: cannot open shared object file:
> No such file or directory
>
> I have tried to find mod_dav_svn.so:
>
> # updatedb
> # locate mod_dav_svn.so
>
> But not had any luck...
>
> I expect you to tell me that I'm doing something stupid...
>
It sounds like you have not installed the subversion-server package. That
is what has the mod_dav_svn.so in it.
--
David Wayne Summers "Linux: Because reboots are for hardware upgrades!"
david@summersoft.fay.ar.us PGP Key: http://summersoft.fay.ar.us/~david/pgp.txt
PGP Key fingerprint = C0 E0 4F 50 DD A9 B6 2B 60 A1 31 7E D2 28 6D A8
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Fedora mod_dav_svn RPM, was: Re: httpd sucking up memory
Posted by Chris Croome <ch...@webarchitects.co.uk>.
Hi David
On Thu 22-Jan-2004 at 05:16:41PM -0600, David Summers wrote:
> On Thu, 22 Jan 2004, Chris Croome wrote:
> > I have just looked at upgrading to the latest RPMS from David but I
> > have a dependancy problem with mod_dav_svn:
> >
> > # rpm -Uvh subversion-0.36.0-1.fc1.i386.rpm \
> > subversion-devel-0.36.0-1.fc1.i386.rpm apr-0.9.5-0.2.i386.rpm \
> > apr-util-0.9.5-0.1.i386.rpm neon-0.24.4-1.i386.rpm \
> > apr-devel-0.9.5-0.2.i386.rpm apr-util-devel-0.9.5-0.1.i386.rpm \
> >
> > error: Failed dependencies:
> > subversion = 0.32.1-1 is needed by (installed) mod_dav_svn-0.32.1-1
>
> Ummmm. You need to erase the mod_dav_svn-0.32.1-1.
>
> You are trying to use the 0.32.1 version when you are upgrading to 0.36.0
> which won't work.
>
> :-)
Hmm, OK I have tried this:
# rpm -e mod_dav_svn
And then I have upgraded as above and not had a dependancy problem.
However the rpm -e removed /etc/httpd/conf.d/subversion.conf which
contained:
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so
So I have added them to the main httpd.conf file.
But I now have this problem:
# /etc/init.d/httpd configtest
Syntax error on line 200 of /etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/modules/mod_dav_svn.so into server:
/etc/httpd/modules/mod_dav_svn.so: cannot open shared object file:
No such file or directory
I have tried to find mod_dav_svn.so:
# updatedb
# locate mod_dav_svn.so
But not had any luck...
I expect you to tell me that I'm doing something stupid...
Chris
--
Chris Croome <ch...@webarchitects.co.uk>
web design http://www.webarchitects.co.uk/
web content management http://mkdoc.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Fedora mod_dav_svn RPM, was: Re: httpd sucking up memory
Posted by David Summers <da...@summersoft.fay.ar.us>.
On Thu, 22 Jan 2004, Chris Croome wrote:
> I have just looked at upgrading to the latest RPMS from David but I
> have a dependancy problem with mod_dav_svn:
>
> # rpm -Uvh subversion-0.36.0-1.fc1.i386.rpm \
> subversion-devel-0.36.0-1.fc1.i386.rpm apr-0.9.5-0.2.i386.rpm \
> apr-util-0.9.5-0.1.i386.rpm neon-0.24.4-1.i386.rpm \
> apr-devel-0.9.5-0.2.i386.rpm apr-util-devel-0.9.5-0.1.i386.rpm \
>
> error: Failed dependencies:
> subversion = 0.32.1-1 is needed by (installed) mod_dav_svn-0.32.1-1
>
> David have you got around this somehow?
>
Ummmm. You need to erase the mod_dav_svn-0.32.1-1.
You are trying to use the 0.32.1 version when you are upgrading to 0.36.0
which won't work.
:-)
--
David Wayne Summers "Linux: Because reboots are for hardware upgrades!"
david@summersoft.fay.ar.us PGP Key: http://summersoft.fay.ar.us/~david/pgp.txt
PGP Key fingerprint = C0 E0 4F 50 DD A9 B6 2B 60 A1 31 7E D2 28 6D A8
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Fedora mod_dav_svn RPM, was: Re: httpd sucking up memory
Posted by Chris Croome <ch...@webarchitects.co.uk>.
Hi
On Thu 22-Jan-2004 at 10:08:31PM +0100, Tobias Ringstrom wrote:
> rbraswell@connected.com wrote:
> > I am running SVN 0.35.1, Apache 2.0.48 and BerkleyDB 4.2 on
> > RedHat 9.
>
> Another mod_dav_svn "memory leak" was fixed in 0.36. I recommend
> that you upgrade (or wait a day or two for 0.37 to be released)
> and see if it goes away.
Ah, this sounds like just a problem I had today with the Apache and
Subversion from Fedora.
I have just looked at upgrading to the latest RPMS from David but I
have a dependancy problem with mod_dav_svn:
# rpm -Uvh subversion-0.36.0-1.fc1.i386.rpm \
subversion-devel-0.36.0-1.fc1.i386.rpm apr-0.9.5-0.2.i386.rpm \
apr-util-0.9.5-0.1.i386.rpm neon-0.24.4-1.i386.rpm \
apr-devel-0.9.5-0.2.i386.rpm apr-util-devel-0.9.5-0.1.i386.rpm \
error: Failed dependencies:
subversion = 0.32.1-1 is needed by (installed) mod_dav_svn-0.32.1-1
David have you got around this somehow?
Chris
--
Chris Croome <ch...@webarchitects.co.uk>
web design http://www.webarchitects.co.uk/
web content management http://mkdoc.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: httpd sucking up memory
Posted by Tobias Ringstrom <to...@ringstrom.mine.nu>.
rbraswell@connected.com wrote:
> 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.
Another mod_dav_svn "memory leak" was fixed in 0.36. I recommend that
you upgrade (or wait a day or two for 0.37 to be released) and see if
it goes away. If it doesn't help, we need you to tell us how to
reproduce the problem.
/Tobias
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org