Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Deleting Fisheye temporary files

Richard Lawn April 1, 2014

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

0 votes
Answer accepted
Richard Lawn April 3, 2014

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

1 vote
sbirgisson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 19, 2014

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.

Scott Cowan May 13, 2016

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 votes
Piotr Swiecicki
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 2, 2014

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

Richard Lawn April 2, 2014

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.

Richard Lawn April 2, 2014

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)

Richard Lawn April 2, 2014

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)

Cezary Zawadka
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 2, 2014

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

Tini Good
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 15, 2014

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
TAGS
AUG Leaders

Atlassian Community Events