Number of svnserve processes keeps increasing
Asked by Bob Huisman:

Hello,

I recently installed the latest version of Fisheye (2.8.1) and am running into an issue with the initial indexing of our (large) repository.

While the index is running, Fisheye sets up a (very!) large number of SVN connections (or really, it starts with about 10 but then keeps increasing with 10 about every 2 seconds). I started the index around 10 minutes ago, the SVN server currently shows it has 1350 open connections, growing steadily.

Is this behaviour to be expected and if yes: how can i limit the number of open connections?

Regards,

Bob


Answers:
author: LeonardoL
body: Hi Bob,

As we discussed previously at support ticket changing from SVNKit to Native Subversion Client helped you solve your issue. So I'm posting the answer here in order to share this with other users.

To change to Native Subversion Client:

<https://confluence.atlassian.com/display/FISHEYE/Native+Subversion+Client>

Cheers,

Leonardo.


author: Randy Bumgardner
body: I'm having the same issues. I followed the instructions for configuring the native svn client, and now I get the following stack trace:

2013-02-13 21:46:43,367 WARN - Problem starting repository  
com.cenqua.fisheye.config.ConfigException: Could not load svn-javahl: java.lang.NoClassDefFoundError-Could not initialize class org.tigris.subversion.javahl.SVNClient  
at com.cenqua.fisheye.svn.util.SvnLoader.onLoaded(SvnLoader.java:56)  
at com.cenqua.fisheye.svn.util.SvnLoader.checkLoaded(SvnLoader.java:27)  
at com.cenqua.fisheye.svn.SvnScmConfig.\<init\>(SvnScmConfig.java:133)  
at com.cenqua.fisheye.config.ConfigUtil.initScmConfig(ConfigUtil.java:77)  
at com.cenqua.fisheye.config.ConfigUtil.createRepositoryConfig(ConfigUtil.java:62)  
at com.cenqua.fisheye.config.DefaultRepositoryManager.createRepositoryConfig(DefaultRepositoryManager.java:252)  
at com.cenqua.fisheye.config.DefaultRepositoryManager.parseRepositoryConfig(DefaultRepositoryManager.java:246)  
at com.cenqua.fisheye.config.DefaultRepositoryManager.runRepository(DefaultRepositoryManager.java:294)  
at com.cenqua.fisheye.config.DefaultRepositoryManager.runRepositories(DefaultRepositoryManager.java:330)  
at com.cenqua.fisheye.config.RootConfig.startRepositories(RootConfig.java:454)  
at com.cenqua.fisheye.ctl.Run.mainImpl(Run.java:251)  
at com.cenqua.fisheye.ctl.Run.main(Run.java:76)  
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)  
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)  
at java.lang.reflect.Method.invoke(Method.java:597)  
at com.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:98)  
at com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:41)  
Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNClient  
at com.cenqua.fisheye.svn.util.SvnLoader.onLoaded(SvnLoader.java:48)  
... 17 more  
2013-02-13 21:46:43,368 WARN - Could not load svn-javahl  
java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNClient  
at com.cenqua.fisheye.svn.util.SvnLoader.onLoaded(SvnLoader.java:48)  
at com.cenqua.fisheye.svn.util.SvnLoader.checkLoaded(SvnLoader.java:27)  
at com.cenqua.fisheye.svn.SvnScmConfig.\<init\>(SvnScmConfig.java:133)  
at com.cenqua.fisheye.config.ConfigUtil.initScmConfig(ConfigUtil.java:77)  
at com.cenqua.fisheye.config.ConfigUtil.createRepositoryConfig(ConfigUtil.java:62)  
at com.cenqua.fisheye.config.DefaultRepositoryManager.createRepositoryConfig(DefaultRepositoryManager.java:252)  
at com.cenqua.fisheye.config.DefaultRepositoryManager.parseRepositoryConfig(DefaultRepositoryManager.java:246)  
at com.cenqua.fisheye.config.DefaultRepositoryManager.runRepository(DefaultRepositoryManager.java:294)  
at com.cenqua.fisheye.config.DefaultRepositoryManager.runRepositories(DefaultRepositoryManager.java:330)  
at com.cenqua.fisheye.config.RootConfig.startRepositories(RootConfig.java:454)  
at com.cenqua.fisheye.ctl.Run.mainImpl(Run.java:251)  
at com.cenqua.fisheye.ctl.Run.main(Run.java:76)  
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)  
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)  
at java.lang.reflect.Method.invoke(Method.java:597)  
at com.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:98)  
at com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:41)

Any help would be appreciated!

Thanks,

-randy