views:

1303

answers:

1

Hi!

when I try to fine-tune my process, I see that the waiting channel is stext, what does it mean? thanks

mehageg

+4  A: 

WCHAN is the address within the kernel where the process is sleeping (if it is indeed sleeping). Having it set to stext usually means that your kernel predates 2.6 and you haven't initialized System.map (namelist file) or your kernel and namelist file don't match.

If you do a "man ps" and search for wchan, it will tell you the search path for the namelist file. It's likely the first one it's finding doesn't match the kernel you've got since stext is the start of the kernel TEXT segment and you're unlikely to be sleeping there.

I believe if the address is outside the TEXT segment, you'll get stext by default (hence my thoughts that your namelist file and kernel don't match).

paxdiablo
thanksI have no /etc/psdatabase (nor a boot) where can it be found?I use kernel: 2.6.18-53.1.14.el5PAE
kiwi
Which distro are you using? /etc/psdatabase is not listed in the search path indicated by my ps man page (unless it's $PS_SYSMAP or $PS_SYSTEM_MAP). Or are you doing "ps -l -n /etc/psdatabase"?
paxdiablo