Skip to main content
Question

Cleaning up FME Server temp files

  • April 18, 2013
  • 5 replies
  • 218 views

nic_ran
Contributor
Forum|alt.badge.img+16
I have some large processes running on FME Server and they seem to be leaving a lot of files hanging around in the "FME_TEMP" location (Users\\s_fmesrv\\appdata\\local\\temp). Ended up with about 40GB in there in a week, filled up the hard drive, crashed the machine.

 

 

Anyone have a good solution for automatically purging this folder? The solutions on FMEpedia seem to be manual processes geared to Workbench on a desktop...
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

5 replies

Forum|alt.badge.img+4
  • 99 replies
  • April 18, 2013
You could potentially set up a FME Server script to perform this! In FME Server 2012+ there is the Utilities that perform similar functionality, so perhaps open one of them and customise it?

 

 

I'd personally just create a batch script that browses that directory and deletes things over a specific date and then schedule the batch script.

 

 

You could do it programmatically in Python, .NET, Java, etc as well.

 

 

Thus depends on what your preference is.

nic_ran
Contributor
Forum|alt.badge.img+16
  • Author
  • Contributor
  • 218 replies
  • April 22, 2013
Thanks, I'll look at customising the FME Server Utilities workflows.

mark2atsafe
Safer
Forum|alt.badge.img+56
  • Safer
  • 2554 replies
  • May 9, 2013
Hi Nic,

 

I'm not sure if it's the same issue, but I just saw an update to 2013-SP2 that might solve this. The problem was that FME wasn't deleting temporary files created during publishing a workspace from Workbench. It was essentially a permissions thing and this is now fixed.

 

 

Build 13472:

 

Fixed cleanup of temporary files stored during publication from Workbench (PR#44767)

 

 

That might be a different issue - you say your's are created during a translation - but it sure wouldn't help. In our case we found a temp folder on the FME store had - like you - 40gb of unnecessary files.

 

 

Hope this is of use.

 

 

Mark

 

 

Mark Ireland

 

Product Evangelist

 

Safe Software Inc.

nic_ran
Contributor
Forum|alt.badge.img+16
  • Author
  • Contributor
  • 218 replies
  • May 9, 2013
Thanks Mark. I still haven't got around to installing Server 2013, so hopefully SP2 will be officially released by the time I get to it!

runneals
Supporter
Forum|alt.badge.img+27
  • Supporter
  • 321 replies
  • December 28, 2018

This issue still seems to be occurring in 2018. Will be reporting it.