Workload exhausted
Hi,
I have a problem with Arachni when I scan an application, here the log file :
[Thu Dec 14 13:35:43 2017] [status] Got control verification response for cookie variable 'MY_COOKIE' with action 'https://domain/connexion/XUI/libs/requirejs-2.1.14-min.js'.
[Thu Dec 14 13:35:43 2017] [status] Got control verification response for cookie variable 'varl' with action 'https://domain/connexion/XUI/libs/requirejs-2.1.14-min.js'.
[Thu Dec 14 13:35:44 2017] [line]
[Thu Dec 14 13:35:44 2017] [status] Workload exhausted, waiting for new pages from the browser-cluster...
[Thu Dec 14 13:35:44 2017] [info] Pending jobs: 12789
After the scan reach this, the status is always "status=scanning and busy=true" but stuck for more than 2 hours and never resume it. For information, the scan started at 9am and was stuck at 1pm, manually shutdown at 3pm.
I don't know if this will help you but the javascript file mentionned as attach file.
Best regards,
- requirejs-2.1.14-min.js 14.9 KB
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Tasos Laskos on 19 Dec, 2017 04:17 PM
Do the "Pending jobs" keep going down or is it just stuck there?
2 Posted by Malween Le Goff... on 20 Dec, 2017 09:00 AM
Arachni seems stuck when the "Pending jobs" state is reached. When I request the Arachni REST server with summary order, the job is : scanning and busy true. But on the log file (arachni_path/system/logs/framework no activity after the Workload exhausted entry.
Regards,
3 Posted by Malween Le Goff... on 21 Dec, 2017 08:40 AM
Hi,
I did more tests on the targeted application to try to understand where the problem is coming from. The last test carried out had a very light profile with only a few checks. The analysis still stopped (stucked) after a few hours of operation. On the profile I did however exclude the javascript file indicated above, it does not seem to be the root cause of the problem. Here are the last lines of the analysis log:
However, the summary analysis is still active (active and busy).
I also made a call to the REST API to delete the scan, and the log on the REST API side indicated the following information:
Is it normal that the error indicating that the cluster is already shut down while the scan is supposed to be still active ?I hope this can help move forward on the issue.
Best regards,
4 Posted by Malween Le Goff... on 01 Mar, 2018 10:04 AM
Hi,
Some news about the scan of the target which end with a "workload exhausted" message (and an infinite loop). After a certain amount of tests I found out that the option called "Audit UI forms" in "Audit" section causes this error/infinite loop (Worlkload exhaustive message). Without this option, the analysis of the target ends correctly after few hours.
Can you explain what exactly do this option and if you have an idea of why this option causes an this infinite loop ?
Best regards,
Support Staff 5 Posted by Tasos Laskos on 26 Mar, 2018 08:03 AM
That option basically turns all orphan page inputs (like textareas and selects that don't belong to a specific form) and submit buttons into virtual-forms, sort of.
So if there are a lot of those, the scan can take a long time, although I don't know about inf loops, there are limits to basically every procedure that could cause one, but bugs are unavoidable as well.
About the error, this:
Means that the scan wasn't actually active, you deleted it, i.e. shut it down, so pending jobs were rejected by the cluster.
The error looks scary but nothing went wrong, although catching this post-shutdown case prior to it getting to the point where the system thinks it's in error is something I need to do.
Cheers