Deleting Fisheye temporary files

The folder var/tmp (which according to the documentation contains temporary files) has 1.4million files in it, most of which are zero length with a name like svn123456789012345678. Can any or all these be deleted ? I am using FishEye 3.3.1

Some repositories are still being re-indexed, but giving errors which seem to relate to problems naming or saving files.

3 answers

1 accepted

Deleting all the temporary files has resolved the other errors (E135003), and indexing is running a lot more smoothly.

For anyone hitting this now and finding this answers thread, the issue with temporary files sticking around in /var/tmp/svn has been resolved and released. (https://jira.atlassian.com/browse/FE-5162) .

To avoid this problem, please upgrade to version 3.4.4 or above.

Hi Sigge, I'm having this problem with F/C v3.9.  I've done all the workarounds described here, https://jira.atlassian.com/browse/FE-5162.  The workarounds have kickstarted a few repos, but there are still a couple that are stuck indexing 0%.

0 vote

Hi Richard,

Yet it is safe to delete FISHEYE_INST/var/tmp filder, just ensure you stop the server first, delete those files and start it again.

Let us know if the problem persist, no temporary files should be left behind unless there is something wrong with your instance.

By the way you mentioned errors relating to problems with file naming or saving those files. Could you attach those errors please? Full stack traces should be reported in the log files located in FISHEYE_INST/var/log

Kind regards,
Piotr

I have attached 2 extracts from the FishEye log file. One relating to error "E135003 Could not save file", and one relating to error "E135003: Unable to make name for 'D:\FISHEYE_Data\var\tmp\svn'" Note: I tried to upload the log file, but cannot see that it worked, so I have pasted the extracts into separate comments.

2014-04-02 00:20:12,904 ERROR [InitPing2 DWS DWS] fisheye BaseRepositoryScanner-handleSlurpException - Problem processing revisions from repo DWS due to class com.cenqua.fisheye.rep.RepositoryClientException - org.apache.subversion.javahl.ClientException: svn: E135003: Unable to make name for 'D:\FISHEYE_Data\var\tmp\svn'
com.cenqua.fisheye.rep.RepositoryClientException: org.apache.subversion.javahl.ClientException: svn: E135003: Unable to make name for 'D:\FISHEYE_Data\var\tmp\svn'
at com.cenqua.fisheye.svn.SvnThrottledClient.executeNoThrottle(SvnThrottledClient.java:176)
at com.cenqua.fisheye.svn.SvnThrottledClient.execute(SvnThrottledClient.java:145)
at com.cenqua.fisheye.svn.SvnThrottledClient.diff(SvnThrottledClient.java:201)
at com.atlassian.fisheye.svn.Svn2Infill2Processor.processDiffPaths(Svn2Infill2Processor.java:739)
...
Caused by: org.apache.subversion.javahl.ClientException: svn: E135003: Unable to make name for 'D:\FISHEYE_Data\var\tmp\svn'
at org.apache.subversion.javahl.ClientException.fromException(ClientException.java:68)
at org.tmatesoft.svn.core.javahl17.SVNClientImpl.getClientException(SVNClientImpl.java:1294)
...
Caused by: org.tmatesoft.svn.core.SVNException: svn: E135003: Unable to make name for 'D:\FISHEYE_Data\var\tmp\svn'
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)
...
Caused by: org.tmatesoft.svn.core.SVNException: svn: E135003: Unable to make name for 'D:\FISHEYE_Data\var\tmp\svn'
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)
at org.tmatesoft.svn.core.internal.wc.SVNFileUtil.createUniqueFile(SVNFileUtil.java:544)

2014-04-02 09:03:42,494 ERROR [InitPing1 DimensionsWeb DimensionsWeb] fisheye BaseRepositoryScanner-handleSlurpException - Problem processing revisions from repo DimensionsWeb due to class com.cenqua.fisheye.rep.RepositoryClientException - org.apache.subversion.javahl.ClientException: svn: E135003: Could not save file
com.cenqua.fisheye.rep.RepositoryClientException: org.apache.subversion.javahl.ClientException: svn: E135003: Could not save file
at com.cenqua.fisheye.svn.SvnThrottledClient.executeNoThrottle(SvnThrottledClient.java:176)
at com.cenqua.fisheye.svn.SvnThrottledClient.execute(SvnThrottledClient.java:145)
at com.cenqua.fisheye.svn.SvnThrottledClient.diff(SvnThrottledClient.java:201)
...
Caused by: org.apache.subversion.javahl.ClientException: svn: E135003: Could not save file
at org.apache.subversion.javahl.ClientException.fromException(ClientException.java:68)
at org.tmatesoft.svn.core.javahl17.SVNClientImpl.getClientException(SVNClientImpl.java:1294)
...
Caused by: org.tmatesoft.svn.core.SVNException: svn: E135003: Could not save file
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:755)

Hi Richard,

Have you tried to apply Piotr's tip? var/tmp folder should be recreated on startup with permissions of user who runs Fisheye.

If it doesn't help please try approach suggested in http://stackoverflow.com/a/5572813

BTW: which Fisheye version are you using?

Cheers,

Czarek

Anyone run into a problem getting files to delete from ..\Fisheye_Inst\var\tmp because there's too many of them? Even from DOS command line?

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Marketplace Apps

Tips on how to choose the best estimation method for your planning

Planning and grooming sessions all come with their own sets of rules. Team members meet to estimate stories or other work items, all according to an agreed-upon process. And with every session comes ...

65 views 0 11
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you