iamfromit / skipfish

skipfish
Apache License 2.0
0 stars 0 forks source link

Out of memory after 5 days working. #171

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

First of all I'd like to congratule you for this great tool.

Issue: 

After 5 days working skipfish crashed without saving any results. It would be 
great if skipfish could save the results while executing.

[-] PROGRAM ABORT : Out of memory: can't allocate 400001 bytes
    Stop location : __DFL_ck_alloc(), src/alloc-inl.h:88
Aborted

Original issue reported on code.google.com by ertul...@gmail.com on 4 Feb 2013 at 9:00

GoogleCodeExporter commented 8 years ago
Ai this is painful, especially after 5 days.

You can use the --flush-to-disk option. During the scan, skipfish will then 
write responses to disk which will prevent you from running out of memory.

However, please make sure you have the space on the disk ;-)

High memory consumption (or disk with the flag) is influenced by two factors: 
URLs and detected issues.  You probably want to keep an eye on the last one and 
cancel a scan when during the first seconds, the issue counter is increasing 
quickly.

Cheers,
Niels 

Original comment by niels.he...@gmail.com on 4 Feb 2013 at 4:42