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

Re: svnserve threads

From: Jeremy Pereira <jeremyp_at_jeremyp.net>
Date: 2007-10-16 17:22:04 CEST

On 12 Oct 2007, at 16:58, JfK Viper wrote:

> Hi,
> I see that when I run svnserve in demon mode using svnserve -d -
> r , and do ps -ef | grep svnserve , it shows numerous processess/
> threads related to this svnserve.
>
>
> I see that there is one parent process and numerous processess/
> threads generated to help client access the server. I want my
> server to be clean and just want to see only the parent PID and not
> others.
>

You can clean up your output of ps with the following:

ps -ef | grep svnserve | head -1

Except in a few edge cases that will probably give you the parent
process. :-)

Other than that, I don't understand why you're bothered about it.
The fork model is the traditional Unix Way and many daemon processes
use it. You can make your ps -ef output ultra clean if you boot the
server in single user mode, but that doesn't mean you should do it.

> How do i do that? I see some options like using -T but i was
> wondering why is it not default? Will it impact performance ? Are
> there any other solutions to it ?

That depends on the implementation of threads. On Windows, using
threads makes quite a big difference because spawning new processes
is quite expensive. I couldn't tell you about Solaris but I would
guess a small performance improvement with using threads.

>
>
> Specs: Solaris 10, 64 bit, Subversion 1.4.3.
>
> Thanks in advance for your help.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Oct 16 17:23:16 2007

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.