Server HDD storage full

Discussion in 'General' started by abintipl, Jul 28, 2012.

  1. abintipl

    abintipl Member


    I have latest ispconfig3 on Debain Sequeeze on VPS with 5 GB of HDD space.

    I do not have much data on my server but over a period HDD storage is Full.

    Request you to advice, how to clean up HDD( with path), so I can delete unnecessary files from server


  2. rosehosting

    rosehosting Member

    I'm not sure if ISPconfig3 stores some data somewhere, but generally to free up some space you can always clean old log files, remove temporary data in '/tmp' and/or '/var/tmp', clean the cache of your package manager etc...

    Firstly, You need to determine what is taking up your space. You can do this by using the 'du' command line utility or 'ncdu' which is ncurses based version of 'du'.

    for example here's a sample usage of calculating the size of my '/var' directory:

    du -csxh /var/*
    56K     /var/bind
    6.4M    /var/cache
    62M     /var/db
    72K     /var/empty
    68M     /var/lib
    4.0K    /var/lock
    129M    /var/log
    0       /var/mail
    0       /var/named
    112K    /var/run
    13M     /var/spool
    25M     /var/tmp
    319M    /var/www
    620M    total
    hope that helps
  3. abintipl

    abintipl Member



    Thank you for your reply

    mine looks something like this

    [email protected]:~# du -csxh /var/*
    8.0K /var/backup
    3.1M /var/backups
    405M /var/cache
    246M /var/lib
    4.0K /var/local
    12K /var/lock
    58M /var/log
    164K /var/mail
    4.0K /var/opt
    124K /var/run
    760K /var/spool
    4.0K /var/tmp
    1.1M /var/vmail
    640M /var/www
    1.4G total
  4. falko

    falko Super Moderator ISPConfig Developer

    I suggest you first delete old, unneeded web access logs (and maybe also error logs).
  5. pititis

    pititis Member

    You should run:

    I guess your /var/cache/apt/ is full of downloaded packages.

  6. abintipl

    abintipl Member


    Dear Sir,

    Yes, I have freed some HDD space after running apt-get clean

    Further, is it safe to delete from

    /var/log/ispconfig/httpd/, I have few logs in every website folder, some of files are as under;


    Please confirm you I move ahead

    Thank you for your support making me learn more and more about Ispconfig

  7. till

    till Super Moderator Staff Member ISPConfig Developer

    You can delete the .gz log files. They get removed automatically after 30 days anyway.
  8. abintipl

    abintipl Member


    Thank you sir

Share This Page