Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Apr 2009
    Posts
    36

    Default cpanel / WHM directory

    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. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jul 2005
    Location
    New Jersey, USA
    Posts
    397

    Default

    Type:
    du -sh /var/*

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

Similar Threads & Tags
Similar threads

  1. Directory Alias in WHM or Cpanel
    By redfoxmedia in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-22-2010, 08:55 AM
  2. WHM account - the root directory !
    By steve55 in forum New User Questions
    Replies: 0
    Last Post: 03-16-2009, 06:41 PM
  3. WHM 10.8.0 cPanel 10.8.2-R119 does not remove directory
    By jackie46 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 06-15-2006, 01:49 AM
  4. CPanel/WHM Problem: "Home directory not available"
    By intelliot in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-30-2004, 10:19 AM
  5. restricting access in one directory into cpanel directory
    By manokiss in forum Themes and Branding
    Replies: 2
    Last Post: 11-25-2002, 12:06 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube