Deleting Log files on ubuntu
Vinay Perneti
vinay.perneti-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Wed Jun 6 11:52:45 EDT 2007
Actually i was asked to do this
% sysctl -w sunrpc.nfs_debug=32767
to enable full client debugging.. i wasn't sure what that was doing before
:D.
Thats probably why i have those HUGE log files!
Also I read about this tool called logrotate, but when i try to use it i get
a segfault!
i did
%logrotate kern.log
-Vinay
On 6/6/07, Kristian Hermansen <kristian.hermansen-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org> wrote:
>
> Vinay Perneti wrote:
> > I was just browsing through the folders and found that /var/log folder
> was
> > consuming 3.4GB. When i looked into the folder, kern.log.0 and
> > messages.log.0 were taking up 1.2GB each.
>
> Ouch!
>
> > Can i delete these log files?
>
> Sure!
>
> > Would i be needing them in the future?
>
> Well, I assume you had a lot of output from your pNFS kernel hackery?
> Maybe you should take a look and see what the messages are. Maybe it is
> only one message that is being output over and over again repeatedly...
> --
> Kristian Hermansen
>
--
-Vinay
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the Discuss
mailing list