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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

0 votes
Answer 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 votes

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
TAGS
Community showcase
Published in Jira

Admins, notify your Jira instance of system-wide changes with the new admin announcement banner

Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across Jira Cloud instance.   📢 Get y...

22 views 0 2
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you