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

Re: Subversion stalls

From: Stephan Huber <ratzfatz_at_digitalmind.de>
Date: 2004-09-07 16:39:00 CEST

Hi,

some more infos on the stalling of 'svnadmin verify path/to/repository'

Here's the result of 'strace svnadmin verify path/to/repository'

open("path/to/repository/db/representations", O_RDWR) = 9
fcntl(9, F_SETFD, FD_CLOEXEC) = 0
fstat(9, {st_mode=S_IFREG|0775, st_size=704512, ...}) = 0
lseek(9, 0, SEEK_SET) = 0
read(9, "\34\r\0\0\223\363\4\0\0\0\0\0b1\5\0\10\0\0\0\0 \0\0\0\t"...,
256) = 256
close(9) = 0
open("path/to/repository/db/representations", O_RDWR) = 9
fcntl(9, F_SETFD, FD_CLOEXEC) = 0
fstat(9, {st_mode=S_IFREG|0775, st_size=704512, ...}) = 0
open("path/to/repository/db/strings", O_RDWR) = 10
fcntl(10, F_SETFD, FD_CLOEXEC) = 0
fstat(10, {st_mode=S_IFREG|0775, st_size=1943633920, ...}) = 0
lseek(10, 0, SEEK_SET) = 0
read(10, "P\r\0\0006\4\7\0\0\0\0\0b1\5\0\10\0\0\0\0 \0\0\0\t\0\0"...,
256) = 256
close(10) = 0
open("path/to/repository/db/strings", O_RDWR) = 10
fcntl(10, F_SETFD, FD_CLOEXEC) = 0
fstat(10, {st_mode=S_IFREG|0775, st_size=1943633920, ...}) = 0
select(0, NULL, NULL, NULL, {0, 1000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 2000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 4000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 8000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 16000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 32000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 64000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 128000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 256000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 512000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
.
.
.
.

(the last line gets repeated about every second)

here's the output of gdb's where:

#0 0x282e7be0 in select () from /usr/lib/libc.so.4
#1 0x2814c948 in __os_sleep () from /usr/local/lib/libdb4.so.0
#2 0x2814c9f0 in __os_yield () from /usr/local/lib/libdb4.so.0
#3 0x280f291d in __db_tas_mutex_lock () from /usr/local/lib/libdb4.so.0
#4 0x2813b87e in __lock_get_internal () from /usr/local/lib/libdb4.so.0
#5 0x2813afa9 in __lock_get () from /usr/local/lib/libdb4.so.0
#6 0x2811aa69 in __db_lget () from /usr/local/lib/libdb4.so.0
#7 0x280f9517 in __bam_read_root () from /usr/local/lib/libdb4.so.0
#8 0x280f918e in __bam_open () from /usr/local/lib/libdb4.so.0
#9 0x2810baef in __db_dbopen () from /usr/local/lib/libdb4.so.0
#10 0x2810b910 in __db_open () from /usr/local/lib/libdb4.so.0
#11 0x2808969c in svn_fs__bdb_open_strings_table (strings_p=0x8058070,
env=0x805a000, create=0)
    at subversion/libsvn_fs/bdb/strings-table.c:47
#12 0x2809034b in svn_fs_open_berkeley (fs=0x8058050, path=0x80553d0
"path/to/repository/db")
    at subversion/libsvn_fs/fs.c:645
#13 0x2807a2e1 in get_repos (repos_p=0xbfbffa68, path=0x8055190
"path/to/repository", locktype=1,
    open_fs=1, pool=0x8055018) at subversion/libsvn_repos/repos.c:1042
#14 0x2807a3d0 in svn_repos_open (repos_p=0xbfbffa68, path=0x8055190
"path/to/repository",
    pool=0x8055018) at subversion/libsvn_repos/repos.c:1077
#15 0x8049850 in open_repos (repos=0xbfbffa68, path=0x8055190
"path/to/repository", pool=0x8055018)
    at subversion/svnadmin/main.c:129
#16 0x804a86e in subcommand_verify (os=0x8055050, baton=0xbfbffb80,
pool=0x8055018)
    at subversion/svnadmin/main.c:782
#17 0x804b230 in main (argc=3, argv=0xbfbffc38) at
subversion/svnadmin/main.c:1083

So it seems that the database waits for another thread... any tips to
resolve my issue?

TIA,
Stephan

-- 
Stephan Huber +++ http://digitalmind.de +++ dieses und jenes
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 7 16:39:37 2004

This is an archived mail posted to the Subversion Users mailing list.