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!

/ partition is still growth or full

Discussion in 'General Discussion' started by freshorange, Jul 30, 2008.

  1. freshorange

    freshorange Well-Known Member

    Joined:
    Dec 26, 2007
    Messages:
    45
    Likes Received:
    0
    Trophy Points:
    56
    hii, sorry if i didn't take time to read all the threads, but my question is very urgent
    i have the / partition full on our cpanel server.
    the / partition is always growth.
    what the file on / partition can make the space growth?
    i have check all file in / partition, but all the size is under 1Mb.


    thanks

    sorry my english is weak ;)
     
  2. freshorange

    freshorange Well-Known Member

    Joined:
    Dec 26, 2007
    Messages:
    45
    Likes Received:
    0
    Trophy Points:
    56
    any idea???
    someone please help me.
     
  3. WebScHoLaR

    WebScHoLaR Well-Known Member

    Joined:
    Dec 14, 2005
    Messages:
    511
    Likes Received:
    3
    Trophy Points:
    168
    Location:
    Planet Earth
    Run the following command on the server and paste the output:

    du -ah --max-depth=1 /

    You need to login to server SSH as a root user to run this command.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. freshorange

    freshorange Well-Known Member

    Joined:
    Dec 26, 2007
    Messages:
    45
    Likes Received:
    0
    Trophy Points:
    56
    root@pempek [~]# du -ah --max-depth=1 /
    16K /lost+found
    1.9G /var
    8.0K /selinux
    3.3G /usr
    0 /.hpshm_keyfile
    8.0K /misc
    24K /quota.user
    8.0K /initrd
    216K /dev
    628M /lib
    4.7M /scripts
    8.0K /srv
    64G /home
    0 /.autofsck
    19M /etc
    5.7M /bin
    840K /root
    du: cannot read directory `/proc/14445/task': No such file or directory
    du: cannot read directory `/proc/14445/fd': No such file or directory
    du: cannot read directory `/proc/14974/task': No such file or directory
    du: cannot read directory `/proc/14974/fd': No such file or directory
    du: cannot read directory `/proc/15011/task': No such file or directory
    du: cannot read directory `/proc/15011/fd': No such file or directory
    du: cannot read directory `/proc/15039/task': No such file or directory
    du: cannot read directory `/proc/15039/fd': No such file or directory
    du: cannot read directory `/proc/15716/task': No such file or directory
    du: cannot read directory `/proc/15716/fd': No such file or directory
    du: cannot read directory `/proc/15830/task': No such file or directory
    du: cannot read directory `/proc/15830/fd': No such file or directory
    du: cannot read directory `/proc/15845/task': No such file or directory
    du: cannot read directory `/proc/15845/fd': No such file or directory
    du: cannot read directory `/proc/15871/task': No such file or directory
    du: cannot read directory `/proc/15871/fd': No such file or directory
    du: cannot read directory `/proc/15899/task': No such file or directory
    du: cannot read directory `/proc/15899/fd': No such file or directory
    du: cannot read directory `/proc/16320/task': No such file or directory
    du: cannot read directory `/proc/16320/fd': No such file or directory
    du: cannot read directory `/proc/16465/task': No such file or directory
    du: cannot read directory `/proc/16465/fd': No such file or directory
    du: cannot read directory `/proc/16660/task': No such file or directory
    du: cannot read directory `/proc/16660/fd': No such file or directory
    du: cannot read directory `/proc/16692/task': No such file or directory
    du: cannot read directory `/proc/16692/fd': No such file or directory
    903M /proc
    8.0K /mnt
    0 /sys
    16M /opt
    12K /aquota.user
    17M /sbin
    12K /media
    4.0K /.forward
    59M /boot
    71G /


    here the output
     
  5. freshorange

    freshorange Well-Known Member

    Joined:
    Dec 26, 2007
    Messages:
    45
    Likes Received:
    0
    Trophy Points:
    56
    output ~ partition

    root@pempek [~]# ls -al
    total 232
    drwxr-x--- 13 root root 4096 Aug 5 08:53 ./
    drwxr-xr-x 24 root root 4096 May 12 21:47 ../
    -rw------- 1 root root 957 Apr 18 2007 .accesshash
    -rw-r--r-- 1 root root 1416 Apr 13 2007 anaconda-ks.cfg
    -rw------- 1 root root 12857 Aug 5 08:29 .bash_history
    -rw-r--r-- 1 root root 24 Feb 21 2005 .bash_logout
    -rw-r--r-- 1 root root 191 Feb 21 2005 .bash_profile
    -rw-r--r-- 1 root root 176 Feb 21 2005 .bashrc
    drwxr-xr-x 3 root root 4096 Aug 20 2007 .cpanel/
    drwxr-xr-x 4 root root 4096 Apr 14 2007 cpanel3-skel/
    drwx------ 6 root root 4096 Aug 20 2007 .cpobjcache/
    -rw-r--r-- 1 root root 100 Feb 21 2005 .cshrc
    drwxr-xr-x 2 root root 4096 Jul 2 15:41 databases/
    -rw------- 1 root root 1 Sep 3 2007 dead.letter
    -rw-r--r-- 1 root root 1262 Sep 27 2007 exim_perf.pl.zip
    -rw-r--r-- 1 root root 22 Dec 27 2007 .forward
    drwx------ 2 root root 4096 Apr 14 2007 .gnupg/
    -rw-r--r-- 1 root root 50592 Apr 13 2007 install.log
    -rw-r--r-- 1 root root 4297 Apr 13 2007 install.log.syslog
    -rw-r--r-- 1 root root 476 Apr 25 2007 leechprotect.sql
    drwxr-xr-x 3 root root 4096 Aug 5 08:10 .mc/
    drwx------ 8 root root 4096 Apr 14 2007 .MirrorSearch/
    -rw------- 1 root root 37 Apr 14 2007 .my.cnf
    -rw------- 1 root root 1018 Apr 22 16:25 .mysql_history
    -rw-r--r-- 1 root root 0 Aug 20 2007 perl
    drwxr-xr-x 2 root root 4096 Apr 14 2007 public_ftp/
    drwxr-xr-x 3 root root 4096 Jul 19 2007 public_html/
    -rw------- 1 root root 1024 Aug 20 2007 .rnd
    -rw------- 1 root root 0 Aug 20 2007 .securesslreqs
    drwx------ 2 root root 4096 Aug 5 00:38 .spamassassin/
    drwx------ 2 root root 4096 Aug 20 2007 .ssh/
    -rw-r--r-- 1 root root 102 Feb 21 2005 .tcshrc
    -rw-r--r-- 1 root root 198 Mar 22 2007 upload.cron
    -rw------- 1 root root 0 Aug 20 2007 .xrampreqs
    root@pempek [~]#


    any idea?
    what the file on / partition can make the space growth?
    what file can be remove?
     
  6. viraj

    viraj Well-Known Member

    Joined:
    Sep 28, 2006
    Messages:
    209
    Likes Received:
    1
    Trophy Points:
    166
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Hi,

    Can you execute the following commands from SSH & provide us the output of : df -h & fdisk -l

    I can help you with freeing up the disk space on your server :) Please PM me the details of your server..
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. freshorange

    freshorange Well-Known Member

    Joined:
    Dec 26, 2007
    Messages:
    45
    Likes Received:
    0
    Trophy Points:
    56
    root@pempek [~]# df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/cciss/c0d0p6 981M 696M 236M 75% /
    /dev/cciss/c0d0p1 981M 76M 856M 9% /boot
    none 4.0G 0 4.0G 0% /dev/shm
    /dev/cciss/c0d0p8 244G 79G 153G 34% /home
    /dev/cciss/c0d0p7 981M 36M 895M 4% /tmp
    /dev/cciss/c0d0p5 5.8G 3.6G 2.0G 65% /usr
    /dev/cciss/c0d0p2 9.7G 2.2G 7.0G 24% /var
    /tmp 981M 36M 895M 4% /var/tmp
    root@pempek [~]#


    root@pempek [~]# fdisk -l

    Disk /dev/cciss/c0d0: 293.5 GB, 293564211200 bytes
    255 heads, 63 sectors/track, 35690 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/cciss/c0d0p1 * 1 127 1020096 83 Linux
    /dev/cciss/c0d0p2 128 1402 10241437+ 83 Linux
    /dev/cciss/c0d0p3 1403 2422 8193150 82 Linux swap
    /dev/cciss/c0d0p4 2423 35690 267225210 5 Extended
    /dev/cciss/c0d0p5 2423 3187 6144831 83 Linux
    /dev/cciss/c0d0p6 3188 3314 1020096 83 Linux
    /dev/cciss/c0d0p7 3315 3441 1020096 83 Linux
    /dev/cciss/c0d0p8 3442 35690 259040061 83 Linux
    root@pempek [~]#
     
  8. kran

    kran Well-Known Member

    Joined:
    Jul 5, 2003
    Messages:
    74
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    Colombia
    cPanel Access Level:
    Root Administrator
    freshorange were you able to find what caused it?

    Im running with the same problem on a REDHAT Enterprise 3 today went to a 100% full / partition I've cleaned everything I can think off..
    (notice the Win95 Ext'd Partition I dont remember i I had it in the beginning)


    Filesystem Size Used Avail Use% Mounted on
    /dev/hda6 1012M 1010M 0 100% /
    /dev/hdb1 147G 88G 52G 64% /backup
    /dev/hda1 99M 68M 26M 73% /boot
    /dev/hda5 126G 49G 72G 41% /home
    /dev/hda7 1012M 49M 912M 6% /tmp
    /dev/hda2 9.9G 6.7G 2.8G 71% /usr
    /dev/hda3 6.9G 3.9G 2.8G 59% /var
    /tmp 1012M 49M 912M 6% /var/tmp

    Disk /dev/hda: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/hda1 * 1 13 104391 83 Linux
    /dev/hda2 14 1318 10482412+ 83 Linux
    /dev/hda3 1319 2232 7341705 83 Linux
    /dev/hda4 2233 19457 138359812+ f Win95 Ext'd (LBA)
    /dev/hda5 2233 18941 134215011 83 Linux
    /dev/hda6 18942 19072 1052226 83 Linux
    /dev/hda7 19073 19203 1052226 83 Linux
    /dev/hda8 19204 19457 2040223+ 82 Linux swap

    Disk /dev/hdb: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/hdb1 * 1 19457 156288321 83 Linux
    [1]+ Done df -h

    I will appreciate any Help, you can give me.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. kran

    kran Well-Known Member

    Joined:
    Jul 5, 2003
    Messages:
    74
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    Colombia
    cPanel Access Level:
    Root Administrator
    Found problem

    there were several core files in the /root directory I erased them and problem solved....
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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