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

Subversion appears to hang with big import

From: greg_copy <greg_copy_at_mail.netio.org>
Date: 2004-10-02 22:03:55 CEST

I'm trying to import a large set of files (over 600) into an existing
repository. After about 600+ lines in the access_log (don't know how many
files were actually imported). It's done it to me twice now, once with the svn
command line and once with tortoisesvn, requiring a shutdown of apache and an
svnadmin recover to get back in business.

Client: WinXP (SP1, not SP2), svn 1.0.8, TortoiseSVN 1.0.8 Build 1432
Server: Linux (Trustix 2.1), Apache 2.0.51, OpenSSL 0.9.7c, Subversion 1.1.0,
Neon 0.24.7

All connections to the SVN repository use SSL (https). I am the _only_ user of
this system. There should be no issues with multiple simultaneous accesses of
any kind. The repository is located at /export/SVN and is owned by
httpd.httpd, the user/group that Apache runs as. /export/SVN is a locally
mounted drive on the server. I do not run svn locally on the server, unless
things get locked up and I have to recover. [Are there any remote recovery
tools???]

I've read the FAQ, and it suggests sending a message here if there are still
problems after following what is in the FAQ. That is what I am doing.

Another question, how common are problems with hung SVN repositories? I have
been using CVS for a while, with virtually no problems. Since trying to switch
to SVN I've had all kinds of problems, most of which have required my logging
into the server in order to reset things and recover. It seems, to me at
least, that SVN is quite fragile. More so than it should be. And this is just
for a single user client/server application, nothing complex like multiple
users or multiple access methods. Most of my problems I've dismissed as user
error getting used to SVN, except for the timeouts. The tight http interface
is the feature that makes me most want to switch to SVN.

Below I'm including config and log file information and the client error
message. This shows the failure, without my stopping and recovering from the
error. Note the apache child process still running.

Thanks,
Greg

