<?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>IT Know-It-All &#187; cpu</title>
	<atom:link href="http://itkia.com/tag/cpu/feed/" rel="self" type="application/rss+xml" />
	<link>http://itkia.com</link>
	<description>Applications, OS, Networking, Data</description>
	<lastBuildDate>Sat, 31 Jul 2010 12:53:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>VPS and Sneaky CPU Problems</title>
		<link>http://itkia.com/vps-and-sneaky-cpu-problems/</link>
		<comments>http://itkia.com/vps-and-sneaky-cpu-problems/#comments</comments>
		<pubDate>Tue, 17 Oct 2006 03:09:45 +0000</pubDate>
		<dc:creator>IT Know-It-All</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[cpu]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[vps]]></category>
		<category><![CDATA[vz]]></category>

		<guid isPermaLink="false">http://itkia.com/?p=51</guid>
		<description><![CDATA[My scheduled backup processes made web apps unresponsive.]]></description>
			<content:encoded><![CDATA[<div>
<p>While trying to find the perfect balance to make my sites run well out of my small VPS I noticed that my CPU usage was spiking. Unlike memory issues the Virtuozzo Power Panel didn&#8217;t issue a QoS alert for CPU overages. Apparently when you use too much CPU you just don&#8217;t get cycles for a while. Due to the spiky nature of CPU usage you don&#8217;t see the problem unless you catch it near the top of a spike.</p>
<p>I realized that my backup processes were helping to spike the CPU. I have a cron job to a mysql dump, and I have a remote machine regularly ssh/rsync in to copy files off. ssh and rsync use quite a bit of CPU. I should&#8217;ve realized that would happen, but &#8220;duhhhh&#8221;. I changed all my nonessential scripts to &#8220;nice&#8221; the commands. rsync was a bit tricky to get &#8220;nice&#8221;d, but I found the answers via Googling. What&#8217;s interesting is that Virtuozzo doesn&#8217;t seem to count the nice&#8217;d processes against the VPS&#8217;s CPU usage. They used spare host cycles apparently, and there are tons of spare host cycles. I think I actually sped my backups up with &#8220;nice&#8221;.</p>
<p>It&#8217;s tempting to try to run services nice&#8217;d, because I seem to get more &#8220;spare&#8221; cpu cycles than I get normal ones, but I have a feeling that will cause one problem or another down the line.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://itkia.com/vps-and-sneaky-cpu-problems/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
