Re: Hanging
From: Steven Hook (shook_at_NOTbowens.co.za)
Date: 09/23/04
- Next message: Steven Hook: "Re: Hanging"
- Previous message: Peter Köhlmann: "Re: reading the ROM BIOS"
- In reply to: Moe Trin: "Re: Hanging"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 23 Sep 2004 08:16:10 +0200
"Moe Trin" <ibuprofin@painkiller.example.tld> wrote in message
news:slrncl3nak.55n.ibuprofin@atlantis.phx.az.us...
> In article <cirv1n$a85$1@ctb-nnrp2.saix.net>, Steven Hook wrote:
> >This dial in box dies every second night or so and I don't know what's
> >causing it, I think it might be a hardware issue but I really don't know
> >for sure
>
> Things to check - memory problems; find a copy of memtest86 on the net.
> Temperatures inside the box. I take it you have determined this is not
> a power problem, because no other computer is effected.
it's not temp, I've checked all the fans and the box is open on my desk.
>
> >and it really is a pain because although I set anothe machine up to watch
> >it and mail me when it hangs I cant log in to it and see what's happening
> >(at night from home) because it's hung.
>
> What about in the morning when you get there? What display do you see? Is
> the keyboard dead, or can you toggle the CapsLock, NumLock or ScrollLock
> indication. What software is it running? X? or a text based login? If
> X, does pressing the left 'Ctrl' and 'Alt' and F2 keys at the same time
> get you to a login screen? Or, does left 'Ctrl' and 'Alt' and the back
> space key kill X?
when it's hanging, it's totally dead, 'lock' keys don't toggel andI can't
get a prompt, the screen is just blank, tried all the <ctrl c> <ctrl x>
<ctrl d>, doesn't do anything.
I don't run x, I don't even log in it "just works" when it's booted up. I do
do a teeny bit of maintainance like cleaning 'trash' files and making sure
sys time is right but other than that I just let it be. When it dies then I
hit the reset swich and when it finished booting it works.
>
> >is there a way fo recording what it was trying to do before it hung so
> >when I get to it in the morning I can reboot it and then go check to see
> >why it's hanging?
>
> What I'd do is to run a script that takes a 'ps aux' snapshot, sticks the
> results into a file (overwriting is probably best at this point, as the
> file may otherwise get huge), then sleeps for sixty seconds and repeats.
> Something like
>
> while [ true ] ; do
> ps aux > /root/ps_output1
> sleep 30
> ps aux > /root/ps_output2
> sleep 30
> done
>
> and manually starting that before you leave at night. What you should have
> next morning is two files showing the process table 30 seconds apart, just
> before the system wedged. Starting the scripts manually avoids loosing
the
> information on re-boot.
>
> Old guy
>
Thanks for the help, I really do appreciate it!
Steven
- Next message: Steven Hook: "Re: Hanging"
- Previous message: Peter Köhlmann: "Re: reading the ROM BIOS"
- In reply to: Moe Trin: "Re: Hanging"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|