<?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: Shared Memory issue in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-issue/m-p/2490329#M801348</link>
    <description>Pearse,&lt;BR /&gt;&lt;BR /&gt;If you just upgraded your O/S, make sure you relinked Oracle. I followed the Oracle manual to set the parameters and was mislead in the setting of SEMMNI. If you have access to Metalink, I spent hours on this TAR# 1327376.999. Oracle will be amending the manual. Good notes in there. Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Take care,&lt;BR /&gt;Josee</description>
    <pubDate>Tue, 06 Feb 2001 20:36:39 GMT</pubDate>
    <dc:creator>Josee Bourget-Thuma</dc:creator>
    <dc:date>2001-02-06T20:36:39Z</dc:date>
    <item>
      <title>Shared Memory issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-issue/m-p/2490327#M801346</link>
      <description>I have an Oracle 7.3.4.5 32-bit database which runs on 11-HPUX, and I have a problem with the shmem being too small when I shutdown and restart the database. I error messages that there isn't a contiguous memory segment available. My question is, can I increase a setting in the Kernel which will allow me to restart the database, without having to clear up the shared memory, &lt;BR /&gt;either with a reboot or stopping other services on the server. I have 4GB of memory.</description>
      <pubDate>Tue, 06 Feb 2001 18:56:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-issue/m-p/2490327#M801346</guid>
      <dc:creator>mckiers</dc:creator>
      <dc:date>2001-02-06T18:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Memory issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-issue/m-p/2490328#M801347</link>
      <description>My question would be this...&lt;BR /&gt;If you have set all your semm params (semmni,semmns, semmap) correctly based on the processes being required in Oracles ~init.ora then the problem may not be the parms settings....it's could be that Oracle is not releasing the semmaphores, and that is strictly an issue how your database is being handled via Oracle/SQL.&lt;BR /&gt;Now for shared memory..check SHMMAX. I generally set this to 1GB (1073741824).  This setting does not affect how much shared memory is need or used by Oracle or the O/S. It is used only to indicate the maximum allowable size.  This does not impact the operating system kernel resources.&lt;BR /&gt;&lt;BR /&gt;Some Oracle parm settings (I used 8i as example)&lt;BR /&gt;nflocks = 200 + sum of values in init.ora parm db_files&lt;BR /&gt;maxdsiz &amp;amp; maxdsiz_64_bit = set this value to  &lt;BR /&gt;    larger than the default for maxdsiz &amp;amp;maxdsiz_64, for         ex. 1B (because relinking needs the space).&lt;BR /&gt;semmni = total of all oracle process from init.ora (round   &lt;BR /&gt;             up  if I have resources I add 10 for each db then &lt;BR /&gt;              round up)&lt;BR /&gt;semmns = value of semmni *2&lt;BR /&gt;semmap = value of semmni +2&lt;BR /&gt;&lt;BR /&gt;Hope this helps....it sure made me dust off my notes.&lt;BR /&gt;/rcw&lt;BR /&gt;   &lt;BR /&gt;</description>
      <pubDate>Tue, 06 Feb 2001 19:25:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-issue/m-p/2490328#M801347</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2001-02-06T19:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Memory issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-issue/m-p/2490329#M801348</link>
      <description>Pearse,&lt;BR /&gt;&lt;BR /&gt;If you just upgraded your O/S, make sure you relinked Oracle. I followed the Oracle manual to set the parameters and was mislead in the setting of SEMMNI. If you have access to Metalink, I spent hours on this TAR# 1327376.999. Oracle will be amending the manual. Good notes in there. Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Take care,&lt;BR /&gt;Josee</description>
      <pubDate>Tue, 06 Feb 2001 20:36:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-issue/m-p/2490329#M801348</guid>
      <dc:creator>Josee Bourget-Thuma</dc:creator>
      <dc:date>2001-02-06T20:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Memory issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-issue/m-p/2490330#M801349</link>
      <description>The main reasons for this occuring is :-&lt;BR /&gt;&lt;BR /&gt;a) Oracle hasn't shutdown correctly and therefore hasn't removed all it's segments&lt;BR /&gt;&lt;BR /&gt;b) Another application grabbing a chunk of shared memory while Oracle is down.&lt;BR /&gt;&lt;BR /&gt;If it's (a) checking ipcs -m might show the culprit.&lt;BR /&gt;&lt;BR /&gt;If it's (b), then you've got problems. The way the virtual memory is allocated means that if Oracle can't find what it requires contigously, then it won't start. &lt;BR /&gt;&lt;BR /&gt;If your running hp-ux 11 64bit, you can use memory windows, to effectively give Oracle it's own place to put it's shared memory.</description>
      <pubDate>Wed, 07 Feb 2001 08:01:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-issue/m-p/2490330#M801349</guid>
      <dc:creator>Andy Monks</dc:creator>
      <dc:date>2001-02-07T08:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Memory issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-issue/m-p/2490331#M801350</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Use ipcrm to remove any shared memory segments or semaphores used by Oracle without rebooting your server.&lt;BR /&gt;&lt;BR /&gt;For shared memory segments, &lt;BR /&gt;# ipcrm -m shmid&lt;BR /&gt;&lt;BR /&gt;For semaphores,&lt;BR /&gt;# ipcrm -s semid&lt;BR /&gt;&lt;BR /&gt;Both the shared memory segment id (shmid) and the semaphore id (semid) can be retrieved from the output of &lt;BR /&gt;# ipcs -b&lt;BR /&gt;&lt;BR /&gt;Changing kernel parameters would require you to reboot the system. There is no clean way out of it. In my opinion, it is simply too risky to use the adb debugger to modify the kernel already existing in memory.&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong&lt;BR /&gt;Brainbench MVP for Unix Admin&lt;BR /&gt;&lt;A href="http://www.brainbench.com" target="_blank"&gt;http://www.brainbench.com&lt;/A&gt;</description>
      <pubDate>Wed, 07 Feb 2001 10:18:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-issue/m-p/2490331#M801350</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2001-02-07T10:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Memory issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-issue/m-p/2490332#M801351</link>
      <description>Absolutely.  It never hurts to review config parms, but if the D/B ran before, it should be able to run again with the same config parameters.  Going into ipcs is one way to look at the problem, but sometimes it is easier to look for oracle processes for the instance hanging around from the prior d/b shut and kill those, that will usually free up the shm segments (these should have a 'D' as the first character in the 'mode' string) that have fragmented the shm and caused the startup to fail.  This can happen even when the d/b goes down clean, depending on the shutdown options/procedure.  You might want to put together a kill_procs 'cleanup' procedure if your environment often has this type of problem when recycling the database.</description>
      <pubDate>Wed, 07 Feb 2001 15:49:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-issue/m-p/2490332#M801351</guid>
      <dc:creator>Les Schuettpelz</dc:creator>
      <dc:date>2001-02-07T15:49:18Z</dc:date>
    </item>
  </channel>
</rss>

