This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Data disk is filling up

I am having an ongoing problem with the data disk filling up.  I already cleaned out the core directory, but this only provided a temporary solution.

The log partition is at 8% out of 36.3GB, but the data partition is using 78% out of 27.7GB.

This is how the installer partitioned the system.

What can I do to reduce usage in the data partition?  More importantly, why is it growing?

Thanks!


This thread was automatically locked due to age.
  • I browsed through some related posts and it appears that the latest version simply uses more hard disk space.  Is that a correct assessment?

    Thanks!
  • jstraten - What version of UTM are you using?  9.0x or the 9.1 Beta?

    From what I understand, the Beta's SQL logging has been changed which uses a lot of extra space on the Data partition.  If you're using 9.0x you shouldn't be having issues.  I recently switched to a 160GB HDD (because of the impending 9.1 change) but prior I was running 9.0 just fine on a 16GB SSD.
  • If you need more help, please run the follow commands and tell us which directory is a problem:

    # cd /var/storage
    # du -sh *


    Cheers - Bob
  • I am on 9.0x.

    I did run the command listed in Bob's post, but I am offsite right now and so I won't be able to post the results before tonight.

    If I remember correctly the SQL log directory is the biggest directory.
  • If I remember correctly the SQL log directory is the biggest directory. 

    Do you see any "table" errors in the System Messages log file?  That indicates a broken PostgreSQL database, and, if you have a paid license, you should ask your reseller to have Sophos Support fix it.

    Cheers - Bob
  • Ok. Here are the results for du -sh *:


    agent = 16K
    chroot-clientlessvpn = 149M
    chroot-ftp = 3.9M
    chroot-http = 19G
    chroot-pop3 = 15M
    chroot-reverseproxy = 26M
    chroot-smtp = 33M
    cores = 4K
    lost+found = 16K


    I guess I was wrong.  The largest directory is the http directory and 19G are used by the httpcache.  That seems to be pretty large.  Is there anything I can do to lower that?

    No, we only use a home license version to protect our home...

    Thanks!
  • You can go to Web Protection-->Web Filtering-->Advanced and scroll to the bottom and click clear cache. This will remove it. I would do that then monitor it to see if it fills up quickly again
  • Thanks sfurey!

    That solved it.  My data disk usage is down to 10% again!

    Shouldn't the cache be clearing itself over time?
  • i have the same problem for quite some time, running 8.309 and clearing the cache ddn't change anything.
    this is the result:

    astaro:/var/storage # du -sh *
    16K     agent
    du: cannot access `chroot-ftp/proc/17391': No such file or directory
    du: cannot access `chroot-ftp/proc/17394': No such file or directory
    du: cannot access `chroot-ftp/proc/17395/task/17395/fd/4': No such file or directory
    du: cannot access `chroot-ftp/proc/17395/task/17395/fdinfo/4': No such file or directory
    du: cannot access `chroot-ftp/proc/17395/fd/4': No such file or directory
    du: cannot access `chroot-ftp/proc/17395/fdinfo/4': No such file or directory
    3.9M    chroot-ftp
    du: cannot access `chroot-http/proc/17395/task/17395/fd/4': No such file or directory
    du: cannot access `chroot-http/proc/17395/task/17395/fdinfo/4': No such file or directory
    du: cannot access `chroot-http/proc/17395/fd/4': No such file or directory
    du: cannot access `chroot-http/proc/17395/fdinfo/4': No such file or directory
    245M    chroot-http
    du: cannot access `chroot-pop3/proc/17395/task/17395/fd/4': No such file or directory
    du: cannot access `chroot-pop3/proc/17395/task/17395/fdinfo/4': No such file or directory
    du: cannot access `chroot-pop3/proc/17395/fd/4': No such file or directory
    du: cannot access `chroot-pop3/proc/17395/fdinfo/4': No such file or directory
    17M     chroot-pop3
    31M     chroot-reverseproxy
    du: cannot access `chroot-smtp/proc/17395/task/17395/fd/4': No such file or directory
    du: cannot access `chroot-smtp/proc/17395/task/17395/fdinfo/4': No such file or directory
    du: cannot access `chroot-smtp/proc/17395/fd/4': No such file or directory
    du: cannot access `chroot-smtp/proc/17395/fdinfo/4': No such file or directory
    35M     chroot-smtp
    7.2G    cores
    16K     lost+found
    188M    pgsql


    i see that my problem is the cores directory, how do i clean that?
  • Google on site:astaro.org delete cores - I know there are instructions posted in the last year.

    Cheers - Bob