Re: Recovering Linux system from hung state via software

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You could also look at using existing s/w for monitoring processes like monit.

I don't know your exact usecase but you could make your process as a
'service' and have something like systemd or upstart monitor it. These
tools will typically 'restart' the hung process on detection.

-mandeep


On Fri, Nov 29, 2013 at 5:58 AM, Vipul Jain <vipulsj@xxxxxxxxx> wrote:
> Hi Kernel alias,
>
> I am a newbie and I am trying to figure out ways where in I can recover the
> Linux in below two scenarios:
> 1. my specific process hangs.
> 2. kernel gets hung partially or completely.
>
> I have done some reading and seems like there is softlockup and hardlockup
> mechanisms in Linux source base that I can use but not sure, if yes I have
> below questions:
> 1. Which kernel version is minimum required for this?
> 2. How do I know that soft and hard lockup are enabled in my kernel?
> 3. How can I customize the behavior of default action that been taken?
> 4. Can I use these two lockup mechanism to find out if my process is hung
> or not?
> 5. Any pointers to any docs that can help will be appreciated.
>
> I will greatly appreciate any help here.
>
>
> Regards,
> Vipul.
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies@xxxxxxxxxxxxxxxxx
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux