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

millions of locks in Berkeley DB after import project ?

From: <J.Stannek_at_ceyoniq.com>
Date: 2003-05-28 14:04:26 CEST

Newbie question:
we have tested subversion for about one week.
we have trouble to configure subversion with ssh and svnserve, but
at this time we have a question about the millions of locks.
 
First of all, our configuration:
 
subversion 0.23
repository (server) Win2000 SP2
svn client WinXP SP 1
repository round about 100 MB
round about 12.000 files
no Apache running on the server machine, we want to communicate with
svnserve.
 
1. We have checked the database with "db_stat -c" and get something like
this:
 
V:\svn\subversion_repository\ctcm\db>db_stat -c
24 Last allocated locker ID.
9 Number of lock modes.
2000 Maximum number of locks possible.
2000 Maximum number of lockers possible.
2000 Maximum number of objects possible.
997 Current locks.
1001 Maximum number of locks so far.
0 Current number of lockers.
9 Maximum number lockers so far.
0 Current number lock objects.
15 Maximum number of lock objects so far.
1296 Number of lock requests.
1296 Number of lock releases.
0 Number of lock requests that would have waited.
0 Number of lock conflicts.
0 Number of deadlocks.
0 Number of transaction timeouts.
0 Number of lock timeouts.
688KB Lock region size (704512 bytes).
0 The number of region locks granted after waiting.
1498 The number of region locks granted without waiting.
 
V:\svn\subversion_repository\ctcm\db>
 
2. we began to import our project, while doing this we check the database
and get something like this:
 
V:\svn\subversion_repository\ctcm\db>db_stat -c
24 Last allocated locker ID.
9 Number of lock modes.
2000 Maximum number of locks possible.
2000 Maximum number of lockers possible.
2000 Maximum number of objects possible.
10M Current locks.
10M Maximum number of locks so far.
0 Current number of lockers.
9 Maximum number lockers so far.
0 Current number lock objects.
15 Maximum number of lock objects so far.
1296 Number of lock requests.
1296 Number of lock releases.
0 Number of lock requests that would have waited.
0 Number of lock conflicts.
0 Number of deadlocks.
0 Number of transaction timeouts.
0 Number of lock timeouts.
688KB Lock region size (704512 bytes).
0 The number of region locks granted after waiting.
10M The number of region locks granted without waiting.
 
V:\svn\subversion_repository\ctcm\db>
 
3. when we begin to work with subversion, doing some imports and checkouts,
the numer of "current locks" always increase.
 
4. when we do an svnadmin recover, numer of current locks goes down, but
there is no other way.
 
By the way, there is no different between communicate with http (Apache) or
svnserve.
 
So our question, is this OK ??
 
Thanks to all of you
 
Joerg Stannek
Ceyoniq Technology Gmbh
Germany
 
Received on Wed May 28 14:48:27 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.