Opened 8 years ago
Closed 8 years ago
#1455 closed patch (fixed)
Wrong load for cluster queue with 0 slots
Reported by: | njoly | Owned by: | Dave Love <d.love@…> |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | sge | Version: | 8.1.3 |
Severity: | minor | Keywords: | |
Cc: |
Description
When a cluster queue is that has hosts but is set to have 0 slots the rported load for that queue is wrong:
njoly@lanfeust [~]> qstat -g c
CLUSTER QUEUE CQLOAD USED RES AVAIL TOTAL aoACDS cdsuE
empty nan 0 0 0 0 0 0
The reported "nan" value results in a division by zero ...
The provided patch do fix it by marking load as unavailable if there is no slots in the cluster queue.
njoly@lanfeust [~]> qstat -g c
CLUSTER QUEUE CQLOAD USED RES AVAIL TOTAL aoACDS cdsuE
empty -NA- 0 0 0 0 0 0
Attachments (1)
Change History (3)
Changed 8 years ago by njoly
comment:2 Changed 8 years ago by dlove
That looks familiar, so I'm surprised it wasn't fixed.
Merci!
comment:3 Changed 8 years ago by Dave Love <d.love@…>
- Owner set to Dave Love <d.love@…>
- Resolution set to fixed
- Status changed from new to closed
In 4495/sge:
Fix for load output with 0 slots cluster queue