<?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>Space Babies &#187; unix</title>
	<atom:link href="http://www.spacebabies.nl/category/unix/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.spacebabies.nl</link>
	<description>extraterrestrialicious web apps</description>
	<lastBuildDate>Wed, 18 Jan 2012 21:52:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Ubuntu&#8217;s number one bug</title>
		<link>http://www.spacebabies.nl/2010/09/17/ubuntus-number-one-bug/</link>
		<comments>http://www.spacebabies.nl/2010/09/17/ubuntus-number-one-bug/#comments</comments>
		<pubDate>Fri, 17 Sep 2010 18:51:25 +0000</pubDate>
		<dc:creator>joost</dc:creator>
				<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.spacebabies.nl/?p=800</guid>
		<description><![CDATA[After all this time, Ubuntu still hasn&#8217;t closed their number one bug! (read it. it&#8217;s funny)]]></description>
			<content:encoded><![CDATA[<p>After all this time, Ubuntu still hasn&#8217;t closed their <a href="https://launchpad.net/ubuntu/+bug/1">number one bug</a>! (read it. it&#8217;s funny)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.spacebabies.nl/2010/09/17/ubuntus-number-one-bug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Package unmanager</title>
		<link>http://www.spacebabies.nl/2007/02/22/package-unmanager/</link>
		<comments>http://www.spacebabies.nl/2007/02/22/package-unmanager/#comments</comments>
		<pubDate>Thu, 22 Feb 2007 16:30:40 +0000</pubDate>
		<dc:creator>joost</dc:creator>
				<category><![CDATA[ruby]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.spacebabies.nl/blog/2007/02/22/package-unmanager/</guid>
		<description><![CDATA[There&#8217;s a reason I&#8217;m reluctant use a package manager. They can be great when they work, but when they fail you&#8217;re dead in the water. And I mean really dead. Case in point: the rubygems package manager. Great when it &#8230; <a href="http://www.spacebabies.nl/2007/02/22/package-unmanager/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>There&#8217;s a reason I&#8217;m reluctant use a package manager.</p>
<p>They can be great when they work, but when they fail you&#8217;re dead in the water. And I mean really dead. Case in point: the rubygems package manager. Great when it works! But when I was confronted with a misbehaving Ruby app, here&#8217;s what happened.</p>
<p><span id="more-18"></span></p>
<p>The biggest problem of this particular app was memory usage. I feared a leak would be present. Leaks are relatively uncommon in Ruby I should tell you. The garbage collector is so dumb [intentionally?] that it works nearly all the time. Besides, by consistently using blocks, there is no chance to leave referenced objects hanging around. They&#8217;re immediately out of scope and destroyed.</p>
<p>There are a few notorious packages though and <a href="http://rmagick.rubyforge.org/">RMagick</a> is one of those. Even though most leaks are now fixed, back in the day [2005] there were plenty. So even though the author stated that all leaks had been resolved, I had my suspicions.</p>
<p>One <code>gem uninstall rmagick</code> and a few strategic edits later, I was in business. Or so I thought! Memory was still used a lot. It seemed to not have made any difference. And so ensued a full week of bug hunting, disabling more and more services [even changing web servers, but I had been planning to anyway]. Nothing helped.</p>
<p>Then it dawned on me to do a locate RMagick on the server. And loooky! All of RMagick is still everywhere! In site-ruby, not as a gem, but still there anyway. And good ole Ruby found this lingering RMagick just fine and used it. Of course, this lingering version was positively <strong>ancient</strong> and full of impressive leaks. Great stuff. A hard core rm -rf finally did the trick.</p>
<p>Apparently, that was it. I was just so focused on using rubygems [first; installing the latest version; then removing the gem] that it didn&#8217;t occur to look a bit further.</p>
<p>Note to self: there is one way to install software on unix.</p>
<p><code>tar xvfz <em>package</em><br />
./configure<br />
make<br />
sudo make install</code></p>
<p>Everything else is asking for trouble.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.spacebabies.nl/2007/02/22/package-unmanager/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

