Unix/Linux Go Back    


BSD BSD, sometimes called Berkeley Unix, is a Unix operating system developed by the Computer Systems Research Group of the UC Berkeley.

Process remians in Running state causing other similar process to sleep and results to system hang

BSD


Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 10-07-2015
naveeng naveeng is offline
Registered User
 
Join Date: Oct 2015
Last Activity: 9 October 2015, 12:54 AM EDT
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
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

diff --git a/arch/um/kernel/uml.lds.S b/arch/um/kernel/uml.lds.S
index e7a6cca..664f942 100644
--- a/arch/um/kernel/uml.lds.S
+++ b/arch/um/kernel/uml.lds.S
@@ -22,7 +22,7 @@ SECTIONS
_text = .;
_stext = .;
__init_begin = .;
- INIT_TEXT_SECTION(PAGE_SIZE)
+ INIT_TEXT_SECTION(0)
. = ALIGN(PAGE_SIZE);

.text :

Now , how this fix related to my problem . please help me to overcome this problem
Looking forward for your suggestions and comments.
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Process remians in Running state causing other similar process to sleep and results to system hang naveeng UNIX for Advanced & Expert Users 6 10-08-2015 11:31 AM
Process remians in Running state causing other similar process to sleep and results to system hang naveeng UNIX for Advanced & Expert Users 1 10-07-2015 06:20 AM
Script to Kill process which is in hang state A.Santhosh Shell Programming and Scripting 1 04-03-2012 07:15 PM
make a foreground running process to run background without hang up pharos467 UNIX for Advanced & Expert Users 12 09-03-2008 01:24 PM



All times are GMT -4. The time now is 01:48 PM.