-
Notifications
You must be signed in to change notification settings - Fork 625
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Very slow load of Case Task list in UI in 4.1.2 #1927
Comments
Thanks @DrJohn1 we are going to investigate this but we might need more details from you and the persons that have this same unexpected bahavior. |
Could you share the platform status report, it contains some details that might help |
Platform report of our test instance:
|
I can confirm that. On my System with 14982 Cases it takes arround 30 seconds to load a new page of case list. And the system has high amount resources (much higher then TH3 using the same data). Here some platform data:
|
@DrJohn1 @crackytsi what are the filters and sorts you use on lists that take a lot of time to load? |
I am not using sort/filters; the slowdown happens when loading/viewing a case from the web UI: everything loads fast (Details, Observables, TTPs and Audit Stream) except for the Tasks tab, which takes a long time to appear. |
There is a fix that will be released in 4.1.3 to fix some queries. We will check the tasks related queries as well. |
The issue is related to slow performance for count queries that are also blocking the list as we need the counts to display the pagination. @DrJohn1 can you tell how much time is taken for the tasks list api call? |
Running an api call to get all tasks takes 27 seconds. Using TheHive4py without any sort/query filters, takes also 27 seconds to get all cases ( |
TheHive4py is still using |
Closing this issue as it has been fixed by #1948 |
Request Type
Bug
Work Environment
Problem Description
The CaseTask list in the UI is very slow as the number of cases increase, taking 40 seconds on a server with 4000 cases/12000 tasks.
Example: only 1 open case with 3 waiting tasks, takes >35 seconds to load task list and counter:
Seems to affect 5 calls of the UI:
query?name=task-stats-<ID>
query?name=case-attachments
query?name=case-attachments.count
query?name=case-tasks
query?name=case-tasks.count
The index status reports OK on all, also reindexed them; the case list and audit feed load fast, but the case task lists are slow.
Steps to Reproduce
The text was updated successfully, but these errors were encountered: