I am facing one problem here which is one process always stuck in running state which causes the other similar process to sleep state . This causes my system in hanged state.
On doing cat /proc/<pid>wchan showing the "__init_begin" in the output.
Can you please help me here why it is getting stuck in the __init_begin API. I am using linux kernel version 2.6.17.
Also i am not facing such probelm in kernel version 2.6.39
i have seen they have given one fix inside __init_begin in the kernel version 2.6.37 . Below is the fix
Actually -- your kernel is old enough that it's using LinuxThreads instead of modern NPTL. LinuxThreads had an irreparable design flaw which led to its abandonment and replacement by NPTL. Under some circumstances, control signals between processes overflow and are simply lost, causing hanging/stuck processes strikingly similar to this. I had the same problem, way way back in the day. Ancient history now, unless you're using a 15 year old kernel.