Editing UBC Monitoring

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
 
Monitoring /proc/user_beancounters to see if any containers are hitting limits is an important part of
 
Monitoring /proc/user_beancounters to see if any containers are hitting limits is an important part of
managing an OpenVZ installation. Containers that are hitting key limits can have applications malfunction in strange ways that can only be diagnosed by realising that it is a UBC configuration issue.
+
managing an OpenVZ installation. containers that are hitting key limits can have applications malfunction in strange
 +
ways that can only be diagnosed by realising that it is a UBC configuration issue.
  
A small script, '''failcnt.py''', can run via cron on the host node and watch all VEs for failures.  It emails the host node admin a failure summary.
 
  
To get the latest version using bzr, run:
+
This script, when run periodically (using cron) will detect changes in the failcnt field of /proc/user_beancounters
 
 
  bzr branch lp:tkmisc
 
  cd tkmisc/vz_failcnt
 
 
 
It can also be downloaded from:
 
  
https://launchpad.net/tkmisc/
+
[http://img.cs.montana.edu/linux/openvz/failcnt.py failcnt.py]
or
 
http://bazaar.launchpad.net/~toykeeper/tkmisc/trunk/files
 
 
 
Then, to install it, create '''/etc/cron.hourly/vz-failcnt''', containing:
 
 
 
  #!/bin/sh
 
  /path/to/tkmisc/vz_failcnt/failcnt.py
 
 
 
This script, when run periodically (using cron) will detect changes in the failcnt field of /proc/user_beancounters
 
  
  
 
[[Category: Troubleshooting]]
 
[[Category: Troubleshooting]]

Please note that all contributions to OpenVZ Virtuozzo Containers Wiki may be edited, altered, or removed by other contributors. If you don't want your writing to be edited mercilessly, then don't submit it here.
If you are going to add external links to an article, read the External links policy first!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)