Slow Import speeds #13136
Replies: 2 comments 4 replies
-
Do you mean upload or import speed? What size (number of findings) is the report? What scan type? What version of defect dojo? What type of deployment? What resources allocated to the containers? |
Beta Was this translation helpful? Give feedback.
-
A single Semgrep SARIF report that contains over 12000 findings takes more than one hour to (edit:) import. We are running Open Source defectodojo 2.49.2 in a kubernetes environment; django, celery-worker and postgres nodes are all allocated 2 CPU and 4 GB memory; the others are at default resources allocation defined by the provided helm configuration. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am hoping that someone in the community may have some advice for me to help support a deployment of DefectDojo.
I have installed Defectdojo in an air-gapped environment, and we are using it to collect vulnerability reports run on a variety of software projects, including a large monolithic build, which generates something on the order of 12,000 vulnerabilities in a single semgrep report (mostly medium and low severity). After some tweaking of our services and the timeouts/upload limits, I have been able to upload this report to DefectDojo, however it takes well over an hour to process.
I would like to integrate the defectdojo upload into our build pipelines, however this slow upload speed makes it unreasonable to do so. I have done several steps to improve the performance, specifically, enabling multi-threaded celery event handlers, boosting the memory and cpu allocation for the django and postgres containers on the back end (although we don't have too much headroom to go further), and a few other things over the course of the last several weeks. I'm not sure what else I should look into here.
Has anyone else encountered this kind of performance issue? Does anyone have ideas to improve the speed of processing the upload?
Beta Was this translation helpful? Give feedback.
All reactions