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

Re: how to stop "svnserve" in daemon mode?

From: Ximon Eighteen <ximon.eighteen_at_int.greenpeace.org>
Date: 2005-09-16 13:48:49 CEST

Leon Zandman wrote:
>>After "svnserve -d -r <dir-to-repository>", is there anyway
>>to kill this? I am running svn 1.2.1 version on Linux Rehat.
> It has been a while since I used Linux, but this might work.
> killall -9 svnserve

But be careful if the server is (perhaps unlikely) running more than one
instance of svnserve. Perhaps it might be better to use the top command
(or ps | grep) to see the process id of any svnserve processes then
issue a kill command to the right one.

On my flavour of Linux this would work:

   ps auxww | fgrep svnserve

Then the number in the second column is the process id, then I can do:

   kill <process id> (without the <> brackets)

and in the worst case (e.g. svnserve won't stop after many minutes):

   kill -9 <process id>


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 16 13:52:21 2005

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.