Hi
We are running out of disk space, (OS: CentOS) so I'm looking at some of the disk space being used.
We are running out of disk space, (OS: CentOS) so I'm looking at some of the disk space being used.
- Firstly, we have 17GBs of /var/log. Here is a breakdown:
[root@server1 log]# du -sh *
972K apf_log
24K apf_log.1
0 audit
12K audit.d
4.0K bfd_log
4.0K bfd_log.1
1.2M boot.log
4.0K boot.log.1
153M cron
2.9M cron.1
21M directadmin
16K dmesg
15G exim
518M httpd
532K kernel
652K kernel.1
88K ksyms.0
88K ksyms.1
88K ksyms.2
88K ksyms.3
88K ksyms.4
88K ksyms.5
88K ksyms.6
19M lastlog
160K login_log
164K login_log.1
8.0K mail
42M maillog
1.3M maillog.1
287M messages
5.6M messages.1
12K mysql
907M mysqld.log
202M proftpd
44K rkhunter.log
16K rpmpkgs
16K rpmpkgs.1
4.0K samba
107M secure
1.1M secure.1
0 spooler
0 spooler.1
4.0K squid
0 up2date
0 up2date.1
4.0K vbox
8.5M wtmp
1.3M wtmp.1 - The last thing is (I don't even know what these are or do), can any of these be brought down in size?
- /usr/lib 479mb
- /usr/local 426mb
- /usr/share 475mb
[/list=1]
NB: We are using 29GB of mysql mainly from our main site which uses 20GB in 1 database.
Thank you!