<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.openvz.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=ToyKeeper</id>
	<title>OpenVZ Virtuozzo Containers Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.openvz.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=ToyKeeper"/>
	<link rel="alternate" type="text/html" href="https://wiki.openvz.org/Special:Contributions/ToyKeeper"/>
	<updated>2026-06-13T16:32:45Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.1</generator>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=UBC_Monitoring&amp;diff=5913</id>
		<title>UBC Monitoring</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=UBC_Monitoring&amp;diff=5913"/>
		<updated>2008-05-20T21:41:34Z</updated>

		<summary type="html">&lt;p&gt;ToyKeeper: linked to actual upstream code, instead of an outdated copy&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Monitoring /proc/user_beancounters to see if any containers are hitting limits is an important part of&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
To get the latest version using bzr, run:&lt;br /&gt;
&lt;br /&gt;
  bzr branch lp:tkmisc&lt;br /&gt;
  cd tkmisc/vz_failcnt&lt;br /&gt;
&lt;br /&gt;
It can also be downloaded from:&lt;br /&gt;
&lt;br /&gt;
https://launchpad.net/tkmisc/&lt;br /&gt;
or&lt;br /&gt;
http://bazaar.launchpad.net/~toykeeper/tkmisc/trunk/files&lt;br /&gt;
&lt;br /&gt;
Then, to install it, create '''/etc/cron.hourly/vz-failcnt''', containing:&lt;br /&gt;
&lt;br /&gt;
  #!/bin/sh&lt;br /&gt;
  /path/to/tkmisc/vz_failcnt/failcnt.py&lt;br /&gt;
&lt;br /&gt;
This script, when run periodically (using cron) will detect changes in the failcnt field of /proc/user_beancounters&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Troubleshooting]]&lt;/div&gt;</summary>
		<author><name>ToyKeeper</name></author>
		
	</entry>
</feed>