Re: Hanging

From: Steven Hook (shook_at_NOTbowens.co.za)
Date: 09/23/04


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



Relevant Pages

  • Re: Splash screen shows blank
    ... call displays my screen in a thread that dies after 8 sec, ... would paint while you sleep. ... Any swing fiddling must be done from the Swing thread. ...
    (comp.lang.java.programmer)
  • Re: What happened to all the good software?
    ... of old programs and my trusty SCSI scanner. ... won't wake from sleep sometimes). ... Keep it until it dies a natural death - and be kind to it. ...
    (comp.sys.mac.apps)
  • Re: A sword named "Dreamslayer"
    ... who dies from lack of sleep. ... you have these pitiful undead that drift or shamble around "eating" ... euphoric feeling, but the process steals true rest from the victim, who ... awakens having drawn no benefit from the night's sleep. ...
    (rec.games.frp.dnd)
  • Re: Blue Sky
    ... All of the near light travel and sleep stuff dies at the end the next ... All political parties die at last of swallowing their own lies. ...
    (rec.arts.sf.composition)
  • Re: Source not available
    ... Jeff Grippe wrote: ... I used to be able to type the Wordstar control codes in my sleep. ... Ctrl K B ...
    (microsoft.public.fox.programmer.exchange)