Warning: The disk usage for one or more of your partitions is running low

jnet

Verified User
Joined
May 13, 2008
Messages
105
I have 160 Gig hard 2 partitions one of which I use for only backups

I get this warning even though I have just a few domains on this particular server

=====

A new message or response with subject:

Warning: The disk usage for one or more of your partitions is running low

has arrived for you to view.
Follow this link to view it:

======================

The problem it says is /Var folder

So what should I do now?????:confused:
 
Yes but it is a new server and I do not know what possibly should be deleted?:D
 
Anything you don't want.

But from reading your post it appears you may not be an accomplished system administrator.

Sure I could give you some ideas of where to look, but then I'd be flying blind. And I'd hate for your server to crash because I was flying blind.

You probably need to hire someone (perhaps even me) to look at your server for you and help you learn what to do in cases like this.

The quick and dirty way is to delete all the files in /var/log that end in one of these:

.1
.2
.3
.4

That at least won't break anything, though it will delete information which may be important to you in figuring out why your /var partition filled up so fast.

Jeff

Jeff
 
To list any large folders in /var try these two commands:

du -ah /var | grep -i '^[0-9]\{1,\}m' | sort -n
du -ah /var | grep -i '^[0-9]\{1,\}g' | sort -n
 
thanks

I get this

11M /var/cache/logwatch/logwatch.5SWJsjgy/secure
11M /var/cache/logwatch/logwatch.5SWJsjgy/secure-archive
11M /var/cache/logwatch/logwatch.6cCn9Mh0/secure
11M /var/cache/logwatch/logwatch.6cCn9Mh0/secure-archive
11M /var/cache/logwatch/logwatch.6HlwATLY/secure
11M /var/cache/logwatch/logwatch.6HlwATLY/secure-archive
11M /var/cache/logwatch/logwatch.cEni3at9/secure
11M /var/cache/logwatch/logwatch.cEni3at9/secure-archive
11M /var/cache/logwatch/logwatch.Eancbhlp/secure
11M /var/cache/logwatch/logwatch.Eancbhlp/secure-archive
11M /var/cache/logwatch/logwatch.EoQp6NAT/secure
11M /var/cache/logwatch/logwatch.EoQp6NAT/secure-archive
11M /var/cache/logwatch/logwatch.FAfa5z44/secure-archive
11M /var/cache/logwatch/logwatch.fH84EoEk/secure
11M /var/cache/logwatch/logwatch.fH84EoEk/secure-archive
11M /var/cache/logwatch/logwatch.NzHtmNPe/secure-archive
11M /var/cache/logwatch/logwatch.QKqGJe3k/secure
11M /var/cache/logwatch/logwatch.QKqGJe3k/secure-archive
11M /var/cache/logwatch/logwatch.r818oWo9/secure
11M /var/cache/logwatch/logwatch.r818oWo9/secure-archive
11M /var/cache/logwatch/logwatch.uHlOg3iu/secure
11M /var/cache/logwatch/logwatch.uHlOg3iu/secure-archive
11M /var/cache/logwatch/logwatch.UPDYxhhn/secure
11M /var/cache/logwatch/logwatch.UPDYxhhn/secure-archive
11M /var/cache/logwatch/logwatch.VSyImmpk/secure
11M /var/cache/logwatch/logwatch.VSyImmpk/secure-archive
11M /var/cache/logwatch/logwatch.ziCakrDQ/secure
11M /var/cache/logwatch/logwatch.ziCakrDQ/secure-archive
11M /var/cache/logwatch/logwatch.ZjSN2YZK/secure
11M /var/cache/logwatch/logwatch.ZjSN2YZK/secure-archive
11M /var/log/btmp
11M /var/log/proftpd
12M /var/cache/logwatch/logwatch.FAfa5z44/secure
12M /var/cache/logwatch/logwatch.NzHtmNPe/secure
12M /var/log/exim/mainlog
12M /var/log/httpd/domains
12M /var/www/manual
14M /var/www/html/phpMyAdmin-3.1.1-all-languages
15M /var/www/html/phpMyAdmin-2.11.9-all-languages
17M /var/cache/yum/base/filelists.xml.gz.sqlite
18M /var/clamav/main.cvd
19M /var/cache/yum/updates/filelists.xml.gz.sqlite
19M /var/lib/mysql/ibdata1
21M /var/clamav
21M /var/log/exim/mainlog.4
22M /var/lib/mlocate
22M /var/lib/mlocate/mlocate.db
22M /var/lib/rpm/Packages
23M /var/cache/logwatch/logwatch.ZjSN2YZK/exim
23M /var/cache/yum/rpmforge/primary.xml.gz.sqlite
24M /var/cache/yum/updates
26M /var/cache/yum/rpmforge
27M /var/cache/yum/base
28M /var/cache/logwatch/logwatch.6cCn9Mh0/exim-archive
28M /var/cache/logwatch/logwatch.6HlwATLY/exim-archive
28M /var/cache/logwatch/logwatch.Eancbhlp/exim-archive
28M /var/cache/logwatch/logwatch.EoQp6NAT/exim-archive
28M /var/cache/logwatch/logwatch.QKqGJe3k/exim-archive
28M /var/cache/logwatch/logwatch.r818oWo9/exim-archive
28M /var/cache/logwatch/logwatch.VSyImmpk/exim-archive
28M /var/cache/logwatch/logwatch.ziCakrDQ/exim
29M /var/lib/mysql/iranian_iran/phpbb_posts_text.MYD
29M /var/lib/rpm
33M /var/cache/logwatch/logwatch.r818oWo9/exim
38M /var/log/exim/mainlog.2
38M /var/log/exim/mainlog.3
39M /var/cache/logwatch/logwatch.QKqGJe3k/exim
40M /var/log/exim/mainlog.1
44M /var/cache/logwatch/logwatch.6cCn9Mh0/exim
44M /var/log/httpd/modsec_audit.log
47M /var/spool/exim/msglog
50M /var/cache/logwatch/logwatch.EoQp6NAT/exim
53M /var/www/html
56M /var/cache/logwatch/logwatch.Eancbhlp/exim
57M /var/cache/logwatch/logwatch.ZjSN2YZK
61M /var/cache/logwatch/logwatch.6HlwATLY/exim
63M /var/cache/logwatch/logwatch.ziCakrDQ
65M /var/log/httpd
66M /var/cache/logwatch/logwatch.5SWJsjgy/exim-archive
66M /var/cache/logwatch/logwatch.cEni3at9/exim-archive
66M /var/cache/logwatch/logwatch.FAfa5z44/exim-archive
66M /var/cache/logwatch/logwatch.fH84EoEk/exim-archive
66M /var/cache/logwatch/logwatch.NzHtmNPe/exim-archive
66M /var/cache/logwatch/logwatch.uHlOg3iu/exim-archive
66M /var/cache/logwatch/logwatch.UPDYxhhn/exim-archive
66M /var/cache/logwatch/logwatch.VSyImmpk/exim
66M /var/www
70M /var/cache/logwatch/logwatch.5SWJsjgy/exim
76M /var/cache/logwatch/logwatch.UPDYxhhn/exim
78M /var/cache/yum
81M /var/cache/logwatch/logwatch.fH84EoEk/exim
87M /var/cache/logwatch/logwatch.uHlOg3iu/exim
92M /var/cache/logwatch/logwatch.r818oWo9
93M /var/cache/logwatch/logwatch.cEni3at9/exim
98M /var/cache/logwatch/logwatch.FAfa5z44/exim
98M /var/cache/logwatch/logwatch.QKqGJe3k
103M /var/cache/logwatch/logwatch.5DRVS4Rj/exim-archive
103M /var/cache/logwatch/logwatch.DeiGj4dS/exim-archive
103M /var/cache/logwatch/logwatch.NB9PWgmP/exim-archive
103M /var/cache/logwatch/logwatch.NzHtmNPe/exim
103M /var/cache/logwatch/logwatch.sAEIKJjU/exim-archive
103M /var/cache/logwatch/logwatch.td4Tdse1/exim-archive
103M /var/cache/logwatch/logwatch.xAKOGdWS/exim-archive
103M /var/cache/logwatch/logwatch.y5sTuMdi/exim-archive
104M /var/cache/logwatch/logwatch.6cCn9Mh0
108M /var/cache/logwatch/logwatch.DeiGj4dS/exim
111M /var/cache/logwatch/logwatch.EoQp6NAT
114M /var/cache/logwatch/logwatch.xAKOGdWS/exim
117M /var/cache/logwatch/logwatch.Eancbhlp
119M /var/cache/logwatch/logwatch.td4Tdse1/exim
122M /var/cache/logwatch/logwatch.6HlwATLY
125M /var/cache/logwatch/logwatch.sAEIKJjU/exim
128M /var/cache/logwatch/logwatch.VSyImmpk
131M /var/cache/logwatch/logwatch.NB9PWgmP/exim
136M /var/cache/logwatch/logwatch.9RFeut4g/exim-archive
136M /var/cache/logwatch/logwatch.t4ZsMXLH/exim-archive
137M /var/cache/logwatch/logwatch.5DRVS4Rj/exim
141M /var/cache/logwatch/logwatch.9RFeut4g/exim
142M /var/cache/logwatch/logwatch.y5sTuMdi/exim
146M /var/cache/logwatch/logwatch.t4ZsMXLH/exim
149M /var/log/exim
166M /var/spool
166M /var/spool/exim
170M /var/lib/mysql
175M /var/cache/logwatch/logwatch.5SWJsjgy
181M /var/cache/logwatch/logwatch.UPDYxhhn
186M /var/cache/logwatch/logwatch.fH84EoEk
193M /var/cache/logwatch/logwatch.uHlOg3iu
199M /var/cache/logwatch/logwatch.cEni3at9
206M /var/cache/logwatch/logwatch.FAfa5z44
210M /var/cache/logwatch/logwatch.NzHtmNPe
221M /var/lib
241M /var/cache/logwatch/logwatch.DeiGj4dS
247M /var/cache/logwatch/logwatch.xAKOGdWS
252M /var/cache/logwatch/logwatch.td4Tdse1
252M /var/log
259M /var/cache/logwatch/logwatch.sAEIKJjU
265M /var/cache/logwatch/logwatch.NB9PWgmP
271M /var/cache/logwatch/logwatch.5DRVS4Rj
277M /var/cache/logwatch/logwatch.y5sTuMdi
302M /var/cache/logwatch/logwatch.9RFeut4g
307M /var/cache/logwatch/logwatch.t4ZsMXLH
 
