If you have been using Mingle from a long duration and have big projects, you are likely to come across a issue where you would see yourself running out of disk space for the Mingle swap directory. Reason, whenever a user imports/exports a project in to the Mingle, it stores a copy of the same in the swap directory. As a result Mingle swap directory continues to grow.
To locate these files, please navigate to the [swap_dir]/version_revision/exports and [swap_dir]/version_revision/imports. If you are running Mingle 14.2, you are likely to have to have the following subdirectories in [swap_dir]:
Contents of the directory "14_2_a546cdd":
You can delete the contents of "imports" and "exports".
In addition, the JRuby rack middleware creates temp files called jruby-rack-inputxxx for multipart file uploads. So any files uploaded in Mingle such as a mingle project during file import, attachments or profile images will have a corresponding temp file. These temp files are located at <Mingle_Intallation_Directory>/tmp and aren't deleted once the upload completes. These files can be deleted on a scheduled basis. A good strategy would be to delete files older than an hour or two.