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

RE: Apache memory leak?

From: Tony Butt <Tony.Butt_at_cea.com.au>
Date: Wed, 14 Oct 2009 11:50:15 +1100

On Tue, 2009-10-13 at 10:24 +0200, KYLEE_at_bksv.com wrote:
> Hi Uli,
>
> Thanks for the reply. That's what i thought so. It's definitely high memory comsumption there.
> I do not serve anything else for Apache. It's a dedicated subversion server via http and nothing else.
>
The only time I have found excessive memory consumption with apache was
when I tried to use ldap authentication on apache 2.0. The memory usage
would creep up over a period of time, and eventually I had to restart
apache (every few days, or so, I think). I gave up on ldap and the
problem went away.

I have since used ldap authentication with apache 2.2, and there are no
problems there.
> I have svnadmin running daily for backup. But when the backup service is not running, it's stuck in the process somehow.
>
>
> Regards,
> Lee
>
> -----Original Message-----
> From: Ulrich Eckhardt [mailto:eckhardt_at_satorlaser.com]
> Sent: Monday, October 12, 2009 6:03 PM
> To: users_at_subversion.tigris.org
> Subject: Re: Apache memory leak?
>
> On Monday 12 October 2009, KYLEE_at_bksv.com wrote:
> > I have lots of memory issues on my server after the latest update to my
> > subversion server. I used to run a v1.5.5 server without much problems
> > on my environment and rebooting the server from time to time is a must.
> > It usually happens once every week.
>
> Huh? That sounds really bad.
>
I agree - apache should normally not need to be rebooted for months at a
time (if ever)
> > Now that i have updated the subversion server to the latest build
> > provided by CollabNet due to a valuable fix to this version.
> >
> > Ever since, i have to reboot the server once every 2 days due to
> > non-responding clients and high memory consumption.
>
> That sounds even worse!
>
> Apropos: Do you have to reboot the machine or does it suffice to restart
> Apache? The difference is important in order to make out the culprit.
>
> > - httpd takes ~900MB of RAM and ~900MB of virtual memroy.
>
Sounds like my ldap problem with 2.0, see above...
> That sounds like a lot, but I don't know what else you are serving with Apache
> there.
>
> > I do not know what's the reason or the cause of it. Sometimes svnadmin
> > seems to be running heavily on the server taking up to 50% of the CPU
> > time.
>
> Why is svnadmin running? Who started it and why? That should be a tool for
> administration and maintenance, not something that regularly runs. The only
> thing it is good for regularly is to create a dumpfile from a hotcopy for
> backup purposes.
>
> Uli
>

Tony Butt
CEA Technologies.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2407371

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].

Received on 2009-10-14 02:51:59 CEST

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.