Search code examples
svnfreeze

svn hangs during executing "svn update" or "svn checkout" command


Linux host: After I execute "svn update" or "svn checkout", it hangs out, and nothing displayed, and the process is always in running status and not completed, nothing displayed on the screen.

It works fine before.

i try to use "strace -f svn update .....", it hangs on this step:

socket(PF_INET, SOCK_STREAM|SOCK_CLOEXEC, IPPROTO_TCP) = 3
connect(3, {sa_family=AF_INET, sin_port=htons(3690),
sin_addr=inet_addr("**.***.**.**")}, 16) = 0
setsockopt(3, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
read(3, "( success ( 2 2 ( ) ( edit-pipel"..., 4096) = 116
write(3, "( 2 ( edit-pipeline svndiff1 abs"..., 154) = 154
read(3, ^C <unfinished ...>

the svn server version on my machine: svn, version 1.6.11 (r934486)

The client version is: TortoiseSVN 1.7.12, Build 24070 - 64 Bit , 2013/03/29 08:00:43 Subversion 1.7.9, apr 1.4.6 apr-utils 1.3.12 neon 0.29.6 OpenSSL 1.0.1e 11 Feb 2013 zlib 1.2.7

I need to use kill command to cancel this process

I have another svn server with the same version, it works fine.

I found that a new process " svnserve -d -r repo/" will be generated after execute "svn update .." or "svn checkout".

If I tried five times, there will be five processes " svnserve -d -r repo/".

enter image description here


Solution

  • This issue is caused by permission, that the repository disk is removed from the access permission.