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

/var/storage filling up

Any ideas how to unfill the /var/storage partition?

Jon


This thread was automatically locked due to age.
Parents
  • First see what's filling it:

    du -sh /var/storage/*

    Barry
  • Astaro Security Linux
    (C) Copyrights by Astaro and by others 2000-2005.

    NOTE: Any modifications done by root will void your support.
          Please use WebAdmin for any configuration changes.

    loginuser@firewall:/home/login > du -sh /var/storage/*
    32K     /var/storage/alicd-work
    15M     /var/storage/chroot-clam
    37M     /var/storage/chroot-http
    22M     /var/storage/chroot-kav
    35M     /var/storage/chroot-pop3
    du: `/var/storage/chroot-smtp/spool/scan': Permission denied
    1.8G    /var/storage/chroot-smtp
    1.8G    /var/storage/chroot-squid
    20K     /var/storage/chroot-weed
    du: `/var/storage/lost+found': Permission denied
    4.0K    /var/storage/nacctddata
    loginuser@firewall:/home/login >
  • 1.8G /var/storage/chroot-smtp

    Your SMTP proxy is backed up.
    Check to see if it's configured correctly, and try flushing it.

    You could also empty the http proxy if you are out of disk space, as a temporary relief, but the smtp proxy is the real problem.

    Barry
  • Flush it how?

    The configuration seems fine, emails are coming in and out...

    Maybe restart the firewall?
  • [ QUOTE ]
    Flush it how? 

    [/ QUOTE ]

    Flushing the SMTP-Proxy in Webadmin (v6):

    Proxies  ->  Proxy Content Manager

    You can delete old mails 'by hand' or use
    the 'Automatic Cleanup'  feature ..


    Regards,
    Tom
  • There are no entries in the proxy content manager, I empty these regularly.

    Any other ideas?

    Jon
  • Check the filesystem again, and find exactly what is using the space...

    e.g.
    du -sh /var/storage/chroot-smtp/*
    ...
    until you find what's using the space.
    It could be core files, mail queues, ...

    Barry
  • tmp is 2.1G, how on earth do I get rid of it?

    Jon
  • make sure you have a backup of your ASL config first.


    I'd advise emailing support@Astaro.com about this also.
    send them a list of the files in that tmp dir
    (ls -l)

    see if there are any messages in the smtp proxy queue (content manager) you don't want to lose. if so, try to flush them first.
    stop the smtp proxy

    as root (su if you aren't)
    cd to the directory first
    and do
    rm -r *

    re-start the smtp proxy.

    Barry
Reply
  • make sure you have a backup of your ASL config first.


    I'd advise emailing support@Astaro.com about this also.
    send them a list of the files in that tmp dir
    (ls -l)

    see if there are any messages in the smtp proxy queue (content manager) you don't want to lose. if so, try to flush them first.
    stop the smtp proxy

    as root (su if you aren't)
    cd to the directory first
    and do
    rm -r *

    re-start the smtp proxy.

    Barry
Children