[BlueOnyx:08811] Re: /var filling up - an expected reason and resolution

Jon McCauley jon at ontarioweb.ca
Wed Oct 12 13:33:24 -05 2011


> I got a warning with one of my servers getting a /var nearly full warning.
> Yow!
>
> Upon investigation most of the space being used was taken in /var/cache.
> That directory contained several others including one called yum which had
> most of this space used. OK.
>
> This was resolved by doing a "yum clean all" as root. It removed 1.5GB of
> files from the /var partition.
>
> I hope this helps someone else. I know we see /var is full or filling up
> messages in the list from time to time.
>
> On the other hand this is the first time I've seen this issue on BQ or BX,
> so maybe it's a fluke. But it's easy to check and resolve so here it is.
>
> 	Thanks,
> 		-Stephanie
>
I have seen this issues many time now...
I find the one that causes issues is due to a bad script having error 
written to /var/log/httpd/error_log
I also yum clean all
and rm -r /var/log/*.*.gz files

Best Regards, Jon McCauley




More information about the Blueonyx mailing list