5 Replies Latest reply on May 29, 2014 11:43 AM by opotoc_1

    Temp folder is not cleaned up in serverscript, system drive may overflow

    opotoc_1

      Summary

      Temp folder is not cleaned up in serverscript, system drive may overflow

      Product

      FileMaker Server

      Version

      12.02

      Operating system version

      Mac OS 10.7, 10.6

      Description of the issue

      Files downloaded to temp folder within server script are not removed after script has finished.
      This may lead to that the system drive may overflow.

      See my problem here
      http://fmforums.com/forum/topic/87387-server-not-clearing-tmp-cache-after-server-script-execution-bug/
      seems to be the same issue but on Windows
      https://fmdev.filemaker.com/message/108470#108470

      Steps to reproduce the problem

      Download 1500+ files to tmp folder with server script.
      It doesn't matter if the download is via a plugin like ScriptMaster of if it's a download via FileMaker to a global field (with save to tmp).

      Expected result

      The tmp folder for the server script should be deleted after the script has finished

      Actual result

      the folder (randomly) remains with a (random) number of files left in there.

      Configuration information

      Server ADV 12.02, MAC OS 10.7.3/5, MAC OS 10.6.8

      Workaround

      delete files after usage but this sucks also a lot of FMTEMPFM....outtemp
      Restart server, to have tmp cache removed completely.