You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Ed Hillmann <ed...@gmail.com> on 2007/02/18 23:43:38 UTC
Will svnserve in daemon mode spawn child processes?
Hi all. I don't know if this is wrong or not, but this is the first
I've seen of it.
I'm using SVN 1.4.3 on a Solaris 9 machine (have been using SVN on
this box for some time now), and I use svnserve to handle requests for
our local development team. We've always started the svnserve process
manually in daemon mode.
I checked to see if it was running this morning, and I found that
there were two processes (where normally there was always one). So, I
looked at all the ctsvn's processes (where ctsvn is the account which
owns the repositories)
ctsvn 13863 19688 0 09:03:57 ? 0:00 svnserve -d -r
/ct/ctsvn/repositories
ctsvn 19688 1 0 Jan 30 ? 0:09 svnserve -d -r
/ct/ctsvn/repositories
Re: Will svnserve in daemon mode spawn child processes?
Posted by Ed Hillmann <ed...@gmail.com>.
On 2/20/07, karl.kornel@mindspeed.com <ka...@mindspeed.com> wrote:
> "Ed Hillmann" <ed...@gmail.com> wrote on 02/18/2007 03:43:38 PM:
>
> > <<<snip>>>
> >
> > From what I can tell, process 19688 was what was originally started.
> > And process 13863 was spawned from the original process.
> >
> > Is this OK? Should I kill these off and start again? Or is it normal
> > for svnserve to spawn off child processes.
> >
> > <<<snip>>>
>
> With a quick check of some of svnserve's source code, it appears
> that it can handle all three options: Forking off a process for each
> connection, spinning off a thread for each connection, or remaining
> single-threaded and handling connections on at a time.
Thanks Karl. I'll leave it alone then, and not worry about it. In
fact, now that I look again, it's back down to the one daemon process.
I can go back to letting SVN do its thing (which it has been doing
for us quite nicely :) ).
Thanks again for the insight. I wouldn't have know where to look in the code.
Ed
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Will svnserve in daemon mode spawn child processes?
Posted by ka...@mindspeed.com.
"Ed Hillmann" <ed...@gmail.com> wrote on 02/18/2007 03:43:38 PM:
> <<<snip>>>
>
> From what I can tell, process 19688 was what was originally started.
> And process 13863 was spawned from the original process.
>
> Is this OK? Should I kill these off and start again? Or is it normal
> for svnserve to spawn off child processes.
>
> <<<snip>>>
With a quick check of some of svnserve's source code, it appears
that it can handle all three options: Forking off a process for each
connection, spinning off a thread for each connection, or remaining
single-threaded and handling connections on at a time.
-- A. Karl Kornel, Mindspeed Technologies, Inc.
karl.kornel@mindspeed.com -- (949) 579-3503
"Remember the Rules: Separation & Optimization"
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org