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

RE: svnserve memory leaks?

From: Casper Hornstrup <ch_at_csh-consult.dk>
Date: 2005-07-27 12:42:01 CEST

> -----Original Message-----
> From: John Szakmeister [mailto:john@szakmeister.net]
> Sent: 27. juli 2005 12:12
> To: users@subversion.tigris.org
> Cc: Casper Hornstrup
> Subject: Re: svnserve memory leaks?
>
> On Wednesday 27 July 2005 03:12, Casper Hornstrup wrote:
> > I'm seeing high memory usage in svnserve after a few days of usage.
> > When just started, the svnserve process is using approx. 2.5MB of memory.
> > I've seen it use as much as 600MB of memory. This is not just during a
> > commit. This is also when it's idle.
> >
> > I'm using Subversion 1.1.1.11581. Will upgrading to 1.2.1 fix the problem?
>
> Perhaps, although I don't remember any specific memory usage fixes in
> svnserver.
>
> > The environment is Windows Server 2003 SP1.
>
> Can you provide a little more information? What do you mean by when it's
> idle? Do you mean that no one is committing, but people are still
> updating/checking out? Or do you mean that it grows with absolutely no
> network activity?
>
> -John

Idle = when it's not being used. No commits, no checkouts. I don't think
it grows when there is no network activity. We are not many developers.
15 part time developers. Usually we have 10 - 20 commits a day.

I recycle the svnserve process daily now, but it won't help if there is an
unusual number of commits in a given day. Yesterday this happened. There was
about 45 or so commits. I can't be sure that high memory usage was the cause,
but svnserve stopped servicing svn clients. Svn clients failed with the
following error:

svn Error: Can't read from connection: An existing connection was forcibly closed by the remote host.

This morning it worked again, but I suspect this is because the process was
recycled this morning.

The box has 1GB+ of free RAM after boot.

Casper

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jul 27 12:43:40 2005

This is an archived mail posted to the Subversion Users mailing list.