--
NetIO.org
Client:
-------------
Adding         Labs\Lab05\Starter\Utility\obj
Adding         Labs\Lab05\Starter\Utility\obj\Debug
Adding  (bin)  Labs\Lab05\Starter\Utility\obj\Debug\Utils.exe
Adding  (bin)  Labs\Lab05\Starter\Utility\obj\Debug\Utils.projdata
svn: PUT of /svn/!svn/wrk/2173e3fb-718e-d948-8718-ad905d9ebc11/C+Sharp+Training+
Files/2124/Labs/Lab05/Starter/Utility/obj/Debug/Utils.projdata: timed out
waiting for server (https://192.168.1.15)
--------------
Server:
--------------
 9113 ?        S      0:00 /usr/sbin/httpd -k start -DSSL
 9114 ?        S      0:02  \_ /usr/sbin/httpd -k start -DSSL
 9115 ?        S      0:02  \_ /usr/sbin/httpd -k start -DSSL
 9116 ?        S      0:02  \_ /usr/sbin/httpd -k start -DSSL
 9117 ?        S      0:02  \_ /usr/sbin/httpd -k start -DSSL
 9118 ?        R    139:04  \_ /usr/sbin/httpd -k start -DSSL
 9121 ?        S      0:01  \_ /usr/sbin/httpd -k start -DSSL
 9122 ?        S      0:00  \_ /usr/sbin/httpd -k start -DSSL
 9125 ?        S      0:00  \_ /usr/sbin/httpd -k start -DSSL
root@home /var/log/httpd#
--------------
root@home /var/log/httpd# ls -alR /export/SVN
/export/SVN:
total 36
drwxr-xr-x    7 httpd    httpd        4096 Sep 26 03:46 ./
drwx--x--x    4 root     root         4096 Oct  1 07:24 ../
-rw-r--r--    1 httpd    httpd         376 Sep 26 03:46 README.txt
drwxr-xr-x    2 httpd    httpd        4096 Sep 30 22:42 conf/
drwxr-xr-x    2 httpd    httpd        4096 Sep 30 23:48 dav/
drwxr-xr-t    2 httpd    httpd        4096 Oct  2 12:40 db/
-r--r--r--    1 httpd    httpd           2 Sep 26 03:46 format
drwxr-xr-x    2 httpd    httpd        4096 Sep 26 03:46 hooks/
drwxr-xr-x    2 httpd    httpd        4096 Sep 26 03:46 locks/
/export/SVN/conf:
total 16
drwxr-xr-x    2 httpd    httpd        4096 Sep 30 22:42 ./
drwxr-xr-x    7 httpd    httpd        4096 Sep 26 03:46 ../
-rw-------    1 httpd    httpd          28 Sep 26 03:47 svnpasswd.conf
-rw-r--r--    1 httpd    httpd        1100 Sep 26 03:47 svnserve.conf
/export/SVN/dav:
total 12
drwxr-xr-x    2 httpd    httpd        4096 Sep 30 23:48 ./
drwxr-xr-x    7 httpd    httpd        4096 Sep 26 03:46 ../
-rw-r--r--    1 httpd    httpd           0 Sep 30 23:48 activities.dir
-rw-r--r--    1 httpd    httpd        1024 Oct  2 12:38 activities.pag
/export/SVN/db:
total 11696
drwxr-xr-t    2 httpd    httpd        4096 Oct  2 12:40 ./
drwxr-xr-x    7 httpd    httpd        4096 Sep 26 03:46 ../
-rw-r--r--    1 httpd    httpd        1740 Sep 26 03:46 DB_CONFIG
-rw-------    1 httpd    httpd        8192 Oct  2 12:24 __db.001
-rw-------    1 httpd    httpd      270336 Oct  2 12:24 __db.002
-rw-------    1 httpd    httpd      327680 Oct  2 12:24 __db.003
-rw-------    1 httpd    httpd      737280 Oct  2 12:24 __db.004
-rw-------    1 httpd    httpd       16384 Oct  2 12:24 __db.005
-rw-r--r--    1 httpd    httpd      188416 Oct  2 12:40 changes
-rw-r--r--    1 httpd    httpd        8192 Oct  2 12:39 copies
-rw-r--r--    1 httpd    httpd     1048049 Oct  1 11:50 log.0000000001
-rw-------    1 httpd    httpd     1048514 Oct  2 11:36 log.0000000002
-rw-------    1 httpd    httpd     1048515 Oct  2 11:37 log.0000000003
-rw-------    1 httpd    httpd     1048554 Oct  2 12:39 log.0000000004
-rw-------    1 httpd    httpd     1048411 Oct  2 12:39 log.0000000005
-rw-------    1 httpd    httpd     1048531 Oct  2 12:40 log.0000000006
-rw-------    1 httpd    httpd      672123 Oct  2 12:40 log.0000000007
-rw-r--r--    1 httpd    httpd      188416 Oct  2 12:40 nodes
-rw-r--r--    1 httpd    httpd      118784 Oct  2 12:40 representations
-rw-r--r--    1 httpd    httpd        8192 Oct  2 12:40 revisions
-rw-r--r--    1 httpd    httpd     3620864 Oct  2 12:40 strings
-rw-r--r--    1 httpd    httpd       20480 Oct  2 12:40 transactions
-rw-r--r--    1 httpd    httpd        8192 Oct  2 12:40 uuids
/export/SVN/hooks:
total 28
drwxr-xr-x    2 httpd    httpd        4096 Sep 26 03:46 ./
drwxr-xr-x    7 httpd    httpd        4096 Sep 26 03:46 ../
-rw-r--r--    1 httpd    httpd        1411 Sep 26 03:46 post-commit.tmpl
-rw-r--r--    1 httpd    httpd        1475 Sep 26 03:46 post-revprop-change.tmpl
-rw-r--r--    1 httpd    httpd        2203 Sep 26 03:46 pre-commit.tmpl
-rw-r--r--    1 httpd    httpd        1952 Sep 26 03:46 pre-revprop-change.tmpl
-rw-r--r--    1 httpd    httpd        1500 Sep 26 03:46 start-commit.tmpl
/export/SVN/locks:
total 16
drwxr-xr-x    2 httpd    httpd        4096 Sep 26 03:46 ./
drwxr-xr-x    7 httpd    httpd        4096 Sep 26 03:46 ../
-rw-r--r--    1 httpd    httpd         295 Sep 26 03:46 db-logs.lock
-rw-r--r--    1 httpd    httpd         460 Sep 26 03:46 db.lock
--------------
# Inside SSL configuration to force SSL-only access. All access requires login
LoadModule dav_module         modules/mod_dav.so
LoadModule dav_svn_module     modules/mod_dav_svn.so
LoadModule authz_svn_module   modules/mod_authz_svn.so
<Location /svn>
  DAV svn
  SVNPath /export/SVN
  AuthType Basic
  AuthName "NetIO.org Subversion Login"
  AuthUserFile /etc/httpd/conf/svnpasswd
  Require valid-user
</Location>
--------------
==> ssl_request_log <==
[02/Oct/2004:12:40:31 -0500] 192.168.1.12 TLSv1 DHE-RSA-AES256-SHA "PROPPATCH
/svn/!svn/wrk/2173e3fb-718e-d948-8718-ad905d9ebc11/C+Sharp+Training+Files/2124/Labs/Lab05/Starter/Utility/bin/Debug/Utils.pdb
HTTP/1.1" 534
[02/Oct/2004:12:40:31 -0500] 192.168.1.12 TLSv1 DHE-RSA-AES256-SHA "MKCOL
/svn/!svn/wrk/2173e3fb-718e-d948-8718-ad905d9ebc11/C+Sharp+Training+Files/2124/Labs/Lab05/Starter/Utility/obj
HTTP/1.1" 467
[02/Oct/2004:12:40:31 -0500] 192.168.1.12 TLSv1 DHE-RSA-AES256-SHA "MKCOL
/svn/!svn/wrk/2173e3fb-718e-d948-8718-ad905d9ebc11/C+Sharp+Training+Files/2124/Labs/Lab05/Starter/Utility/obj/Debug
HTTP/1.1" 473
[02/Oct/2004:12:40:31 -0500] 192.168.1.12 TLSv1 DHE-RSA-AES256-SHA "PUT
/svn/!svn/wrk/2173e3fb-718e-d948-8718-ad905d9ebc11/C+Sharp+Training+Files/2124/Labs/Lab05/Starter/Utility/obj/Debug/Utils.exe
HTTP/1.1" 481
[02/Oct/2004:12:40:31 -0500] 192.168.1.12 TLSv1 DHE-RSA-AES256-SHA "PROPPATCH
/svn/!svn/wrk/2173e3fb-718e-d948-8718-ad905d9ebc11/C+Sharp+Training+Files/2124/Labs/Lab05/Starter/Utility/obj/Debug/Utils.exe
HTTP/1.1" 534
==> access_log <==
192.168.1.12 - greg [02/Oct/2004:12:40:31 -0500] "PROPPATCH
/svn/!svn/wrk/2173e3fb-718e-d948-8718-ad905d9ebc11/C+Sharp+Training+Files/2124/Labs/Lab05/Starter/Utility/bin/Debug/Utils.pdb
HTTP/1.1" 207 534
192.168.1.12 - greg [02/Oct/2004:12:40:31 -0500] "MKCOL
/svn/!svn/wrk/2173e3fb-718e-d948-8718-ad905d9ebc11/C+Sharp+Training+Files/2124/Labs/Lab05/Starter/Utility/obj
HTTP/1.1" 201 467
192.168.1.12 - greg [02/Oct/2004:12:40:31 -0500] "MKCOL
/svn/!svn/wrk/2173e3fb-718e-d948-8718-ad905d9ebc11/C+Sharp+Training+Files/2124/Labs/Lab05/Starter/Utility/obj/Debug
HTTP/1.1" 201 473
192.168.1.12 - greg [02/Oct/2004:12:40:31 -0500] "PUT
/svn/!svn/wrk/2173e3fb-718e-d948-8718-ad905d9ebc11/C+Sharp+Training+Files/2124/Labs/Lab05/Starter/Utility/obj/Debug/Utils.exe
HTTP/1.1" 201 481
192.168.1.12 - greg [02/Oct/2004:12:40:31 -0500] "PROPPATCH
/svn/!svn/wrk/2173e3fb-718e-d948-8718-ad905d9ebc11/C+Sharp+Training+Files/2124/Labs/Lab05/Starter/Utility/obj/Debug/Utils.exe
HTTP/1.1" 207 534
==> error_log <==
[Sat Oct 02 12:25:09 2004] [notice] caught SIGTERM, shutting down
[Sat Oct 02 12:32:36 2004] [notice] suEXEC mechanism enabled (wrapper:
/usr/sbin/suexec)
[Sat Oct 02 12:32:38 2004] [notice] Apache/2.0.51 (Trustix Secure Linux/Linux)
mod_ssl/2.0.51 OpenSSL/0.9.7c DAV/2 SVN/1.1.0 configured -- resuming normal
operations
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Oct 3 18:14:09 2004

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.