<?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>Michael Helm&#039;s Technology Blog &#187; shm</title>
	<atom:link href="http://www.ihelm.org.uk/tag/shm/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ihelm.org.uk</link>
	<description>Linux Servers, Cpanel and Mysql along with my own tech thoughts</description>
	<lastBuildDate>Thu, 29 Sep 2011 22:19:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Resizing Ram disk in Linux (/dev/shm)</title>
		<link>http://www.ihelm.org.uk/2010/04/resizing-ram-disk-in-linux-devshm/</link>
		<comments>http://www.ihelm.org.uk/2010/04/resizing-ram-disk-in-linux-devshm/#comments</comments>
		<pubDate>Wed, 28 Apr 2010 08:52:39 +0000</pubDate>
		<dc:creator>mhelm</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[fstab]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ram]]></category>
		<category><![CDATA[shm]]></category>

		<guid isPermaLink="false">http://www.ihelm.org.uk/?p=117</guid>
		<description><![CDATA[As many people know linux has a built in ramdisk - this is temporary memory and is very very fast (as it's in ram).  AS standard linux allocates 50% of your ram to this (don't worry if you don't use it linux uses all your ram anyway).

However sometimes you may decide the 50% is not enough (or is too much) ]]></description>
			<content:encoded><![CDATA[<p>As many people know linux has a built in ramdisk &#8211; this is temporary memory and is very very fast (as it&#8217;s in ram).  AS standard linux allocates 50% of your ram to this (don&#8217;t worry if you don&#8217;t use it linux uses all your ram anyway).</p>
<p>However sometimes you may decide the 50% is not enough (or is too much) &#8211; especially if the server is upgradeable you may decide you would want to manage the percentage.</p>
<p>Below is an example default entry from /etc/fstab</p>
<pre>tmpfs                           /dev/shm        tmpfs   defaults        0 0
</pre>
<p>This just creates the temporary system using default settings &#8211; nothing fancy &#8211; however if you want it to take 75%  of your ram (or any other percentage) just change it to the code below</p>
<p>- reboot (or remount) and your done.</p>
<pre>tmpfs                           /dev/shm                        tmpfs   size=75%                                0 0

How to unmount the tmpfs

umount tmpfs

To remount it with the new settings

mount tmpfs
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.ihelm.org.uk/2010/04/resizing-ram-disk-in-linux-devshm/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

