Login | Register
My pages Projects Community openCollabNet

Discussions > users [DISABLED] > RE: Apache memory leak?

subversion
Discussion topic

There will be a brief maintenance window every Friday at 17:00 Pacific.
For further details, see CollabNet's maintenance and upgrade policy.

Back to topic list

RE: Apache memory leak?

Author "Geoff Rowell" <geoff dot rowell at gmail dot com>
Full name "Geoff Rowell" <geoff dot rowell at gmail dot com>
Date 2009-10-14 06:53:40 PDT
Message Tony Butt wrote:
> On Tue, 2009-10-13 at 10:24 +0200, KYLEE at bksv dot 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@sat​orlaser.com]
> > Sent: Monday, October 12, 2009 6:03 PM
> > To: users at subversion dot tigris dot org
> > Subject: Re: Apache memory leak?
> >
> > On Monday 12 October 2009, KYLEE at bksv dot 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
>

I run the CollabNet Subversion Server 1.6.5 (on W2K3 R2) with basic
authentication and authz - nothing fancy - and I'm also seeing a gradual
increase in the virtual memory size of the Apache process. I've been
restarting Apache every couple of day to control the memory size.

« Previous message in topic | 7 of 17 | Next message in topic »

Messages

Show all messages in topic

Apache memory leak? <KYLEE at bksv dot com> <KYLEE at bksv dot com> 2009-10-12 05:01:27 PDT
     Re: Apache memory leak? doomster Ulrich Eckhardt 2009-10-12 09:03:39 PDT
         RE: Apache memory leak? <KYLEE at bksv dot com> <KYLEE at bksv dot com> 2009-10-13 01:24:24 PDT
             RE: Apache memory leak? "Tony Harverson" <tony dot harverson at iglu dot com> "Tony Harverson" <tony dot harverson at iglu dot com> 2009-10-13 01:43:41 PDT
                 RE: Apache memory leak? <KYLEE at bksv dot com> <KYLEE at bksv dot com> 2009-11-10 00:58:23 PST
             RE: Apache memory leak? "Tony Butt" <Tony dot Butt at cea dot com dot au> "Tony Butt" <Tony dot Butt at cea dot com dot au> 2009-10-13 17:50:46 PDT
                 RE: Apache memory leak? "Geoff Rowell" <geoff dot rowell at gmail dot com> "Geoff Rowell" <geoff dot rowell at gmail dot com> 2009-10-14 06:53:40 PDT
                 RE: Apache memory leak? <KYLEE at bksv dot com> <KYLEE at bksv dot com> 2009-11-10 01:03:32 PST
     Re: Apache memory leak? Ivan Zhakov <ivan at visualsvn dot com> Ivan Zhakov <ivan at visualsvn dot com> 2009-10-14 08:57:52 PDT
         RE: Apache memory leak? "Geoff Rowell" <geoff dot rowell at gmail dot com> "Geoff Rowell" <geoff dot rowell at gmail dot com> 2009-10-14 09:22:32 PDT
             Re: Apache memory leak? Ivan Zhakov <ivan at visualsvn dot com> Ivan Zhakov <ivan at visualsvn dot com> 2009-10-14 09:30:21 PDT
             Re: Apache memory leak? Les Mikesell <lesmikesell at gmail dot com> Les Mikesell <lesmikesell at gmail dot com> 2009-10-14 09:41:27 PDT
         RE: Apache memory leak? <KYLEE at bksv dot com> <KYLEE at bksv dot com> 2009-11-10 01:06:23 PST
             Re: Apache memory leak? Ivan Zhakov <ivan at visualsvn dot com> Ivan Zhakov <ivan at visualsvn dot com> 2009-11-10 02:29:53 PST
                 RE: Apache memory leak? FIXED <KYLEE at bksv dot com> <KYLEE at bksv dot com> 2009-11-13 01:36:37 PST
     RE: Apache memory leak? "Geoff Rowell" <geoff dot rowell at gmail dot com> "Geoff Rowell" <geoff dot rowell at gmail dot com> 2009-11-10 06:22:37 PST
         Re: Apache memory leak? stsp Stefan Sperling 2009-11-10 06:43:31 PST
Messages per page: