[BlueOnyx:09440] Re: /var getting full
Chuck Tetlow
chuck at tetlow.net
Mon Jan 23 22:12:23 -05 2012
That's your best bet John. As long as you know that you'll loose everything in that logfile. But if you don't need the data in that file - that method will recover the most drive space.
Chuck
---------- Original Message -----------
From: John Sikes <jsikes at sikesland.com>
To: blueonyx at blueonyx.it
Sent: Mon, 23 Jan 2012 20:13:11 -0600
Subject: [BlueOnyx:09439] /var getting full
> Received a message that my /var partition was getting full. Thought
> it was going to be the spool again, but found that btmp was huge.
> Looks like I got hit very hard in the past 24/48 hours with failed
> login attempts. Looking for a quick way to purge the file to regain
> space. I identified the top 10 offenders and blocked their IP's for
> now and just need to reclaim space.
>
> Can I just cat /dev/null > /var/log/btmp? Is there a better, more
> correct way to clear up some space quick?
>
> Thanks
>
> John Sikes
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
> _______________________________________________
> Blueonyx mailing list
> Blueonyx at mail.blueonyx.it
> http://mail.blueonyx.it/mailman/listinfo/blueonyx
------- End of Original Message -------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20120123/556b836d/attachment.html>
More information about the Blueonyx
mailing list