<?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>Sys-Admin Information&#039;s &#187; shmmax</title>
	<atom:link href="http://sysinfo.bascomp.org/tag/shmmax/feed/" rel="self" type="application/rss+xml" />
	<link>http://sysinfo.bascomp.org</link>
	<description></description>
	<lastBuildDate>Fri, 23 Apr 2010 09:43:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Change SHMMAX without rebooting</title>
		<link>http://sysinfo.bascomp.org/2008/02/change-shmmax-without-rebooting/</link>
		<comments>http://sysinfo.bascomp.org/2008/02/change-shmmax-without-rebooting/#comments</comments>
		<pubDate>Thu, 21 Feb 2008 10:26:19 +0000</pubDate>
		<dc:creator>Hendrawan</dc:creator>
				<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Tunable Parameters]]></category>
		<category><![CDATA[shmmax]]></category>
		<category><![CDATA[tunable parameter]]></category>

		<guid isPermaLink="false">http://sysinfo.bascomp.org/2008/02/21/change-shmmax-without-rebooting/</guid>
		<description><![CDATA[Shmmax parameter is supposed to be the maximum size of a single shared memory segments  (and the oracle sga is build out of these shared memory segments).
New to the Solaris 8 release is the modular debugger, mdb(1), which is unique among
available Solaris debuggers because it is easily extensible. Mdb(1) also includes a number of [...]]]></description>
			<content:encoded><![CDATA[<p>Shmmax parameter is supposed to be the maximum size of a single shared memory segments  (and the oracle sga is build out of these shared memory segments).</p>
<p>New to the Solaris 8 release is the modular debugger, mdb(1), which is unique among<br />
available Solaris debuggers because it is easily extensible. Mdb(1) also includes a number of desirable usability features including command-line editing, command history, built-in output pager, syntax checking, and command pipelining. This is the recommended post-mortem debugger for the kernel.</p>
<p>To change the value of the integer variable shmmax from 8GB to 10 GB without Reboot Server, do the following</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>system <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>system_old</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> shminfo_shmmax <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>system
<span style="color: #000000; font-weight: bold;">set</span> shmsys:<span style="color: #007800;">shminfo_shmmax</span>=<span style="color: #000000;">8589934592</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> mdb <span style="color: #660033;">-k</span>
Loading modules: <span style="color: #7a0874; font-weight: bold;">&#91;</span> unix krtld genunix ip usba s1394 ipc nfs ptm logindmux random <span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #000000; font-weight: bold;">&gt;</span> shminfo_shmmax <span style="color: #000000; font-weight: bold;">/</span>D
shminfo_shmmax:
shminfo_shmmax: <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">&gt;</span> shminfo_shmmax <span style="color: #000000; font-weight: bold;">/</span>E
shminfo_shmmax:
shminfo_shmmax: <span style="color: #000000;">8589934592</span>
<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #007800;">$q</span></pre></div></div>

<p>At we can see the "shminfo_shmmax" use a 64 bit value, let's start to change the value</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> mdb <span style="color: #660033;">-kw</span>
Loading modules: <span style="color: #7a0874; font-weight: bold;">&#91;</span> unix krtld genunix ip usba s1394 ipc nfs ptm logindmux random <span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #000000; font-weight: bold;">&gt;</span> shminfo_shmmax <span style="color: #000000; font-weight: bold;">/</span>Z 0t10737418240
shminfo_shmmax: 0x5f5e10000             =       0x19000
<span style="color: #000000; font-weight: bold;">&gt;</span> shminfo_shmmax <span style="color: #000000; font-weight: bold;">/</span>E
shminfo_shmmax:
shminfo_shmmax: <span style="color: #000000;">10737418240</span>
<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #007800;">$q</span></pre></div></div>

<p>After successfully, change the parameter "shminfo_shmmax"  at /etc/system with same value on mdb</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>system
<span style="color: #000000; font-weight: bold;">set</span> shmsys:<span style="color: #007800;">shminfo_shmmax</span>=<span style="color: #000000;">10737418240</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://sysinfo.bascomp.org/2008/02/change-shmmax-without-rebooting/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
