<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Linux/shmmax in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/linux-shmmax/m-p/3154554#M8830</link>
    <description>I support Oracle 8i &amp;amp; 9i on AS 2.1 for about 11 servers. Its alot easier to modify the /etc/sysctl.conf file than re-compile the kernel.. Here is what mine looks like &lt;BR /&gt;&lt;BR /&gt;# Disables packet forwarding&lt;BR /&gt;net.ipv4.ip_forward = 0&lt;BR /&gt;# Enables source route verification&lt;BR /&gt;net.ipv4.conf.default.rp_filter = 1&lt;BR /&gt;net.ipv4.ip_local_port_range = 1024 65000&lt;BR /&gt;# Disables the magic-sysrq key&lt;BR /&gt;kernel.sysrq = 0&lt;BR /&gt;#Oracle 9i release 2 parameters&lt;BR /&gt;kernel.sem= 250 32000 100 128&lt;BR /&gt;fs.file-max=65536&lt;BR /&gt;kernel.shmmax=2147483648&lt;BR /&gt;kernel.shmmni=4096&lt;BR /&gt;kernel.shmall=2097152&lt;BR /&gt;fs.aio-max-size=2147483648&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You don't even have to reboot, just do a sysctl -p  &lt;BR /&gt;&lt;BR /&gt;One other thing, when setting up a server for Oracle, I always use Oracle's Pre-Flight check script which verify's everything is setup correct in the environment before installation is attempted..  I've included it..</description>
    <pubDate>Fri, 02 Jan 2004 17:28:49 GMT</pubDate>
    <dc:creator>Don_89</dc:creator>
    <dc:date>2004-01-02T17:28:49Z</dc:date>
    <item>
      <title>Linux/shmmax</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-shmmax/m-p/3154549#M8825</link>
      <description>I am installing oracle 9i on RH 9.&lt;BR /&gt;I need to increase the shmmax param. error=ORA-27123 (unable to attach to shared memory segment. Running on an intel E800 with 512 RAM.&lt;BR /&gt;&lt;BR /&gt;1) how can I see the value of shmmax&lt;BR /&gt;2) how can I change it&lt;BR /&gt;&lt;BR /&gt;Is it something like echo 'Value' /proc/sys/kernel/shmmax ???&lt;BR /&gt;&lt;BR /&gt;But still, how do I see the current value?</description>
      <pubDate>Wed, 31 Dec 2003 09:49:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-shmmax/m-p/3154549#M8825</guid>
      <dc:creator>Nobody's Hero</dc:creator>
      <dc:date>2003-12-31T09:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: Linux/shmmax</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-shmmax/m-p/3154550#M8826</link>
      <description>Yes,&lt;BR /&gt;But cat /proc/sys/kernel/shmmax will show you the content.&lt;BR /&gt;Echo 3355442 &amp;gt; /proc/sys/kernel/shmmax will change the value.&lt;BR /&gt;Recompiling the kernel is required to change it on each reboot.&lt;BR /&gt;Don't forget that shmmax should be around 25 % of physical memory (/proc/meminfo/Mem). You may need to increase it on runngin Oracle.&lt;BR /&gt;&lt;BR /&gt;Close to celebrate new year here ! Happy new Year to you Robert !&lt;BR /&gt;&lt;BR /&gt;J</description>
      <pubDate>Wed, 31 Dec 2003 10:47:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-shmmax/m-p/3154550#M8826</guid>
      <dc:creator>Jerome Henry</dc:creator>
      <dc:date>2003-12-31T10:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: Linux/shmmax</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-shmmax/m-p/3154551#M8827</link>
      <description>And the same to you Jerome. Is there an easy command to recompile the kernel? I mean besides running xconfig?</description>
      <pubDate>Wed, 31 Dec 2003 10:53:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-shmmax/m-p/3154551#M8827</guid>
      <dc:creator>Nobody's Hero</dc:creator>
      <dc:date>2003-12-31T10:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: Linux/shmmax</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-shmmax/m-p/3154552#M8828</link>
      <description>Nope.&lt;BR /&gt;But you can add a script at boot time to echo the right value to shmmax file, it's easier than a full recompilation.&lt;BR /&gt;Just write a script called say myshmmax, which containt the echo command (echo you value &amp;gt; /proc/sys/kernel/shmmax).&lt;BR /&gt;Add it to /etc/rc.d/init.d&lt;BR /&gt;Link it in rc5.d or rc3.d with S'anumber'myshmmax, where 'anumber' is an available number you won't see used in rc3.d or rc5.d.&lt;BR /&gt;Thanks for your wishes !&lt;BR /&gt;&lt;BR /&gt;J</description>
      <pubDate>Wed, 31 Dec 2003 11:45:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-shmmax/m-p/3154552#M8828</guid>
      <dc:creator>Jerome Henry</dc:creator>
      <dc:date>2003-12-31T11:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: Linux/shmmax</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-shmmax/m-p/3154553#M8829</link>
      <description>I recommend to use sysctl interface instead of adding "echo xyq &amp;gt;/proc/..."; see "man sysctl" for more.&lt;BR /&gt;&lt;BR /&gt;Regarding kernel compilation for changing kernel params - we don't need this for 2.4 kernel; RH and Oracle don't recommend do it now.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Vitaly</description>
      <pubDate>Thu, 01 Jan 2004 03:23:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-shmmax/m-p/3154553#M8829</guid>
      <dc:creator>Vitaly Karasik_1</dc:creator>
      <dc:date>2004-01-01T03:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: Linux/shmmax</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-shmmax/m-p/3154554#M8830</link>
      <description>I support Oracle 8i &amp;amp; 9i on AS 2.1 for about 11 servers. Its alot easier to modify the /etc/sysctl.conf file than re-compile the kernel.. Here is what mine looks like &lt;BR /&gt;&lt;BR /&gt;# Disables packet forwarding&lt;BR /&gt;net.ipv4.ip_forward = 0&lt;BR /&gt;# Enables source route verification&lt;BR /&gt;net.ipv4.conf.default.rp_filter = 1&lt;BR /&gt;net.ipv4.ip_local_port_range = 1024 65000&lt;BR /&gt;# Disables the magic-sysrq key&lt;BR /&gt;kernel.sysrq = 0&lt;BR /&gt;#Oracle 9i release 2 parameters&lt;BR /&gt;kernel.sem= 250 32000 100 128&lt;BR /&gt;fs.file-max=65536&lt;BR /&gt;kernel.shmmax=2147483648&lt;BR /&gt;kernel.shmmni=4096&lt;BR /&gt;kernel.shmall=2097152&lt;BR /&gt;fs.aio-max-size=2147483648&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You don't even have to reboot, just do a sysctl -p  &lt;BR /&gt;&lt;BR /&gt;One other thing, when setting up a server for Oracle, I always use Oracle's Pre-Flight check script which verify's everything is setup correct in the environment before installation is attempted..  I've included it..</description>
      <pubDate>Fri, 02 Jan 2004 17:28:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-shmmax/m-p/3154554#M8830</guid>
      <dc:creator>Don_89</dc:creator>
      <dc:date>2004-01-02T17:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: Linux/shmmax</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-shmmax/m-p/3154555#M8831</link>
      <description>Hey Dan ,&lt;BR /&gt;Can you please tell me what the  &lt;BR /&gt;Oracle's Pre-Flight check script and how do you run it? Thanks in advance.&lt;BR /&gt;RahulD.</description>
      <pubDate>Tue, 23 Mar 2004 00:35:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-shmmax/m-p/3154555#M8831</guid>
      <dc:creator>Rahul Dixit</dc:creator>
      <dc:date>2004-03-23T00:35:53Z</dc:date>
    </item>
  </channel>
</rss>

