-
Bug
-
Resolution: Fixed
-
High
-
7.2.0
-
7.02
-
3
-
Severity 1 - Critical
-
11
-
Summary
ProjectRoleActors cache uses expireAfterAccess setting. This means that internal guava cache implementation will maintain recency queue with elements for each read of this cache. This leads to performance problem at large instances as frequently accessed caches might generate more entries to recency queue that can be processed by the system.
Environment
- Large standalone JIRA instance:
- 1M issues
- 1k projects
- 20k+ users and different permission settings for projects
Steps to Reproduce
Generate high load on a page that does a lot of project role actors checks either Browse Projects, Browse Boards or a board with issues from different projects (at least 1000 projects).
Expected Results
The load on the cache does not affect Jira performance.
Actual Results
JIRA very slow and doesn't respond. High number of concurrent running threads, very high load average (100+), incoming http threads busy processing recency queue.
Notes
Thread dump will show large number of threads in this code: Cache - com.google.common.cache.LocalCache.get
42.79% \ at com.google.common.cache.LocalCache.get 42.11% \ at com.google.common.cache.LocalCache$Segment.get 41.88% \ at com.google.common.cache.LocalCache$Segment.recordRead 41.88% \ at java.util.concurrent.ConcurrentLinkedQueue.add 41.88% V at java.util.concurrent.ConcurrentLinkedQueue.offer
Workaround
None known.
- is related to
-
JRASERVER-69446 Removing actor from project role can make Jira unresponsive
- Closed
-
JRASERVER-63006 JIRA becomes unresponsive because of growing recency queue in frequently used CacheReference caches from atlassian-cache
- Closed
-
JRASERVER-66399 Increase number of cache segment for local cache
- Gathering Interest
- relates to
-
JRASERVER-71058 High contention in reading java.lang.ThreadLocal variables due to large number of ThreadLocalMap$Entry elements
- Closed
-
JRASERVER-67807 Increased CPU usage due to contention in docValuesCache
- Closed
-
JSWSERVER-16130 Performance of findRapidViewsByProject degrades with number of Boards
- Closed
-
JRASERVER-67849 Replace Guava cache for frequently accessed caches due to concurrency and memory inefficiency
- Gathering Interest
- duplicates
-
RUM-2125 Loading...
- is blocked by
-
PSR-48 Loading...
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...