Page 1 of 1

Commit operation remains in linux process list

PostPosted: Fri May 23, 2008 11:18 pm
by boxx3g
VPS Server Preferences (Mediatemple):
Debian Etch 4
Subversion 1.4

Problem:
Each commit operation remains in linux process list. You can see this in attachment:http://www.boxx3g.net/ProcessLinux.jpg

After a while memory will be full and server will crash. This happens with Syncro SVN client but not happens in Tortoise SVN. I think there is a problem with garbage collection in Syncro SVN client.

How can we solve this problem ?

Re: Commit operation remains in linux process list

PostPosted: Mon May 26, 2008 3:38 pm
by sorin
Hello,

I cannot reproduce the list of svnserve processes on the server computer when I connect to it with Syncro SVN Client. I have only one instance of the SVN server running, that is only one svnserve process. Please note that connecting to the SVN server process with any SVN Client application does not start a new SVN server instance. If you have more than one instance of the SVN server process running on your computer then they are not started by a SVN client application.


Regards,
Sorin

Re: Commit operation remains in linux process list

PostPosted: Mon May 26, 2008 4:59 pm
by boxx3g
Hi Sorin,
I am completely sure that each commit operation creates another svn serve instance in all SVN clients.

You can simply try to commit larger file about 4Mb, and watch from linux command screen by typing frequently "ps aux | grep svn". You'll see more than one svn serve instance.

You can be right these instances are created on the server side. But problem is they are not destroyed and cause memory leak.

There are some other svn clients show the same problem, but some are not.

We want to use Syncro SVN client.

I have two questions about the problem:

1- What kind of misconfiguration in the server can cause this ?(Please don't forget to some svn clients are working perfectly)
2- Can be related to JVM version ?

thanks for your advice

Re: Commit operation remains in linux process list

PostPosted: Tue May 27, 2008 8:55 am
by sorin
Hello,

I tried with a file of 10 MB but only one instance of svnserve exists on the Linux server machine before the commit, after I start the commit and after the commit is finished. The commit did not start a second instance of svnserve. It seems a problem of your installation of the SVN server application but it does not seem a JVM problem.


Regards,
Sorin