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

Re: Bug: svnserve fail to detect it is already running

From: Stefan Sperling <stsp_at_elego.de>
Date: Thu, 8 Jul 2010 17:17:37 +0200

On Thu, Jul 08, 2010 at 04:21:33PM +0200, LAMBERT DAVID LD wrote:
> Hi,
> I'd like to submit the following bug about SVN server :
> On Windows Server 2003 R2, when svnserve is launched from the command
> line prompt, and a svnserve is already running, the command keep running
> indefinitly.
> It should instead stop and display an error message saying it's already
> running.
> The current behavior of this command let user thinks the server is
> running.

Hi David,

I don't think we should generally limit the number of svnserve
processes on a single computer to 1. What if I want to run multiple
instances of svnserve on the same server, each listening on a different

The behaviour you describe seems to be specific to Windows.
I cannot reproduce it on UNIX. When svnserve tries to bind to a port
that is already used by another instance of svnserve (or any service
for that matter), it exist with an error.

$ svnserve -d -r /tmp/repos
subversion/svnserve/main.c:739: (apr_err=48)
svnserve: Can't bind server socket: Address already in use

Do you not see this on Windows, too?

Received on 2010-07-08 17:18:48 CEST

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