Hard disk space exhausted

Thomas R's Avatar

Thomas R

07 Jan, 2014 01:52 PM

Hi Tasos,

first of all: happy new year to you!

During my x-mas vacation, unfortunately a scheduled job ran until disk space got exhausted. Is there a way to get rid of the old scans/scan data?
Currently, arachni tells me that "We're sorry, but something went wrong." when logging in.

Cheers
Thomas

  1. Support Staff 1 Posted by Tasos Laskos on 07 Jan, 2014 01:59 PM

    Tasos Laskos's Avatar

    Hey Thomas,

    Happy new year to you as well.

    This is a strange one, so I've got a few questions:

    1. How much disk space does the machine have?
    2. Was the scheduled scan a recurring one?
    3. What does ls -lah /tmp/ say?
    4. What does ls -lah system/arachni-ui-web/db/ say?

    Cheers

  2. 2 Posted by Thomas on 20 Jan, 2014 09:49 AM

    Thomas's Avatar

    Hi Tasos,

    sorry for keeping you waiting, but I spent some days sick in bed and meanwhile a pile of work grew on my desk o.O

    To answer your questions:
    1. The particular volume has 2.8 GB
    2. Yes, it was a recurring one
    3. ls -lah /tmp

    drwxrwxrwt  2 root root 4,0K Okt 31 11:16 .ICE-unix
    drwx------  2 root root 4,0K Okt 31 11:16 vmware-root
    drwxrwxrwt  2 root root 4,0K Okt 31 11:16 .X11-unix
    
    4. ls -lah system/arachni-ui-web/db/
    drwxrwxr-x  2 root root 4,0K Nov 27 16:19 migrate
    -rw-r--r--  1 root root  21M Dez 13 10:52 production.sqlite3
    -rw-r--r--  1 root root 2,9M Nov 27 16:19 production.sqlite3.bak
    -rw-rw-r--  1 root root 8,1K Nov 23 18:49 schema.rb
    -rw-rw-r--  1 root root 2,7K Nov 23 18:49 seeds.rb
    

    production.log grew up to a size of 1.5 GB:
    ls -lah system/logs/webui

    -rw-rw-r-- 1 root root 1,5G Jan  7 14:46 production.log
    

    Cheers,
    Thomas

  3. Support Staff 3 Posted by Tasos Laskos on 20 Jan, 2014 11:36 AM

    Tasos Laskos's Avatar

    No problem man, glad you're feeling better.

    As you've already realized, it's the production.log file that's causing the issue. Delete it and you should be fine but keep an eye out for it because eventually it'll grow in size yet again.

    Cheers

  4. Tasos Laskos closed this discussion on 20 Jan, 2014 11:36 AM.

  5. Thomas re-opened this discussion on 20 Jan, 2014 12:35 PM

  6. 4 Posted by Thomas on 20 Jan, 2014 12:35 PM

    Thomas's Avatar

    Thanks!

    Yes! Truncating production.log did the trick! Thanks man!

    Cheers and have a great day!

  7. Tasos Laskos closed this discussion on 20 Jan, 2014 05:54 PM.

Comments are currently closed for this discussion. You can start a new one.

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