Uploaded image for project: 'Packager (closed)'
  1. Packager (closed)
  2. MGNLPCK-47

packager uses inappropriate default location for install temp files on linux

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 4.0.8
    • 4.0.5
    • None
    • Linux, Magnolia Enterprise Edition 4.4.5, JBoss 5.1, Java 6

      When installing a package on Linux, by default the /tmp directory is used for temp files. Packages may be quite large and the created temp files are of similar size as these.

      Linux systems often use RAM-backed /tmp filesystems of only a few gigabytes, and the recommendation in Linux is to use /tmp only for small temporary files and to use /var/tmp for large ones. With default settings we have had occasions when /tmp has run out of space for a single install operation (also due to two files being created during install, see MGNLPCK-46).

      It is possible to redirect the /tmp folder in Java by assigning java.io.tmpdir, but this requires explicitly doing this. A better solution would be if Magnolia comes with a better default, and allow this to be overridden with magnolia.properties or similar.

        Acceptance criteria

              rkovarik Roman Kovařík
              mikewse Mike Wilson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: