Doctor_Cox

Member
Sep 11, 2005
8
0
151
Gentlemen,

At work we run a Fedora server with cPanel 11. Recently, the /var partition has become very bloated. It was cleaned out of logs about 2-3 weeks ago, getting the space utilisation down to 34%, but already it is back up to 94%. We do use a lot of MySQL space, but not enough to have caused such a significant jump. Alas our data centre is down right now so I cannot give you exact MB figures, so you will just have to take my word it is enough for a 60% jump in 2 - 3 weeks seem very odd.

I have searched the net, but while I have learned a general idea of what is stored in /var, I am still none the wiser as to what could cause such huge space wastage. Do any of you have any ideas? Unfortunately I do not have low level access to the OS, but could get it if nothing comes of this initial post.

Thank you for your time.
Joel.
 

nyjimbo

Well-Known Member
Jan 25, 2003
1,133
1
168
New York
The first and most important question is just how big is the /var partition and if you clear logs how much of a difference is there.

If logs end up being the culprit then you likely have some kind of attack somewhere which is being logged OR you have alot of sudden new traffic which is logged as well.

Only you will be able to tell, so I would wait for your ability to see what the partition size is and what difference killing old logs makes. After that you might check things like cpanel files or do a series of "du" printouts to see where everything is ending up.
 

Doctor_Cox

Member
Sep 11, 2005
8
0
151
The culprit was a 16gb Exim log... beginning to smell like someone is using us as a spam relay. Thanks.
 
Last edited: