Arachni / arachni-ui-web

Arachni's Web User Interface.
http://www.arachni-scanner.com/
Other
225 stars 112 forks source link

Global limit and number of scheduled scans #101

Closed themr0c closed 8 years ago

themr0c commented 8 years ago

"Global limit" is defined as "How many active scans to allow at any given time." As a user, i don't expect this limit to be the limit of scheduled scans, but as a limit which will permit the application to start the scheduled scans when a slot becomes available.

Actually, on nighly build, when I set Global limit, then i can't create a new scan, even if it is scheduled for later, when the number of active scans has reached the global limit.

Is my comprehension of "Global limit" erroneous ? or should the creation of new scans not be limited by the limit of active scans ?

Zapotek commented 8 years ago

The scheduler of the current WebUI isn't that advanced, so if the limit has been reached you can't create any new scans.

It's a bit stupid but will be resolved by the replacement which has a pretty awesome scheduler.

Cheers

themr0c commented 8 years ago

I guess it is possible, as a workaround, to unset the global limit when adding a new scan, and then set it up again? (To my understanding the number of scans should be = number of cores of the server, if it's a dedicated server.)

Zapotek commented 8 years ago

The workaround should work. And one scan per core sounds about right, maybe 2 if you use less browser workers, depending on the CPU and RAM of course.