<?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: Semaphore contention during databases startup in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/semaphore-contention-during-databases-startup/m-p/2815689#M828632</link>
    <description>You should check the "processes" and "sessions" init.ora parameters on both databases.  Oracle will attempt to allocate the full number of processes each time the database starts up, and if both databases are attempting to load a large number of processes, it will fail trying to bring up the second instance.  &lt;BR /&gt;&lt;BR /&gt;The parameter to set is 'semmni'.  &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Brian</description>
    <pubDate>Mon, 30 Sep 2002 18:58:48 GMT</pubDate>
    <dc:creator>Brian Crabtree</dc:creator>
    <dc:date>2002-09-30T18:58:48Z</dc:date>
    <item>
      <title>Semaphore contention during databases startup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/semaphore-contention-during-databases-startup/m-p/2815683#M828624</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;I've encountered a problem in my HP-UX 10.20 box with four Oracle 7.3.2 databases. For easy understanding, I named them as database A, B, C and D. The following database combination can coexist on the system.&lt;BR /&gt;A, C, D&lt;BR /&gt;B, C, D&lt;BR /&gt;The problem is that database A and B can not coexist on the system. Whenever either A or B has been started, the startup of the other database will result in the following error:&lt;BR /&gt;SVRMGR&amp;gt; Connected to an idle instance.&lt;BR /&gt;SVRMGR&amp;gt; ORA-07279: spcre: semget error, unable to get first semaphore set.&lt;BR /&gt;HP-UX Error: 28: No space left on device&lt;BR /&gt;Additional information: 1&lt;BR /&gt;SVRMGR&amp;gt;&lt;BR /&gt;I've looked up the error message from the forum and most of the recommendation is to increase the kernal parameter SEMMNS due to insufficient semaphore. It seems that it is not my case.&lt;BR /&gt;I got further information from the output from ipcs.&lt;BR /&gt;IPC status from /dev/kmem as of Mon Sep 30 09:45:23 2002&lt;BR /&gt;T      ID     KEY        MODE        OWNER     GROUP&lt;BR /&gt;s    1516 0x00000000 --ra-r-----    oracle       dba&lt;BR /&gt;s     717 0x00000000 --ra-r-----    oracle       dba&lt;BR /&gt;s     319 0x00000000 --ra-r-----    oracle       dba&lt;BR /&gt;Upon my testing, I found that database A, B, C and D would get the semaphore ID 16, 16, 17 and 19 respectively during each startup. Database A and B could not coexist because they would try to acquire the same semaphore ID 16 during startup.&lt;BR /&gt;Do anyone have some idea on my foundings?&lt;BR /&gt;&lt;BR /&gt;Many thanks.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Timmy&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 30 Sep 2002 01:09:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/semaphore-contention-during-databases-startup/m-p/2815683#M828624</guid>
      <dc:creator>Timmy Sin</dc:creator>
      <dc:date>2002-09-30T01:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: Semaphore contention during databases startup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/semaphore-contention-during-databases-startup/m-p/2815684#M828625</link>
      <description />
      <pubDate>Mon, 30 Sep 2002 01:21:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/semaphore-contention-during-databases-startup/m-p/2815684#M828625</guid>
      <dc:creator>Lee Tae-kyung</dc:creator>
      <dc:date>2002-09-30T01:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: Semaphore contention during databases startup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/semaphore-contention-during-databases-startup/m-p/2815685#M828626</link>
      <description>Hi Lee,&lt;BR /&gt;&lt;BR /&gt;Thanks for your information.&lt;BR /&gt;My problem is that the four databases can coexist in the past. As far as I can remember, no change has been imposed on the server. The current founding is that for each database startup individually, they will acquire the sempahore ID each time(A-16,B-16,C-17,D-19). Two of the databases A and B would acquire the same ID 16 and thus cannot be started if the other one has already been started.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Timmy</description>
      <pubDate>Mon, 30 Sep 2002 02:02:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/semaphore-contention-during-databases-startup/m-p/2815685#M828626</guid>
      <dc:creator>Timmy Sin</dc:creator>
      <dc:date>2002-09-30T02:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: Semaphore contention during databases startup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/semaphore-contention-during-databases-startup/m-p/2815686#M828627</link>
      <description>Hi Timmy...&lt;BR /&gt;&lt;BR /&gt;Refer to this document.&lt;BR /&gt;********************************************&lt;BR /&gt;A shared memory collision has occurred. Oracle uses the ORACLE_HOME and  ORACLE_SID to hash a key id. The source of this problem is that a database name can be 8 characters long but a key (for shmget()) is only an integer (4 bytes). Therefore, some hashing must occur to compress the dbname into a key.  As with  all hashing, there is the possibility of different data hashing to the same key.   Changing the name of one of the databases/SIDs causes a different key result  from the hashing algorithm.   &lt;BR /&gt;********************************************&lt;BR /&gt;&lt;BR /&gt;From korea.</description>
      <pubDate>Mon, 30 Sep 2002 03:10:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/semaphore-contention-during-databases-startup/m-p/2815686#M828627</guid>
      <dc:creator>Lee Tae-kyung</dc:creator>
      <dc:date>2002-09-30T03:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: Semaphore contention during databases startup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/semaphore-contention-during-databases-startup/m-p/2815687#M828628</link>
      <description>Hi Lee,&lt;BR /&gt;&lt;BR /&gt;Thanks for your information again. It matches with my situation. However, if there is a chance that the same key would be resulted, there should be some mechanism to allocate another key. It sounds unreasonable to change the SID or home directory to get around this kind of problem.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Timmy</description>
      <pubDate>Mon, 30 Sep 2002 03:27:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/semaphore-contention-during-databases-startup/m-p/2815687#M828628</guid>
      <dc:creator>Timmy Sin</dc:creator>
      <dc:date>2002-09-30T03:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Semaphore contention during databases startup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/semaphore-contention-during-databases-startup/m-p/2815688#M828629</link>
      <description>Hi Timmy...&lt;BR /&gt;&lt;BR /&gt;As my opinion,&lt;BR /&gt;I think that this problem could occur because semmns and semmni is insufficient.&lt;BR /&gt;&lt;BR /&gt;It seems a good idea that semmns and semmni is increased.&lt;BR /&gt;...&lt;BR /&gt;^_^&lt;BR /&gt;&lt;BR /&gt;Good luck~~ &lt;BR /&gt;</description>
      <pubDate>Mon, 30 Sep 2002 04:02:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/semaphore-contention-during-databases-startup/m-p/2815688#M828629</guid>
      <dc:creator>Lee Tae-kyung</dc:creator>
      <dc:date>2002-09-30T04:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: Semaphore contention during databases startup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/semaphore-contention-during-databases-startup/m-p/2815689#M828632</link>
      <description>You should check the "processes" and "sessions" init.ora parameters on both databases.  Oracle will attempt to allocate the full number of processes each time the database starts up, and if both databases are attempting to load a large number of processes, it will fail trying to bring up the second instance.  &lt;BR /&gt;&lt;BR /&gt;The parameter to set is 'semmni'.  &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Brian</description>
      <pubDate>Mon, 30 Sep 2002 18:58:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/semaphore-contention-during-databases-startup/m-p/2815689#M828632</guid>
      <dc:creator>Brian Crabtree</dc:creator>
      <dc:date>2002-09-30T18:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: Semaphore contention during databases startup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/semaphore-contention-during-databases-startup/m-p/2815690#M828633</link>
      <description>hi,&lt;BR /&gt;try increasing SEMMNS and SEMMNI. typical values are 8000 and 4000 respectively.&lt;BR /&gt;&lt;BR /&gt;regds</description>
      <pubDate>Tue, 01 Oct 2002 03:04:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/semaphore-contention-during-databases-startup/m-p/2815690#M828633</guid>
      <dc:creator>V. V. Ravi Kumar_1</dc:creator>
      <dc:date>2002-10-01T03:04:29Z</dc:date>
    </item>
  </channel>
</rss>

