From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: log messages
Date: Wed, 17 Feb 2010 10:47:57 +0200 [thread overview]
Message-ID: <201002171047.57393.alan.mckinnon@gmail.com> (raw)
In-Reply-To: <874olgs6fb.fsf@newsguy.com>
On Wednesday 17 February 2010 08:49:28 Harry Putnam wrote:
> I have caught the freeze in the early stages before completely losing
> the network when just mouse and keyboard became unresponsive, was able
> to ssh in and noticed that restarting hald held off the freeze for
> some (again unspecified) amount of time.
>
> So cutting the lengthy narrative down a bit, and briefly put, I'm
> looking for anything unusual that is causing this. The hdc messages
> is the only odd thing I'm seeing.
>
> Something appears to be jamming up the hal layer somehow, but not
> leaving findable tracks. At least not findable by an someone with
> many yrs experience with linux but not much real debugging of
> complicated problems under his belt.
You say the box runs ssh, implying that other hosts are nearby, so what I
would suggest is to configure your syslogger to send all logs to another host
and have that host write them to a known location.
I find that machines that freeze often still send logs to syslog properly
right up to the moment of the freeze, but these do not get written to disk as
IO is blocked. Then we restart the box, guaranteeing that the logs are lost
:-)
Remote logging and just leave it till the machine freezes again will hopefully
give you the useful logs you need to identify the problem. To save disk space
you can configure logrotate on the remote logger to delete the previous days
stuff - you don't need logs from days where the box was working fine.
Another option is to look at the pattern here: one day out of the blue a
stable system developed problems and they still surface at random times. This
is one of the characteristics of failing hardware. Have you done a full
thorough hardware test, including such things as memtest and smart?
--
alan dot mckinnon at gmail dot com
next prev parent reply other threads:[~2010-02-17 8:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-16 22:36 [gentoo-user] log messages Harry Putnam
2010-02-16 23:00 ` Alan McKinnon
2010-02-17 6:49 ` [gentoo-user] " Harry Putnam
2010-02-17 8:47 ` Alan McKinnon [this message]
2010-02-17 14:32 ` Harry Putnam
2010-02-17 18:51 ` Jörg Schaible
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201002171047.57393.alan.mckinnon@gmail.com \
--to=alan.mckinnon@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox