Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

cpanel / WHM directory

Discussion in 'General Discussion' started by liang3391, Jun 22, 2009.

  1. liang3391

    liang3391 Active Member

    Joined:
    Apr 14, 2009
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    56
    Cpanel/WHM host / var directory suddenly take up a lot of disk space, do not understand why? And what settings have cpanel relations?

    root@server01 [/var]# ls
    ./ cpanel/ games/ lost+found/ opt/ racoon/ yp/
    ../ crash/ lib/ mail@ portsentry/ run/
    account/ cvs/ local/ named/ preserve/ spool/
    aquota.user* db/ lock/ net-snmp/ profiles/ tmp/
    cache/ empty/ log/ nis/ quota.user* www/

    root@server01 [/var]# df -ha
    Filesystem Size Used Avail Use% Mounted on
    /dev/sda5 9.7G 378M 8.9G 5% /
    proc 0 0 0 - /proc
    sysfs 0 0 0 - /sys
    devpts 0 0 0 - /dev/pts
    /dev/sda8 996M 34M 911M 4% /tmp
    /dev/sda7 195G 6.0G 179G 4% /home
    /dev/sdb1 227G 188M 215G 1% /backup
    /dev/sda3 9.7G 5.9G 3.4G 64% /usr
    /dev/sda2 9.7G 7.7G 1.6G 84% /var
    /dev/sda1 99M 11M 83M 12% /boot
    tmpfs 2.0G 0 2.0G 0% /dev/shm
    none 0 0 0 - /proc/sys/fs/binfmt_misc
    /tmp 996M 34M 911M 4% /var/tmp


    root@server01 [/var]# ll -al
    total 360
    drwxr-xr-x 28 root root 4096 Aug 5 2008 ./
    drwxr-xr-x 25 root root 4096 May 22 10:51 ../
    drwxr-xr-x 2 root root 4096 Aug 5 2008 account/
    -rwxr--r-- 1 root root 16384 Jun 23 00:03 aquota.user*
    drwxr-xr-x 11 root root 4096 Aug 5 2008 cache/
    drwxr-xr-x 63 root root 4096 Jun 23 10:00 cpanel/
    drwxr-xr-x 2 root root 4096 May 25 2008 crash/
    drwxr-xr-x 2 root root 4096 Mar 17 2007 cvs/
    drwxr-xr-x 3 root root 4096 Aug 5 2008 db/
    drwxr-xr-x 3 root root 4096 Aug 5 2008 empty/
    drwxr-xr-x 2 root root 4096 Mar 30 2007 games/
    drwxr-xr-x 29 root root 4096 Aug 5 2008 lib/
    drwxr-xr-x 2 root root 4096 Mar 30 2007 local/
    drwxrwxr-x 6 root lock 4096 Jun 23 04:03 lock/
    drwxr-xr-x 15 root root 4096 Jun 23 04:03 log/
    drwx------ 2 root root 16384 Aug 5 2008 lost+found/
    lrwxrwxrwx 1 root root 10 Aug 5 2008 mail -> spool/mail/
    drwxr-xr-x 5 root named 4096 Jun 23 09:43 named/
    drwx------ 2 root root 4096 May 22 10:52 net-snmp/
    drwxr-xr-x 2 root root 4096 Mar 30 2007 nis/
    drwxr-xr-x 2 root root 4096 Mar 30 2007 opt/
    drwx------ 2 root root 4096 May 22 10:52 portsentry/
    drwxr-xr-x 2 root root 4096 Mar 30 2007 preserve/
    drwxr-xr-x 3 root root 4096 Aug 5 2008 profiles/
    -rwxr--r-- 1 root root 1024288 Jun 20 00:00 quota.user*
    drwxr-xr-x 2 root root 4096 Aug 27 2008 racoon/
    drwxr-xr-x 24 root root 4096 Jun 23 09:59 run/
    drwxr-xr-x 16 root root 4096 Aug 10 2008 spool/
    drwxrwxrwt 9 root root 118784 Jun 23 10:00 tmp/
    drwxr-xr-x 6 root root 4096 Aug 5 2008 www/
    drwxr-xr-x 3 root root 4096 Aug 5 2008 yp/
     
  2. PlatinumServerM

    PlatinumServerM Well-Known Member
    PartnerNOC

    Joined:
    Jul 10, 2005
    Messages:
    400
    Likes Received:
    3
    Trophy Points:
    168
    Location:
    New Jersey, USA
    cPanel Access Level:
    Root Administrator
    Type:
    du -sh /var/*

    It's probably the logs or mail queue or mysql directory taking up most of the space.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice