Unix Programming - System Hang

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > March 2006 > System Hang





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author System Hang
Pankaj Munjal

2006-03-11, 2:48 am

Hi,

I am using Linux 3.0. After continous running for 3 days, my system got
hanged up. Now, even "Num lock" key and "Caps Lock" key interrupts are
not getting invoked. I also tried to ping the system from other system,
this is also not responding.

I want to see the kernel logs or the cause for the hang. The alternate
seems is to restart the system. But i want to know the cause for this
hang.

Can anybody tell me the way to save the kernel logs that had happened
in this situation, so that i can figure out that which process has
created this situation.

If i will restart the machien, I will loose the kernel logs. Also,
please tell me whether the /var/log/messages also contain the kernel
logs or just the user logs.


Thanks in advance.

Pankaj Munjal

Bill Marcum

2006-03-12, 5:51 pm

On 11 Mar 2006 00:36:09 -0800, Pankaj Munjal
<munjalpankaj@rediffmail.com> wrote:
> Hi,
>
> I am using Linux 3.0.

Most of us are still using Linux 2.6, I didn't think even 2.7 had been
released. I think you are using version 3.0 of a Linux distribution,
perhaps Debian or Red Hat Enterprise?

> After continous running for 3 days, my system got
> hanged up. Now, even "Num lock" key and "Caps Lock" key interrupts are
> not getting invoked. I also tried to ping the system from other system,
> this is also not responding.
>
> I want to see the kernel logs or the cause for the hang. The alternate
> seems is to restart the system. But i want to know the cause for this
> hang.
>

Google on the words "magic sysrq". If you have to reboot, the files in
/var/log might help. A complete lockup is usually the result of a
hardware problem, such as bad memory or overheating.



--
Your computer account is overdrawn. Please see Big Brother.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com