In "/var/log", "kern.log" "messages" "syslog" swamp disk partition

Masatran (Deepak), R. masatran at research.iiit.ac.in
Tue Sep 26 13:36:02 UTC 2006


* Derek Broughton <news at pointerstop.ca> 2006-09-26
> Steve Flynn wrote:
> > On 26/09/06, Masatran (Deepak), R. <masatran at research.iiit.ac.in> wrote:
> > > * Masatran (Deepak), R. <masatran at research.iiit.ac.in> 2006-09-25
> > > > Periodically (every few hours or so), the files "kern.log" "messages"
> > > > "syslog" in /var/log grow large (half a gigabyte each) till the disk
> > > > partition is full.
> > >
> > > The contents of "kern.log" "messages" "syslog" are attached. These lines
> > > repeat till the disk partition is full.
> > >
> > > I am currently using:
> > >
> > >     sudo rm /var/log/{kern.log,messages,syslog}
> > >
> > > "/var/log/kern.log":
> > >
> > >     Sep 25 17:45:34 localhost kernel: [17190852.760000] cur_rx:2179757,
> > >     dirty_rx:2179757 Sep 25 17:45:34 localhost kernel: [17190852.760000]
> > >     eth0: NULL pointer encountered in Rx ring
> > 
> > Do you get a memory squeeze message before these errors?
> > 
> > How much physical ram does this machine have? How much Swap space is
> > defined?
> 
> And since it's your ethernet device that's reporting the messages (not very
> well - if it did it on a single line, the log daemon would simply
> report "previous message repeated xxxxxxx times" and not fill your disk!),
> what driver does it use?

I have no idea what driver it uses. How can I find out?

> Is the network interface working?  You could experiment with the log
> settings to try to suppress those specific messages.  Certainly they don't
> need to go to all three files, though if either one could be suppressed you
> wouldn't have a problem (assuming that the ethernet device actually works).

I am using DHCP. It is getting disconnected periodically. It starts working
after:

    sudo /etc/init.d/networking restart

I haven't checked whether the networking problem and the logging problem
occur simultaneously.
-- 
http://research.iiit.ac.in/~masatran/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060926/fe5b0679/attachment.sig>


More information about the ubuntu-users mailing list