Bug 748825
Summary: | Load avg not detected on Linux 3.x kernel | ||
---|---|---|---|
Product: | Red Hat Enterprise MRG | Reporter: | Matthew Farrellee <matt> |
Component: | condor | Assignee: | Matthew Farrellee <matt> |
Status: | CLOSED ERRATA | QA Contact: | Tomas Rusnak <trusnak> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 2.0 | CC: | jneedle, matt, trusnak, tstclair |
Target Milestone: | 2.1 | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | condor-7.6.5-0.3 | Doc Type: | Bug Fix |
Doc Text: |
Load average detection is specific for each kernel major version and only supports kernels of version 1 or 2.
Consequently, the load average would appear to be "-1" under a kernel 3.x. This update adds support for load average detection under kernels 3.x, implemented identically as for previous kernel versions, with the /proc/loadavg utility unchanged.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2012-01-23 17:29:35 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 743350 |
Description
Matthew Farrellee
2011-10-25 13:15:13 UTC
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: C: Load average detection is kernel major version specific, only supporting v1 and v2 C: Load average would appear to be -1. F: Added support for v3 (identical detection as v1 & v2, /proc/loadavg did not change). R: Load average detection works on v3 kernels. Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1,4 +1 @@ -C: Load average detection is kernel major version specific, only supporting v1 and v2 +C: Load average detection is kernel major version specific, only supporting v1 and v2 C: Load average would appear to be -1. F: Added support for v3 (identical detection as v1 & v2, /proc/loadavg did not change). R: Load average detection works on v3 kernels.-C: Load average would appear to be -1. -F: Added support for v3 (identical detection as v1 & v2, /proc/loadavg did not change). -R: Load average detection works on v3 kernels. Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1 +1,4 @@ -C: Load average detection is kernel major version specific, only supporting v1 and v2 C: Load average would appear to be -1. F: Added support for v3 (identical detection as v1 & v2, /proc/loadavg did not change). R: Load average detection works on v3 kernels.+C: Load average detection is kernel major version specific, only supporting v1 and v2 +C: Load average would appear to be -1. +F: Added support for v3 (identical detection as v1 & v2, /proc/loadavg did not change). +R: Load average detection works on v3 kernels. Reproduced with: $CondorVersion: 7.6.3 Jul 27 2011 BuildID: RH-7.6.3-0.3.el6 $ $CondorPlatform: X86_64-RedHat_6.1 $ 11/03/11 09:21:13 fgets failed 11/03/11 09:21:13 /proc format unknown for kernel version 3.0.811/03/11 09:21:13 CronJobList: Adding job 'mips' # uname -a Linux localhost 3.0.8-rt20.38.el6rt.x86_64 #1 SMP PREEMPT RT Thu Oct 27 17:41:50 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux # condor_config_val NUM_CPUS 1 # condor_status -l | grep LoadAvg TotalLoadAvg = -1.000000 CpuBusy = ( ( LoadAvg - CondorLoadAvg ) >= 0.500000 ) LoadAvg = -1.000000 TotalCondorLoadAvg = -1.000000 CondorLoadAvg = -1.000000 # condor_status -format "%d, " LoadAvg -format "%d, " CondorLoadAvg -format "%d, " TotalLoadAvg -format "%d\n" TotalCondorLoadAvg -1, -1, -1, -1 # condor -v
$CondorVersion: 7.6.5 Oct 31 2011 BuildID: RH-7.6.5-0.5.el6 $
$CondorPlatform: X86_64-RedHat_6.1 $
# uname -a
Linux localhost 3.0.8-rt20.38.el6rt.x86_64 #1 SMP PREEMPT RT Thu Oct 27 17:41:50 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
# condor_config_val NUM_CPUS
1
# condor_status -l | grep LoadAvg
TotalLoadAvg = 0.230000
CpuBusy = ( ( LoadAvg - CondorLoadAvg ) >= 0.500000 )
LoadAvg = 0.230000
TotalCondorLoadAvg = 0.0
CondorLoadAvg = 0.0
# condor_status -format "%d, " LoadAvg -format "%d, " CondorLoadAvg -format "%d, " TotalLoadAvg -format "%d\n" TotalCondorLoadAvg
0, 0, 0, 0
No such /proc compatibility error found in StartLog:
11/03/11 09:28:26 CronJobList: Adding job 'mips'
11/03/11 09:28:26 CronJobList: Adding job 'kflops'
11/03/11 09:28:26 CronJob: Initializing job 'mips' (/usr/libexec/condor/condor_mips)
11/03/11 09:28:26 CronJob: Initializing job 'kflops' (/usr/libexec/condor/condor_kflops)
...
>>> VERIFIED
Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1,4 +1,2 @@ -C: Load average detection is kernel major version specific, only supporting v1 and v2 +Load average detection is specific for each kernel major version and only supports kernels of version 1 or 2. -C: Load average would appear to be -1. +Consequently, the load average would appear to be "-1" under a kernel 3.x. This update adds support for load average detection under kernels 3.x, implemented identically as for previous kernel versions, with the /proc/loadavg utility unchanged.-F: Added support for v3 (identical detection as v1 & v2, /proc/loadavg did not change). -R: Load average detection works on v3 kernels. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2012-0045.html |