You are here: Web User Interface > Using the Interface > System Cleanup > Configuring System Cleanup Settings

Configuring System Cleanup Settings

On the Advanced Settings tab of the System Cleanup page, you can adjust cleanup settings in the following ways:

  • Changing the frequency of system cleanup tasks.
  • Configuring Default Cleanup and Aggressive Cleanup events.

Changing the Frequency of System Cleanup Tasks

By default, all maintenance tasks on the Resources and Job History tabs run once per day. To change this frequency:

  1. Update the Task Interval fields, under "Normal Conditions".
  2. Click Save Settings.

Configuring Default Cleanup and Aggressive Cleanup Events

When the system's free disk space reaches specified minimum levels, FME Server executes the following types of cleanup events:

  • Default Cleanup: All enabled cleanup tasks on the Resources and Job History tabs execute, regardless of the Task Interval setting.
  • Aggressive Cleanup: All enabled cleanup tasks on the Resources and Job History tabs execute, disregarding the Remove Files/Job History Older Than setting. In other words, all files specified by each cleanup task are removed, regardless of their age.

To configure when FME Server undertakes a Default Cleanup or Aggressive Cleanup event:

  1. Configure how often you want FME Server to check free disk space for triggering a cleanup. By default, FME Server checks every 5 minutes. To change this frequency, update the Watch Interval fields, under "Low Disk Conditions". Alternatively, to disable checking, specify 0. Setting to 0 effectively turns off Default Cleanup and Aggressive Cleanup events.
  2. Under "Default Cleanup" and/or "Aggressive Cleanup", configure the minimum disk space requirements for allowing cleanup events, as follows:
    • Disk (%): The minimum free disk space size, in percentage.
    • And/Or: If AND, the detected minimum Disk (%) AND Disk Space (GB) must both be less than the specified values to allow a cleanup event. If OR, either the detected minimum Disk (%) OR Disk Space (GB) must be less than the specified values to allow a cleanup event.
    • Disk Space (GB): The minimum free disk space size, in gigabytes.
    • Topic to Notify: The Notification Service topic to receive messages about cleanup events. Although this field is optional, there is no way to receive messages when cleanup events occur, unless you specify a topic, and then configure a Notification Service Subscription to receive the message. Most likely, you will configure an Email Subscriber; however, protocols for other Subscribers are available.
    • Select from an existing topic, or click to create and use a new topic.

      For the JSON template of the notification, see Notification Schema (below).

  3. Click Save Settings.

Notification Schema

If Topic to Notify is specified under "Default Cleanup" or "Aggressive Cleanup", a notification is delivered to the specified topic containing the following JSON-formatted message:

{

"msg": "<default_or_aggressive_level_message>",

"detectedFreeGB": "<free_disk_space_in_gigabytes_detected>",

"detectedFreePCT": <free_disk_space_percentage_detected>",

"minFreeGB": <minimum_free_disk_space_in_gigabyte_default_or_aggressive_criteria>",

"minFreePCT": <minimum_free_disk_space_percentage_default_or_aggressive_criteria>",

"drive": <Source_drive_path_checked>",

}