<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>thumperthoughts &#187; godaddy</title>
	<atom:link href="http://redhunter.com/blog/tag/godaddy/feed/" rel="self" type="application/rss+xml" />
	<link>http://redhunter.com</link>
	<description>random vibrations and clatterings</description>
	<lastBuildDate>Tue, 17 Apr 2012 05:56:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>GoDaddy (Virtuozzo) Virtual Server in cacti</title>
		<link>http://redhunter.com/blog/2010/02/13/godaddy-virtuozzo-virtual-server-in-cacti/</link>
		<comments>http://redhunter.com/blog/2010/02/13/godaddy-virtuozzo-virtual-server-in-cacti/#comments</comments>
		<pubDate>Sat, 13 Feb 2010 21:46:02 +0000</pubDate>
		<dc:creator>Alastair</dc:creator>
				<category><![CDATA[technology]]></category>
		<category><![CDATA[cacti]]></category>
		<category><![CDATA[godaddy]]></category>
		<category><![CDATA[virtuozzo]]></category>

		<guid isPermaLink="false">http://redhunter.com/blog/?p=81</guid>
		<description><![CDATA[A business site I provide some support to runs on a GoDaddy virtual Linux server. We were having some performance issues so I dug into the available data and found we were hitting our memory limits. It seems the Virtuozzo system used by GoDaddy has hard and soft resource limits &#8211; you can go over the [...]]]></description>
			<content:encoded><![CDATA[<p>A business site I provide some support to runs on a <a href="http://www.godaddy.com" target="_blank">GoDaddy</a> virtual Linux server. We were having some performance issues so I dug into the available data and found we were hitting our memory limits. It seems the <a href="http://www.parallels.com/landingpage/dskd45-2/?_kk=virtuozzo" target="_blank">Virtuozzo</a> system used by GoDaddy has hard and soft resource limits &#8211; you can go over the soft limits for short periods but after a while bad things start to happen. Like Virtuozzo shooting your processes in the head. As the applications and OS think they have the hard limit available, staying below the soft limit is problematic.</p>
<p>Virtuozzo makes status information available in <strong>/proc/user_beancounters</strong>. The different fields are pretty cryptic &#8211; their meanings are described in detail <a href="http://download.swsoft.com/virtuozzo/virtuozzo4.0/docs/en/lin/VzLinuxUBCMgmt/18760.htm">here</a>.</p>
<p>The attached zip file contains two cacti template exported from <a href="http://www.cacti.net/" target="_blank">Cacti</a> version <strong>Version 0.8.7b, </strong>a snippet to add to the snmpd.conf on the server and a one line shell script called <strong>readbeans </strong>which is called by the snmpd agent. Deploy these latter items on your GoDaddy VM and suck the templates into Cacti. This will give you a &#8220;Virtuozzo Beancounters&#8221; data query which you can add to your device which should give you access to 20 graphs (don&#8217;t check resource, that one is bogus).</p>
<p>I found that building a compound graph like this brought together the most interesting values:</p>
<p style="text-align: center;"><a href="http://redhunter.com/wp-content/uploads/2010/02/virtuozzo11.png"><img class="size-full wp-image-231 aligncenter" title="virtuozzo1" src="http://redhunter.com/wp-content/uploads/2010/02/virtuozzo11.png" alt="" width="598" height="191" /></a></p>
<p>This long term graph shows where I implemented the crude but effective solution of restarting various system processes nightly (snmpd, httpd, mysqld, named and Plesk), some of which were gradual memory hogs.</p>
<p style="text-align: center;"><a href="http://redhunter.com/wp-content/uploads/2010/02/virtuozzo211.png"><img class="size-full wp-image-232 aligncenter" title="virtuozzo21" src="http://redhunter.com/wp-content/uploads/2010/02/virtuozzo211.png" alt="" width="587" height="250" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a href="http://redhunter.com/cacti/virtuozzo.zip">Download this template</a></p>
]]></content:encoded>
			<wfw:commentRss>http://redhunter.com/blog/2010/02/13/godaddy-virtuozzo-virtual-server-in-cacti/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

