We couldn't load all Actvitity tabs. Refresh the page to try again.
If the problem persists, contact your Jira admin.
IMPORTANT: JAC is a Public system and anyone on the internet will be able to view the data in the created JAC tickets. Please don’t include Customer or Sensitive data in the JAC ticket.
Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-69115

Web resource cache doesn't recover properly when it's temporary files are deleted

      Issue Summary

      Jira uses files to cache web resources compiled in runtime (less->css, etc).
      These files are stored in $JIRA_HOME/tmp/webresources.

      When one of these files is deleted/disappears during application uptime, cache file is not being restored and web resource manager triggers compilation for each request to that resource.

      That faulty situation results in a very high CPU load/usage.

      Environment

      Steps to Reproduce

      1. Remove one/many files from $JIRA_HOME/tmp/webresources
      2. Observe load average and CPU usage

      Expected Results

      • missing cache file is properly detected,
      • recompilation happens only once,
      • cache file is being restored
      • no significant spike on load average / CPU usage is observed (apart from that single compilation event)

      Actual Results

      • resource files are recompiled for each request
      • significant load average / CPU usage is observed

      Workaround

      Restarting an instance is currently the only known workaround for the issue

            Loading...
            IMPORTANT: JAC is a Public system and anyone on the internet will be able to view the data in the created JAC tickets. Please don’t include Customer or Sensitive data in the JAC ticket.
            Uploaded image for project: 'Jira Data Center'
            1. Jira Data Center
            2. JRASERVER-69115

            Web resource cache doesn't recover properly when it's temporary files are deleted

                Issue Summary

                Jira uses files to cache web resources compiled in runtime (less->css, etc).
                These files are stored in $JIRA_HOME/tmp/webresources.

                When one of these files is deleted/disappears during application uptime, cache file is not being restored and web resource manager triggers compilation for each request to that resource.

                That faulty situation results in a very high CPU load/usage.

                Environment

                Steps to Reproduce

                1. Remove one/many files from $JIRA_HOME/tmp/webresources
                2. Observe load average and CPU usage

                Expected Results

                • missing cache file is properly detected,
                • recompilation happens only once,
                • cache file is being restored
                • no significant spike on load average / CPU usage is observed (apart from that single compilation event)

                Actual Results

                • resource files are recompiled for each request
                • significant load average / CPU usage is observed

                Workaround

                Restarting an instance is currently the only known workaround for the issue

                        Unassigned Unassigned
                        tzwierzchowski Tomasz Zwierzchowski
                        Votes:
                        17 Vote for this issue
                        Watchers:
                        41 Start watching this issue

                          Created:
                          Updated:
                          Resolved:

                            Unassigned Unassigned
                            tzwierzchowski Tomasz Zwierzchowski
                            Affected customers:
                            17 This affects my team
                            Watchers:
                            41 Start watching this issue

                              Created:
                              Updated:
                              Resolved: