Problem with growing...

Discussion in 'Installation/Configuration' started by pontifex, May 10, 2006.

  1. pontifex

    pontifex New Member

    Hi everyone,
    currently i am running a webserver for my friends and me.

    The server has the following partition structure:

    / ext3 /dev/sda1
    /dev/shm tmpfs tmpfs
    /home ext3 /dev/sda6

    the problem is now that the mount point / ist growing and growing. the server is up (without reboot) 286 days 1 h 38 mins

    will a reboot stop the growing? i looked up into the /var/log folder, but there are not so many files with much MB

    i am a little bit confused. OS ist sarge 3.1

    ciao
    PM
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Run this command from the / directory to find out what is filling up your disk:
    Code:
    du -s * | sort -nr > $HOME/space_report.txt
     
  3. pontifex

    pontifex New Member

    Hallo Falko,

    Code:
    2890392	var
    2411324	home
    925874	proc
    696188	usr
    661244	tmp
    142000	root
    77708	typo3Package
    51776	lib
    37580	typo3Package40
    20044	etc
    12108	backup
    7112	boot
    3452	bin
    3344	sbin
    96	dev
    48	lost+found
    12	media
    4	srv
    4	opt
    4	mnt
    4	initrd
    0	vmlinuz
    0	sys
    0	space_report.txt
    0	quota.user
    0	quota.group
    0	initrd.img
    0	cdrom
    The /home folder ist a separate mount point - but what about /var ?

    Ciao
    PM
     
  4. falko

    falko Super Moderator ISPConfig Developer

    Run
    Code:
    df -h
    to find out about your partitions or have a look into /etc/fstab.
     
  5. pontifex

    pontifex New Member

    Hi Falko,

    i run the command the following output was produced:

    Code:
    Dateisystem          Größe Benut  Verf Ben% Eingehängt auf
    /dev/sda1             6,5G  4,5G  1,7G  74% /
    tmpfs                 760M     0  760M   0% /dev/shm
    /dev/sda6             138G  2,4G  129G   2% /home
    
    So as you can see, the problem ist sda1. currently running ispconfig on this server.

    CIao
    PM
     
  6. falko

    falko Super Moderator ISPConfig Developer

    Check your /var directory for large files (maybe log files, etc.).
     
  7. pontifex

    pontifex New Member

    Hello Falko,


    i fould a folder called /var/log/mysql i have more than 20 files bigger then 100 mb. they are named mysql-bin.000382 aso... mysql-bin.000389 aso

    can i delete them?

    Cheers
    PM
     
  8. falko

    falko Super Moderator ISPConfig Developer

    Do you use MySQL replication? Then you shouldn't delete them!
     

Share This Page