You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using TheHive with arround 8000 Cases is extremly slow.
So for example chaning the case-page takes arround 10 seconds.
From user-experience time thats unacceptable.
It seems that, even basic icons aren't loaded "in-time" so maybe the ability to handle multiple http requests is somehow limited.
Strange is also that the log-file shows a very short time to provide (took <10 ms) but chrome developer times say it takes 10 seconds (!) to download the page e.g <host:http port>/api/v1/query?name=cases.count
Steps to Reproduce
Install TheHive
Generate 8000 Cases with different Observables (arround 10 per Case)
2020-10-01 14:10:36,688 [INFO] from org.thp.scalligraph.AccessLogFilter in application-akka.actor.default-dispatcher-18 [0000057d|] 10.32.30.26 GET /api/status took 1ms and returned 200 284 bytes
2020-10-01 14:10:38,498 [INFO] from org.thp.scalligraph.AccessLogFilter in application-akka.actor.default-dispatcher-18 [0000057a|] 10.32.30.26 GET /api/stream/nAc1seHC8ceChcUCqIVh took 60021ms and returned 200 2 bytes
2020-10-01 14:11:20,834 [INFO] from org.thp.scalligraph.AccessLogFilter in application-akka.actor.default-dispatcher-18 [0000057f|] 10.32.30.26 GET /api/status took 4ms and returned 200 284 bytes
2020-10-01 14:11:31,828 [INFO] from org.thp.scalligraph.AccessLogFilter in application-akka.actor.default-dispatcher-34 [00000580|] 10.32.30.26 GET /api/status took 1ms and returned 200 284 bytes
2020-10-01 14:11:36,690 [INFO] from org.thp.scalligraph.AccessLogFilter in application-akka.actor.default-dispatcher-15 [00000581|] 10.32.30.26 GET /api/status took 1ms and returned 200 284 bytes
2020-10-01 14:11:38,578 [INFO] from org.thp.scalligraph.AccessLogFilter in application-akka.actor.default-dispatcher-5 [0000057e|] 10.32.30.26 GET /api/stream/nAc1seHC8ceChcUCqIVh took 60020ms and returned 200 2 bytes
2020-10-01 14:12:20,818 [INFO] from org.thp.scalligraph.AccessLogFilter in application-akka.actor.default-dispatcher-15 [00000583|] 10.32.30.26 GET /api/status took 8ms and returned 200 284 bytes
2020-10-01 14:12:31,829 [INFO] from org.thp.scalligraph.AccessLogFilter in application-akka.actor.default-dispatcher-19 [00000584|] 10.32.30.26 GET /api/status took 4ms and returned 200 284 bytes
2020-10-01 14:12:36,712 [INFO] from org.thp.scalligraph.AccessLogFilter in application-akka.actor.default-dispatcher-18 [00000585|] 10.32.30.26 GET /api/status took 6ms and returned 200 284 bytes
2020-10-01 14:12:38,648 [INFO] from org.thp.scalligraph.AccessLogFilter in application-akka.actor.default-dispatcher-19 [00000582|] 10.32.30.26 GET /api/stream/nAc1seHC8ceChcUCqIVh took 60018ms and returned 200 2 bytes
The text was updated successfully, but these errors were encountered:
I also observed this, with less than 100 cases. We were able to restart the machine to fix it, as the machine had been running for a week. I'll try and hunt down some better specs on what happened.
Edit: I do remember the process running at "460% CPU Usage" or something ridiculous, I'm betting there's some memory leakage in the JVM
Edit2: We had 8 cores, 32 GB RAM, and 300 GB of hard disk
Request Type
Bug
Work Environment
Problem Description
Using TheHive with arround 8000 Cases is extremly slow.
So for example chaning the case-page takes arround 10 seconds.
From user-experience time thats unacceptable.
It seems that, even basic icons aren't loaded "in-time" so maybe the ability to handle multiple http requests is somehow limited.
Strange is also that the log-file shows a very short time to provide (took <10 ms) but chrome developer times say it takes 10 seconds (!) to download the page e.g <host:http port>/api/v1/query?name=cases.count
Steps to Reproduce
From application.log
The text was updated successfully, but these errors were encountered: