Description of problem: A threaded program can hide the cpu and io load since the main thread is the only one reported by top(1). Version-Release number of selected component (if applicable): kernel-smp-2.6.9-11.EL (x86/x86_64 UP/SMP) (not relevant procps-3.2.3-8.1, glibc-2.3.4-2.9, gcc-3.4.3-22.1) How reproducible: Always Steps to Reproduce: 1. download the test case (loop.tgz) 2. tar xzvf loop.tgz && cd loop.d && make 3. Actual results: - top(1) is low and does not show any cpu heating process - the load is high (%cpu and %sys) Expected results: the threaded program should be present in the top(1) processes. Additional info: 2.6.12 kernel from kernel.org does not exhibit this feature
Created attachment 116151 [details] test case
ok, thanks, this should be fixed in our latest testing kernels, can you please try the latest testing kernels at: http://people.redhat.com/~jbaron/rhel4/. thanks.
it is fixed in 2.6.9-11.21.ELsmp (x86_64) :) top - 19:06:34 up 21 min, 1 user, load average: 1.61, 0.56, 0.20 Tasks: 62 total, 2 running, 60 sleeping, 0 stopped, 0 zombie Cpu0 : 100.0% us, 0.0% sy, 0.0% ni, 0.0% id, 0.0% wa, 0.0% hi, 0.0% si Cpu1 : 6.9% us, 93.1% sy, 0.0% ni, 0.0% id, 0.0% wa, 0.0% hi, 0.0% si Mem: 4060192k total, 89376k used, 3970816k free, 9652k buffers Swap: 4192956k total, 0k used, 4192956k free, 36724k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 3217 tru 16 0 25660 472 372 S 99.7 0.0 3:09.11 loop ... Is there any known issue for 2.6.9-11.21.EL? I would rather not wait for U2 to get the fix for this thread issue :) Thank you
thanks for getting back so quickly on this :) I'm not aware of any serious issues with that kernel, however its not an officially supported kernel. Support can provide 'hotfixes', which are supported. So i suggest contacting our support. Red Hat's Technical Support line at 888-REDHAT-1 or file a web ticket at http://www.redhat.com/apps/support/. Feel free to follow up here, if there are any problems. thanks.
*** This bug has been marked as a duplicate of 152430 ***
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2005-514.html