Public bug reported:

Ubuntu Precise, amd64, powernap 2.17-0ubuntu2

Symptoms: system gets shut down even under load, although the
loadmonitor had been configured.

Fix:

/usr/lib/python2.7/dist-packages/powernap/monitors/LoadMonitor.py :

Replace

 36         if os.getloadavg()[0] > t:

with

 36         if os.getloadavg()[0] > float(t):

and it works.

** Affects: powernap
     Importance: Undecided
         Status: New

** Affects: powernap (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: powernap (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1306994

Title:
  powernap loadavg monitor fails to detect load

To manage notifications about this bug go to:
https://bugs.launchpad.net/powernap/+bug/1306994/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to