extra thread issue in 2.4 kernel on powerpc
Hello All,
I'm facing a problem with extra thread created by another thread. I'm using 2.4 kernel on powerpc.
here is the output of ps command:
pid ppid flag(dec) flag(hex) last_syscall
433 1 320 0x140 102
435 433 64 0x040 167
436 435 64 0x040 178
437 435 64 0x040 178
516 435 320 0x140 3
7502(extrathread) 516 64 0x040 30583(invalid I guess)
this extra thread was created after a long run, not reproduce able easily. My thread(516) stopped at read system call indefinitely and creating new thread(7502) which is not implemented.
Any idea why this is happening.
I have traced each process Process Descriptor details are:
PID=433 :
process =test -->pid=433
process Ppid=1 name=init
process state=1
process nice=0
process flag=320
process flag(in hex)=0X00000140
process session=433
process locks=0
process start_time=9206
process sleep_time=69724290
process cpus_runnable=1
process cpus_allowed=-1
process ptrace=0
process min_flt=1598088
process maj_flt=250
process lock depth=-1
exit code =0
exit signal =17
pdeath signal =0
sigpending =0
========= THREAD INFO ==================
thread fpexc_mode=2304
thread last_syscall=102
thread fpscr=-1912569856
-------------------------------------------------------------
PID=435 :
process =test -->pid=435
process Ppid=433 name=test
process state=1
process nice=0
process flag=64
process flag(in hex)=0X00000040
process session=433
process locks=0
process start_time=9214
process sleep_time=69724600
process cpus_runnable=1
process cpus_allowed=-1
process ptrace=0
process min_flt=38731
process maj_flt=0
process lock depth=-1
exit code =0
exit signal =0
pdeath signal =0
sigpending =0
========= THREAD INFO ==================
thread fpexc_mode=2304
thread last_syscall=167
thread fpscr=0
-------------------------------------------------------------
PID=436 :
process =test -->pid=436
process Ppid=435 name=test
process state=1
process nice=0
process flag=64
process flag(in hex)=0X00000040
process session=433
process locks=0
process start_time=9217
process sleep_time=9221
process cpus_runnable=1
process cpus_allowed=-1
process ptrace=0
process min_flt=0
process maj_flt=1
process lock depth=-1
exit code =0
exit signal =33
pdeath signal =0
sigpending =0
========= THREAD INFO ==================
thread fpexc_mode=2304
thread last_syscall=178
thread fpscr=0
-------------------------------------------------------------
PID=437 :
process =test -->pid=437
process Ppid=435 name=test
process state=1
process nice=0
process flag=64
process flag(in hex)=0X00000040
process session=433
process locks=0
process start_time=9217
process sleep_time=9229
process cpus_runnable=1
process cpus_allowed=-1
process ptrace=0
process min_flt=0
process maj_flt=0
process lock depth=-1
exit code =0
exit signal =33
pdeath signal =0
sigpending =0
========= THREAD INFO ==================
thread fpexc_mode=2304
thread last_syscall=178
thread fpscr=0
-------------------------------------------------------------
PID=516 :
process =test -->pid=516
process Ppid=435 name=test
process state=1
process nice=0
process flag=320
process flag(in hex)=0X00000140
process session=433
process locks=0
process start_time=9904
process sleep_time=9163388
process cpus_runnable=1
process cpus_allowed=-1
process ptrace=0
process min_flt=2676836
process maj_flt=39
process lock depth=-1
exit code =0
exit signal =33
pdeath signal =0
sigpending =0
========= THREAD INFO ==================
thread fpexc_mode=2304
thread last_syscall=3
thread fpscr=-1979678720
-------------------------------------------------------------
PID=7502 :
process =test -->pid=7502
process Ppid=516 name=test
process state=0
process nice=0
process flag=64
process flag(in hex)=0X00000040
process session=433
process locks=0
process start_time=9163385
process sleep_time=9163383
process cpus_runnable=1
process cpus_allowed=-1
process ptrace=0
process min_flt=7
process maj_flt=0
process lock depth=-1
exit code =0
exit signal =17
pdeath signal =0
sigpending =1
========= THREAD INFO ==================
thread fpexc_mode=2304
thread last_syscall=30583
thread fpscr=-1979678720
-------------------------------------------------------------
Any help is appreciable
Thanks,
Ashok
Last edited by ashok449; 03-19-2009 at 07:59 AM.
|