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

Re: Diffs for running svnserve as a Win32 service

From: Ivan Zhakov <chemodax_at_gmail.com>
Date: 2006-02-23 10:29:45 CET

On 2/23/06, D.J. Heap <djheap@gmail.com> wrote:
> On 2/22/06, Arlie Davis <adavis@stonestreetone.com> wrote:
> > Ok, here's the first cut of the service implementation. I welcome feedback,
> > testing, etc. Before sending any feedback, though, please read the
> > instructions below, especially the "Known Issues" section.
> >
> [snip]
> >
> > * Right now, I don't know of a way to cleanly stop the svnserve process.
> > Instead, the implementation closes the listen socket, which causes the
> > main loop to exit. This isn't as bad as it sounds, and is a LOT better
> > than other options (such as terminating a thread).
>
>
> This will be very handy, thanks! I built and played with it a bit and
> it worked very well.
>
> Can the ra_dav experts explain how mod_dav_svn handles it when Apache
> is shut down? Such as if a big commit was in progress to a BDB
> backend?
IIRC apache with mpm_worker closes tcp socket. With mpm_fork it simply
kills processes. So, I consider better way is close tcp socket in
svnserve service.

--
Ivan Zhakov
Received on Thu Feb 23 10:31:31 2006

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.