powernap loadavg monitor fails to detect load
Bug #1306994 reported by
Cinquero
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
powernap |
New
|
Undecided
|
Unassigned | ||
powernap (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Ubuntu Precise, amd64, powernap 2.17-0ubuntu2
Symptoms: system gets shut down even under load, although the loadmonitor had been configured.
Fix:
/usr/lib/
Replace
36 if os.getloadavg()[0] > t:
with
36 if os.getloadavg()[0] > float(t):
and it works.
To post a comment you must log in.