- rewrite pl_mom.pl
authorMark Huang <mlhuang@cs.princeton.edu>
Fri, 28 Apr 2006 19:26:59 +0000 (19:26 +0000)
committerMark Huang <mlhuang@cs.princeton.edu>
Fri, 28 Apr 2006 19:26:59 +0000 (19:26 +0000)
commit42dbe689a93025034f3e798174e54f3e2a0d3371
tree17a631b28cb529709639436a38588db2c9fa5a4e
parent9a8e3a2c8239c54110223f8bfcd0ef7dacf52365
- rewrite pl_mom.pl
- now single-threaded, several other improvements
- pick up support and slice e-mail addresses, and system slice prefix,
  from PLC configuration in /etc/planetlab
- use vserver.py module to reset slices instead of exec()ing chcontext
- use vps instead of slicestat; slicestat may not run on all nodes, in
  particular, does not run on private PlanetLab nodes. Calling vps is
  much faster than querying slicestat.
- list slices active before reboot, in the reboot notification
- list all slice processes running before reset, in the reset
  notification
- previously, only the reboot threshold was checked every second. Now,
  both reboot and reset thresholds are checked every second. Since it is
  relatively expensive and can take a while to run under heavy load, vps
  is still run only every 30 seconds, or when a large change in swap
  utilization is detected. This cuts down on the time necessary to
  detect fast growing hogs, before critical utilization is reached.
swapmon.py [new file with mode: 0755]