View Full Version : Problem with growing...
pontifex
10th May 2006, 14:17
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
falko
10th May 2006, 14:47
Run this command from the / directory to find out what is filling up your disk:
du -s * | sort -nr > $HOME/space_report.txt
pontifex
10th May 2006, 15:53
Hallo Falko,
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
falko
11th May 2006, 00:26
The /home folder ist a separate mount point - but what about /var ?
Ciao
PM
Run
df -h to find out about your partitions or have a look into /etc/fstab.
pontifex
11th May 2006, 08:37
Hi Falko,
i run the command the following output was produced:
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
falko
11th May 2006, 17:33
Check your /var directory for large files (maybe log files, etc.).
pontifex
19th May 2006, 17:54
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
falko
21st May 2006, 21:38
Do you use MySQL replication? Then you shouldn't delete them!
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.