Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

svn

freeze

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

like image 795
michelle Avatar asked Oct 20 '25 13:10

michelle


2 Answers

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

like image 181
michelle Avatar answered Oct 22 '25 02:10

michelle


You should use up-to-date Subversion. As of 2016 the only actual and supported versions are 1.8 and 1.9. SVN 1.7 and older is very old, outdated and should not be used anymore.

Upgrade your Subversion client.

like image 23
bahrep Avatar answered Oct 22 '25 03:10

bahrep



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!