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

Re: svnserve hang - SMP questions

From: root <ebay_101011_0x2b_at_yahoo.com>
Date: 2004-01-20 16:07:26 CET

--- Tobias Ringstrom <tobias@ringstrom.mine.nu> wrote:
> root wrote:
> > Hi Tobias,
> >
> > Thanks for the response. I realize that what you
> > indicate below is covered in the FAQ. However, I
> do
> > not believe this to be the case. I am the lone
> > administrator of this box and this repository. I
> can
> > set up a brand new clean repository, and then from
> the
> > client, do a checkout and the same thing occurs --
> it
> > hangs. I can guarantee that there are no other
> > clients hitting the repository or local svn*
> processes
> > hitting the repository at the same time the
> checkout
> It's completely OK to have several clients accessing
> the repository at
> the same time of course.

Right - I would think this to be the case..I was
simply trying to rule out the scenario where others'
local/remote accesses were leaving unfinished

> > is underway. Doing svnadmin recover does not seem
> to
> > fix this problem.
> I assume that you killed all svnserve:s, ran
> svnadmin recover, and that
> it completed without error. We need to narrow this
> down a bit further.
> Make sure that your repos is not a network drive,
> and that you do not
> have a permission/umask problem.

Yes, to your question on running svnadmin recover.
This is definitely *not* a network drive.
Permission/umask problem - I've been trying
dilligently to avoid these issues. I have a wrapper
script for svnserve that sets the umask to 0007. The
permissions on the repository are as follows with all
users being members of svn group:

drwsrws--- 2 svn svn 4096 Jan 12
20:46 conf
drwsrws--- 2 svn svn 4096 Jan 12
20:46 dav
drwsrws--- 2 svn svn 118784 Jan 20
09:39 db
-rwsrws--- 1 svn svn 2 Jan 12
20:46 format
drwsrws--- 2 svn svn 4096 Jan 12
20:46 hooks
drwsrws--- 2 svn svn 4096 Jan 12
20:46 locks
-rwsrws--- 1 svn svn 376 Jan 12
20:46 README.txt

> Can you checkout using file://? If that works, can
> you run "svnserve -d"
> on the server and access it via svn://?

I can successfully do a file:/// checkout of the
repository - this problem only seems to happen over
the network.
I'll try to manually run svnserve -d tonight and see
if I can checkout successfully via that method.

> You should also upgrade to the latest release (0.36)
> of course.

I plan to do this tonight with

> > What I am curious about -- is if it is possibly an
> > issue. Has anyone run svnserve on SMP boxes
> before?
> I doubt that this is an SMP problem, but who can
> know for sure?
> > What I see is that a single client doing a
> checkout
> > connects via SSH one time and starts the svnserve
> > process, then a second or so later connects via
> > again, and launches *another* svnserve process.
> Is
> > this by design -- such that a single checkout
> requires
> > 2 svnserve processes to be running? If so, is it
> at
> Yes.

Just out of curiosity - why does it launch two
svnserve processes, and is this true for all
repository accesses (i.e. local/file:///, SSH, Apache,

I will rebuild the server tonight 0.36 and the repos
and try some more tests. Thanks for your feedback.


Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jan 20 16:08:22 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.