-   Linux - Software (
-   -   SVN SYNC hangs (

amilauduwerella 06-19-2013 04:46 AM

SVN SYNC hangs
I have setup a SVN read only mirror at my server, and sometimes when I try to do s svn sync, it does not do anything just hang on, CLI.

Can you help me?

eklavya 06-20-2013 01:39 AM

It is necessary to find out which of these is applicable. You can search for processes called ‘svnsync’ using the ps command:


ps -C svnsync
If svnsync is running and you believe it has hung then you will need to kill it before proceeding.

If svnsync has died or been killed, and the destination repository remains locked, you can unlock it with the command:


svn pd svn:sync-lock --revprop -r 0 file:///var/lib/svn/foo
Do not remove the lock unless you are confident that there is no instance of svnsync running. If two svnsync processes are allowed to write to the destination repository concurrently then it is possible they could leave it in an unusable state.

(In particular, do not assume that a process will necessarily die following a kill command. You should check using ps, and if necessary issue a kill -9.)

amilauduwerella 06-26-2013 05:21 AM

Got it fixed. There was a network issue. when it hangs, i had to kill the process and do as you mention.

All times are GMT -5. The time now is 10:19 AM.