Re: tracking down lock ups in fedora



a wrote:
"Steve Welsh" <nobody@xxxxxxxxxxx> wrote in message news:x-Sdnfu4s9Tp94rZRVnyjw@xxxxxxxxxxxxxxxxx

Moe Trin wrote:

On Mon, 13 Mar 2006, in the Usenet newsgroup comp.os.linux, in article
<YvmdnTBcaYDaHIjZnZ2dneKdnZydnZ2d@xxxxxxxxxxx>, a wrote:


I have fedora FC2 running on a PIII 800mhz.

FC2 was retired a while ago - are you keeping it up to date?


However, i moved it to a new physical location w/ a new IP address and
since then its been giving me problems. It locks up, usually overnight,
first weekly, now almost daily. The first thing i checked where the
backup scripts that i updated because of the new IP addresses of our
network. I looked at the logs and didn't see anything.

When you say it locks up - is this at the console, or are you just
loosing the network? What does it take to get things working again?
If this is a network problem, are you using DHCP and have lease updates
blocked by the firewall, or as it's a server have you got it on a static
IP like it should be?


It just stops responding to pings. sometimes while using it (web based
program), sometimes while not. Nothing has changed except the IP address.

Not enough data


How can i track down lockups in linux?

If the box itself is still running, stick a cron job to take a ps
snapshot, and the output of /sbin/ifconfig -a and /sbin/route -n to a
file. Come back with better details of what is working, and what is
not - how you restart it, and the like. Also look at the firewall
configuration.

Old guy

I think I might be inclined first to try an new known-good network patch
cable - after all OP did say he had moved his machine, and I've had
network cables go down without any of the kit being touched or moved.


To clarify, the machine locks up, not just loses network connections. When i notice its locked up, i sit in front of it, and it never comes off the screen saver. When i reboot it, i have to hold the power button down for 5 seconds, force the shutdown, and turn it back on. I do a file system check when it comes up. I'm running a cron job once a minute writing the date/time to a file so i can see where it locks up. It may be around a daily cronjob, but i can't prove it. FC2 is updated nightly using apt-get.

thanks,



last time mine started that was just before the video card died.

--
Thank you,



"Then said I, Wisdom [is] better than strength: nevertheless the poor man's wisdom [is] despised, and his words are not heard." Ecclesiastes 9:16
.