Skip to content
Andres Riancho edited this page Dec 26, 2018 · 2 revisions

Poison pill

Grep for messages associated with stop, poison pill, terminate, etc:

ls -t /tmp/*debug*log | head -n1 | xargs egrep -e '(The user stopped the core|Calling terminate|terminate|No more tasks|consumer join|thread was not alive|consumer in_queue|seconds to join|Joining all consumers|Maximum crawl time limit hit|maximum scan time|call to terminate|received the POISON_PILL|User pressed Ctrl|POISON_PILL|has finished|Exception found|_teardown|exception was raised|exception was found|seconds running .*end)' | grep -v get_eta

Connection pool

Grep for messages associated with HTTP connection pool:

egrep -i -e '(There are no connections|connection pool stats|with more in use|Waiting for one|for a connection to be available in the pool|waited too long|MAX_CONN|has been in)' ~/w3af/scan-logs/122-2.log