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

Re: SVN and NetWare moves along...

From: Branko Čibej <brane_at_xbc.nu>
Date: 2005-11-13 18:37:55 CET

NormW wrote:
> - At the bottom of main.c there's a while (1) loop, with no visible
> exit means on it; how do other platforms shut down 'svnserve'? (I'm
> using 'daemon' mode since that's the closest we have of the modes that
> are available).
There's no way to shut down svnserve short of killing the process.

> - Once a thread is created for a connection, does it ever close?
Yes, a thread serves one request, then exits. I know it's not the most
optimal thing to do, but that's what we have now.

> - It seems there is nothing to prevent a shutdown in the middle of
> request processing on a thread?
That's right.

> - Some MaxThreads count limit would be desirable I think.
The trouble with this is that the "dumb" way of limiting the number of
threads could easily lead to a deadlock. A client can open several
interdependent connections to svnserve, and if we just blindly limited
the number of threads, that'd lead th clients blocking themselves.

(I tried that once, so this is based on experience, not conjecture. :)

> If SVN 1.3 is still some distance off, can someone provide a link to
> the latest RC2 please? If I'm going to 'doodle' on these matters with
> a view to proposing patches then it is less wasted effort to use the
> 'latest'. (I'm currently working on 1.2.3)
I very strongly suggest you make your changes in a working copy checked
out from SVN trunk. For one thing, you'll be tracking the latest code as
well. For another, we won't accept patches against anything else.

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Nov 13 18:38:51 2005

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.