Process remians in Running state causing other similar process to sleep and results to system hang
Hi Experts,
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
Now , how this fix related to my problem . please help me to overcome this problem
Looking forward for your suggestions and comments.
Moderator's Comments:
Use code tags, thanks.
Last edited by zaxxon; 10-07-2015 at 08:54 AM..
Reason: code tags
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.
Hi Experts,
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... (1 Reply)
Hi Experts,
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... (0 Replies)
Hello all,
I would be happy if any one could help me with a shell script that would determine all the processes running on a Unix server and post a mail if any of the process is not running or aborted.
Thanks in advance
Regards,
pradeep kulkarni.
:mad: (13 Replies)
I've tried this a long time ago and was successful but could not remember how i did it. Tried ctrl+Z and then used bg %
could not figure what i did after to keep it no hangup -
not sure if used nohup -p pid, can u plz help me out if this can be done.
Any help will be appreciated. (12 Replies)
I'm running an Apache server on Ubuntu. When I try to call fopen() in PHP, I get a bunch of permission errors. I searched for advice on this, and I found that I needed to change the system account that Apache runs on. However, I'm not sure how to do this, and I was unable to find the answer on... (3 Replies)
hi all
I process is sleeping after 12 hours but i need to be run this to 24 hours but it goes in sleep mode after 12 hours what should i do to make process always running.Kindly give me suggestion. (0 Replies)