Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-21854

Temporary images created by jfreechart are not cleaned up

      None of our JIRA instances are cleaning up the temporary images created by jfreechart. The tomcat/temp directory of jira.atlassian.com had 350,000 files, for example.

      The files look like:

      -rw-r--r--  1 j2ee_jira.atlassian.com j2ee_jira.atlassian.com  11646 Jul 25 14:17 jfreechart-onetime-949352571854230169.png
      -rw-r--r--  1 j2ee_jira.atlassian.com j2ee_jira.atlassian.com  11952 Jul 25 12:39 jfreechart-onetime-957538706595968267.png
      -rw-r--r--  1 j2ee_jira.atlassian.com j2ee_jira.atlassian.com  11757 Jul 25 04:01 jfreechart-onetime-963208896751366693.png
      -rw-r--r--  1 j2ee_jira.atlassian.com j2ee_jira.atlassian.com  11674 Jul 25 16:13 jfreechart-onetime-969684489244123410.png
      -rw-r--r--  1 j2ee_jira.atlassian.com j2ee_jira.atlassian.com  11646 Jul 25 14:41 jfreechart-onetime-971540390290389047.png
      -rw-r--r--  1 j2ee_jira.atlassian.com j2ee_jira.atlassian.com   9370 Jul 24 23:57 jfreechart-onetime-974789924774468593.png
      -rw-r--r--  1 j2ee_jira.atlassian.com j2ee_jira.atlassian.com   9321 Jul 25 01:05 jfreechart-onetime-977625683314475437.png
      -rw-r--r--  1 j2ee_jira.atlassian.com j2ee_jira.atlassian.com   8245 Jul 25 01:50 jfreechart-onetime-985842978856772519.png
      -rw-r--r--  1 j2ee_jira.atlassian.com j2ee_jira.atlassian.com   9321 Jul 25 00:07 jfreechart-onetime-986348626327708513.png
      -rw-r--r--  1 j2ee_jira.atlassian.com j2ee_jira.atlassian.com  11674 Jul 25 18:31 jfreechart-onetime-988462419623200103.png
      -rw-r--r--  1 j2ee_jira.atlassian.com j2ee_jira.atlassian.com  11674 Jul 25 18:19 jfreechart-onetime-993845373684162071.png
      -rw-r--r--  1 j2ee_jira.atlassian.com j2ee_jira.atlassian.com  11779 Jul 25 10:31 jfreechart-onetime-999941953045481311.png
      

      This is a major problem as it's quite possible that a highly utilised server (like JAC or SAC) can die due to lack of disk space.

            [JRASERVER-21854] Temporary images created by jfreechart are not cleaned up

            Rachel Robins made changes -
            Remote Link Original: This issue links to "Page (Atlassian Documentation)" [ 102342 ]
            Bugfix Automation Bot made changes -
            Minimum Version New: 4.01
            Owen made changes -
            Component/s New: Dashboard & Gadgets [ 43416 ]
            Owen made changes -
            Component/s Original: Dashboards & Reports - Gadgets [ 12923 ]
            Owen made changes -
            Component/s Original: Dashboards & Reports - Gadgets [ 12923 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2845646 ] New: JAC Bug Workflow v3 [ 2913120 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v7 - Restricted [ 2585515 ] New: JAC Bug Workflow v2 [ 2845646 ]
            Ignat (Inactive) made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v6 - Restricted [ 1543055 ] New: JIRA Bug Workflow w Kanban v7 - Restricted [ 2585515 ]
            Confluence Escalation Bot (Inactive) made changes -
            Labels Original: atlassian-it jirastudio st10 triaged New: affects-server atlassian-it jirastudio st10 triaged
            Owen made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v6 [ 680111 ] New: JIRA Bug Workflow w Kanban v6 - Restricted [ 1543055 ]

              ohernandez@atlassian.com Oswaldo Hernandez (Inactive)
              pkorathota Pramod Korathota (Inactive)
              Affected customers:
              18 This affects my team
              Watchers:
              29 Start watching this issue

                Created:
                Updated:
                Resolved: