Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

When add a comment in Service Desk is very slow

Thierry Guérin June 3, 2020

Hi,

When a comment is added in Service Desk, we wait about 30 seconds to view the comment in the issue.

I don't understand the reason.

This situation exists only for Service Desk (1 project)

Extract atlassian-jira-profiler.log

------------------

2020-06-03 18:45:01,151 | automation-rule-executor:thread-1 | | USER |
[3,4ms] - Lucene Query
[3,0ms] - Lucene Search

2020-06-03 18:45:01,336 | ISSUE-indexQueue:thread-1 | 1116x223x1 | USER | wpr9v
[4,9ms] - Lucene update document

2020-06-03 18:45:15,611 | ajp-nio-8009-exec-10 | 1124x673x1 | USER | 1q62or3
[31765,4ms] - DefaultCommentManager.create
[2,4ms] - Index COMMENT
[2,4ms] - Create comment document
[1,5ms] - CommentVisibilitySearchExtractor.indexEntity()
[4,0ms] - Waiting for indexing result
[43,5ms] - DefaultIssueManager.reIndexIssues
[37,9ms] - DefaultIssueIndexer.perform()
[37,2ms] - Reindex issue(DESK-5242)
[37,1ms] - Create issue document
[26,2ms] - Inject fields from FieldIndexers
[2,9ms] - DevSummaryIssueSearchExtractor.indexEntity()
[7,5ms] - IssuePropertySearchExtractor.indexEntity()
[4,7ms] - Waiting for indexing result
[94,3ms] - Lucene Query
[93,7ms] - Lucene Search
[1,2ms] - Permission Query
[6,2ms] - DefaultSearchService.validateQuery()
[5,6ms] - IssueIdValidator.validate()
[5,5ms] - DefaultIssueManager.getKeysOfMissingIssues()
[5,8ms] - Lucene Query
[5,4ms] - Lucene Search
[1,2ms] - DefaultSearchService.validateQuery()
[1,1ms] - IssueIdValidator.validate()
[12,0ms] [count: 2, avg: 6,0ms] - Lucene Query
[11,2ms] [count: 2, avg: 5,6ms] - Lucene Search
[1,7ms] - DefaultSearchService.validateQuery()
[1,3ms] - IssueIdValidator.validate()
[1,2ms] - DefaultIssueManager.getKeysOfMissingIssues()
[8,7ms] [count: 2, avg: 4,3ms] - Lucene Query
[8,2ms] [count: 2, avg: 4,1ms] - Lucene Search
[55,7ms] - DefaultIssueManager.reIndexIssues
[49,5ms] - DefaultIssueIndexer.perform()
[48,8ms] - Reindex issue(DESK-5242)
[48,7ms] - Create issue document
[28,6ms] - Inject fields from FieldIndexers
[3,1ms] - DevSummaryIssueSearchExtractor.indexEntity()
[16,5ms] - IssuePropertySearchExtractor.indexEntity()
[5,1ms] - Waiting for indexing result
[4,2ms] - Index COMMENT
[4,2ms] - Create comment document
[3,2ms] - CommentVisibilitySearchExtractor.indexEntity()

2020-06-03 18:45:15,997 | ajp-nio-8009-exec-2 | 1125x676x1 | USER | 1q62or3
[283,5ms] - AjaxIssueAction.execute()
[1,6ms] - Calling showPanel for com.atlassian.servicedesk.approvals-plugin:sd-approvals-tabpanel (Display approvals history data)
[2,4ms] - Calling getActions incom.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel (Display issue comments)

2020-06-03 18:51:24,338 | ajp-nio-8009-exec-8 | 1131x688x1 | USER | 1q62or3
[1,3ms] - ViewLogging.execute()

 

------------------

 

Why "DefaultCommentManager.create" take much time ?

2 answers

0 votes
Karpov Ruslan June 30, 2020

For me, the problem was in the Mobile for Jira plugin. When I turned it off, everything began to work fine.

I turned off plugins one at a time until I found a problem.

Check you plugins or, if you use reverse-proxy, that link: https://community.atlassian.com/t5/Jira-Questions/Jira-is-very-Slow-while-using-reverse-proxy-nginx-with-SSL/qaq-p/831886

Thierry Guérin July 2, 2020

I turned off Mobile for Jira (not used) but no effect.

I'm going to try your solution to turn off plugins one at a time.

0 votes
Karpov Ruslan June 30, 2020

@Thierry Guérin, did you find a solution?

Thierry Guérin July 2, 2020

Not yet !

Ben Radlinski
Contributor
August 14, 2024

Did you ever find a solution? we're having the same issue.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events