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

Re: svnsync experience

From: Mark <mark_at_mitsein.net>
Date: 2007-01-31 18:21:14 CET

For the initial setup, you don't really _have_to use svnsync to get
the repository copied. You should be able to use whatever means
(rsync, ftp) to get a copy of the repository to the mirror location
and then mimic what svnsync init does by setting some revision
properties on rev 0.
You need:
svn:sync-from-uuid : <uuid of source repo>
svn:sync-last-merged-rev : <set to current youngest rev>
svn:date : <set to a zulu time like 2006-12-29T22:40:20.478163Z>
svn:sync-from-url : <svn url of the source repository>

Then, set up the svnsync hooks you need and let her rip.

On 1/31/07, Wichert Akkerman <wichert@wiggy.net> wrote:
> I'm in the process up setting up backups/read-only mirrors for
> svn.plone.org using svnsync and so far my experience is somewhat
> sub-optimal. I'm wondering if that is specific for my setup, or if
> I am hitting some svnsync problems.
>
> I need to replicate three repositories, totalling somewhat over 55k
> changesets and about 1gb of data combined. There are two problems I
> am seeing:
>
> - svnsync appears have a memory leak. Looking at the process listing
> on every synced changeset it looses between a hunderd kB to over
> a megabyte of data. With 55k changesets needing to be processed that
> is somewhat problematic.
>
> - svnsync is slow: it processes one changeset every 3-5 seconds. The
> latency between the machines is 160ms and neither of them are
> overloaded.
>
> Combined this means it takes me about a week to setup one mirror (and I
> need to setup two) for the repositories and requires me to manually
> restart the svnsync process regularly to prevent the machine from
> running out of memory. I'm really happy to have a tool like svnsync,
> but currently it is slightly painful to use.
>
> Are there things I can tweak or look into that can help?
>
> Wichert.
>
> --
> Wichert Akkerman <wichert@wiggy.net> It is simple to make things.
> http://www.wiggy.net/ It is hard to make things simple.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

-- 
Mark
"Blessed is he who finds happiness in his own foolishness, for he will
always be happy."
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jan 31 18:21:54 2007

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.