To list any large folders in /var try these two commands:

du -ah /var | grep -i '^[0-9]\{1,\}m' | sort -n
du -ah /var | grep -i '^[0-9]\{1,\}g' | sort -n

Putting those in my useful yet hard to remember linux commands file. Thanks.
 
Personally I would delete /var/cache/logwatch/*

How big is your /var partition? I did not add up the amounts but it doesn't seem to be very big on first glance based on the file sizes and given that you say its full.
 
I just ran that too and this is what I am getting. Incidentally I am using LVM on my system.

Code:
[root@cp ~]# du -ah /var | grep -i '^[0-9]\{1,\}m' | sort -n
10M     /var/cache/yum/updates/packages/xulrunner-1.9.0.6-1.el5.i386.rpm
10M     /var/cache/yum/updates/packages/xulrunner-1.9.0.7-3.el5.i386.rpm
11M     /var/cache/yum/updates/packages/xulrunner-1.9.0.18-1.el5_4.i386.rpm
11M     /var/cache/yum/updates/packages/xulrunner-1.9.0.18-1.el5_4.x86_64.rpm
11M     /var/cache/yum/updates/packages/xulrunner-1.9.0.6-1.el5.x86_64.rpm
11M     /var/cache/yum/updates/packages/xulrunner-1.9.0.7-3.el5.x86_64.rpm
11M     /var/lib/mysql.backup/ibdata1
11M     /var/lib/mysql/hungaria_hamg
11M     /var/lib/mysql/msalvador_A5lFwj
11M     /var/softaculous/extjs/package.zip
11M     /var/softaculous/modx
11M     /var/softaculous/modx/modx.zip
11M     /var/www/html/roundcubemail-0.4/program
12M     /var/softaculous/extjs
13M     /var/installatron/archives/ocportal.4_3_2.main.tar.gz
13M     /var/lib/mlocate/mlocate.db.uAPSET
13M     /var/lib/mysql/cp.dxmhosting.com.err
13M     /var/lib/mysql/wardwell_W1AxWjo
13M     /var/softaculous/mw
13M     /var/softaculous/mw/mw.zip
13M     /var/www/manual
14M     /var/www/html/roundcubemail-0.4
15M     /var/softaculous/cpg
15M     /var/softaculous/cpg/cpg.zip
15M     /var/softaculous/sugar
15M     /var/softaculous/sugar/sugar.zip
16M     /var/log
16M     /var/softaculous/dolph/dolph.zip
16M     /var/softaculous/moodle/moodle.zip
17M     /var/cache/yum/updates/packages/kernel-2.6.18-128.1.6.el5.x86_64.rpm
17M     /var/lib/mysql/mysql-bin.000029
17M     /var/lib/mysql/nagodfrey_pipub/jos_session.MYD
17M     /var/softaculous/dolph
17M     /var/softaculous/moodle
17M     /var/softaculous/openx
17M     /var/softaculous/openx/openx.zip
18M     /var/lib/clamav/db/main.cvd
18M     /var/lib/clamav/main.cvd
18M     /var/softaculous/gedview
18M     /var/softaculous/gedview/gedview.zip
18M     /var/www/html/phpMyAdmin-3.3.4-all-languages
19M     /var/cache/yum/updates/packages/kernel-2.6.18-194.11.1.el5.x86_64.rpm
20M     /var/cache/yum/dag/filelists.xml.gz.sqlite
20M     /var/cache/yum/updates/filelists.xml.gz.sqlite
20M     /var/lib/clamav/db
20M     /var/lib/mysql/pimp700_wp561/jxvzf_options.MYD
20M     /var/softaculous/magento
20M     /var/softaculous/magento/magento.zip
21M     /var/cache/yum/base/filelists.xml.gz.sqlite
21M     /var/lib/mysql/xblee_iOgckocpor/6mt2_stats.MYD
21M     /var/softaculous/typo
21M     /var/softaculous/typo/typo.zip
22M     /var/cache/yum/base/packages
22M     /var/clamav/main.cvd
22M     /var/lib/mysql.backup
23M     /var/softaculous/lime
23M     /var/softaculous/lime/lime.zip
24M     /var/cache/yum/rpmforge/filelists.xml.gz.sqlite
24M     /var/lib/mysql/nagodfrey_pipub
25M     /var/cache/yum/rpmforge/packages/clamav-db-0.96.2-2.el5.rf.x86_64.rpm
26M     /var/lib/mysql/mysql-bin.000003
26M     /var/lib/mysql/xblee_iOgckocpor
26M     /var/softaculous/tiki/tiki.zip
27M     /var/softaculous/tiki
29M     /var/cache/yum/dag/primary.xml.gz.sqlite
29M     /var/lib/mysql/pimp700_wp561
30M     /var/cache/yum/rpmforge/primary.xml.gz.sqlite
32M     /var/installatron/installers
33M     /var/lib/mysql/mysql-bin.000035
34M     /var/lib/rpm/Packages
34M     /var/www/html
35M     /var/lib/mlocate/mlocate.db.jk04Sb
38M     /var/clamav
38M     /var/lib/mysql/wardwell_family
39M     /var/lib/clamav
42M     /var/cache/yum/rpmforge/packages
45M     /var/lib/rpm
48M     /var/www
51M     /var/installatron/archives
54M     /var/cache/yum/dag/packages
60M     /var/cache/yum/base
67M     /var/lib/mysql/ibdata1
68M     /var/lib/mysql/mysql-bin.000016
71M     /var/lib/mlocate/mlocate.db
90M     /var/installatron
97M     /var/cache/yum/rpmforge
102M    /var/lib/mysql/mysql-bin.000022
105M    /var/cache/yum/dag
106M    /var/lib/mysql/mysql-bin.000030
122M    /var/lib/mlocate
162M    /var/cache/yum/updates/packages
188M    /var/cache/yum/updates
247M    /var/lib/mysql/mysql-bin.000002
455M    /var/cache/yum
456M    /var/cache
520M    /var/softaculous
656M    /var/lib/mysql/mysql-bin.000028
892M    /var/lib/mysql/mysql-bin.000025
944M    /var/lib/mysql/mysql-bin.000044
 
Please don't double-post. Those last three files are some mysql transaction files I mentioned in my response to your post in the other thread. You probably could delete at least the oldest, though you might want to learn more about what they do. Or move the oldest ones to your /home directory, which appears to have room. Note if you move the one that's currently in use, it won't really move until it's no longer used, and then MySQL will start a new one, so you'll have to restart MySQL.

Jeff
 
Please don't double-post. Those last three files are some mysql transaction files I mentioned in my response to your post in the other thread. You probably could delete at least the oldest, though you might want to learn more about what they do. Or move the oldest ones to your /home directory, which appears to have room. Note if you move the one that's currently in use, it won't really move until it's no longer used, and then MySQL will start a new one, so you'll have to restart MySQL.

Jeff

Sorry about the "double post" I spotted this thread as well and thought that I would make a contribution to it based on what I was going through.

Anyhow with that being said I am moving the transaction files out of the /var/lib/mysql directory now and then as per your advice I will restart MySQL and keep my fingers crossed.

Neal
 
Back
Top