<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.umbo.fr/skins/common/feed.css?301"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
		<id>http://wiki.umbo.fr/index.php?action=history&amp;feed=atom&amp;title=Shmax</id>
		<title>Shmax - Historique des versions</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.umbo.fr/index.php?action=history&amp;feed=atom&amp;title=Shmax"/>
		<link rel="alternate" type="text/html" href="http://wiki.umbo.fr/index.php?title=Shmax&amp;action=history"/>
		<updated>2026-06-19T06:46:58Z</updated>
		<subtitle>Historique pour cette page sur le wiki</subtitle>
		<generator>MediaWiki 1.17.0</generator>

	<entry>
		<id>http://wiki.umbo.fr/index.php?title=Shmax&amp;diff=3014&amp;oldid=prev</id>
		<title>Admin le 15 janvier 2013 à 14:43</title>
		<link rel="alternate" type="text/html" href="http://wiki.umbo.fr/index.php?title=Shmax&amp;diff=3014&amp;oldid=prev"/>
				<updated>2013-01-15T14:43:15Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Version précédente&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Version du 15 janvier 2013 à 14:43&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 33 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 33 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; shmall=`expr $phys_pages / 2` &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; shmall=`expr $phys_pages / 2` &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; shmmax=`expr $shmall \* $page_size`&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; shmmax=`expr $shmall \* $page_size`&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;minus;&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; echo \# Maximum shared segment size in bytes&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; echo \# Maximum shared segment size in bytes&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; echo kernel.shmmax = $shmmax &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; echo kernel.shmmax = $shmmax &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; echo \# Maximum number of shared memory segments in pages&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; echo \# Maximum number of shared memory segments in pages&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; echo kernel.shmall = $shmall&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; echo kernel.shmall = $shmall&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	<entry>
		<id>http://wiki.umbo.fr/index.php?title=Shmax&amp;diff=3013&amp;oldid=prev</id>
		<title>Admin : Page créée avec « http://www.postgresql.org/docs/9.1/static/runtime-config-resource.html  https://gist.github.com/1285137    #!/bin/bash  # http://archives.postgresql.org/pgsql-admin/2010-05/m... »</title>
		<link rel="alternate" type="text/html" href="http://wiki.umbo.fr/index.php?title=Shmax&amp;diff=3013&amp;oldid=prev"/>
				<updated>2013-01-15T14:43:03Z</updated>
		
		<summary type="html">&lt;p&gt;Page créée avec « http://www.postgresql.org/docs/9.1/static/runtime-config-resource.html  https://gist.github.com/1285137    #!/bin/bash  # http://archives.postgresql.org/pgsql-admin/2010-05/m... »&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;http://www.postgresql.org/docs/9.1/static/runtime-config-resource.html&lt;br /&gt;
&lt;br /&gt;
https://gist.github.com/1285137&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 # http://archives.postgresql.org/pgsql-admin/2010-05/msg00285.php&lt;br /&gt;
 # Output lines suitable for sysctl configuration based&lt;br /&gt;
 # on total amount of RAM on the system. The output&lt;br /&gt;
 # will allow up to 50% of physical memory to be allocated&lt;br /&gt;
 # into shared memory.&lt;br /&gt;
 # On Linux, you can use it as follows (as root):&lt;br /&gt;
 #&lt;br /&gt;
 # ./shmsetup &amp;gt;&amp;gt; /etc/sysctl.conf&lt;br /&gt;
 # sysctl -p&lt;br /&gt;
 # Early FreeBSD versions do not support the sysconf interface&lt;br /&gt;
 # used here. The exact version where this works hasn't&lt;br /&gt;
 # been confirmed yet.&lt;br /&gt;
 &lt;br /&gt;
 page_size=`getconf PAGE_SIZE`&lt;br /&gt;
 phys_pages=`getconf _PHYS_PAGES`&lt;br /&gt;
 &lt;br /&gt;
 if [ -z &amp;quot;$page_size&amp;quot; ]; then&lt;br /&gt;
 echo Error: cannot determine page size&lt;br /&gt;
 exit 1&lt;br /&gt;
 fi&lt;br /&gt;
 &lt;br /&gt;
 if [ -z &amp;quot;$phys_pages&amp;quot; ]; then&lt;br /&gt;
 echo Error: cannot determine number of memory pages&lt;br /&gt;
 exit 2&lt;br /&gt;
 fi&lt;br /&gt;
 &lt;br /&gt;
 shmall=`expr $phys_pages / 2` &lt;br /&gt;
 shmmax=`expr $shmall \* $page_size`&lt;br /&gt;
&lt;br /&gt;
 echo \# Maximum shared segment size in bytes&lt;br /&gt;
 echo kernel.shmmax = $shmmax &lt;br /&gt;
 echo \# Maximum number of shared memory segments in pages&lt;br /&gt;
 echo kernel.shmall = $shmall&lt;/div&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	</feed>