-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
high CPU consumption #1265
Comments
Are you sure that change is the root cause? How did you verify it? |
I am encountering a high CPU utilization issue, as shown in the screenshot attached, with a build from the latest master branch. As suggested by @cmcm951102, I will be investigating the issue and attempting to verify their suggestion as soon as possible |
@cmcm951102 . |
Do you have any evidence for this? |
@shelld3v profile shows that fucntion "process" take most time. |
Yes |
Wasn't what I told you right |
Hello guys, |
Can confirm as soon as I run Dirsearch my CPU spikes and stays over 100% usage until I Kill dirshearch |
Can you please send me your specs?
the more the better |
@maurosoria I think the performance issue with dirsearch is something that exists. We should soon try to debug which part of the process that's consumes the most, and then from there try to optimize it |
From what I see:
This code:
Triggered from:
Does a lot of cycles and "waits" almost nothing, maybe it is worth while to add here a:
So that this doesn't run 37,667,848 of times in 450 seconds
|
Small modification:
With the line added the CPU usage is greatly reduced:
|
What is the current behavior?
commit "296e8162368b4bca8153e2550ec00d91982e0ae7" removed the sleep fucntion in "lib/controller/controller.py"(line 548),
it cause high CPU consumption on my computer, and scan has been very slow.
What is the expected behavior?
low CPU consumption
Any additional information?
none
The text was updated successfully, but these errors were encountered: