<?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 issue in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/semaphore-issue/m-p/5231051#M51941</link>
    <description>Thanks all for tour valuable time.Closing the thread</description>
    <pubDate>Mon, 22 Mar 2010 15:32:21 GMT</pubDate>
    <dc:creator>Kanagaraj</dc:creator>
    <dc:date>2010-03-22T15:32:21Z</dc:date>
    <item>
      <title>Semaphore issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/semaphore-issue/m-p/5231044#M51934</link>
      <description>linux el5 running server has installed/configured with two oracle databases.&lt;BR /&gt;&lt;BR /&gt;backups couldn't start due to semaphore issue,&lt;BR /&gt;as per the backup logs,backup process can't get allocate semaphore to start backup.&lt;BR /&gt;&lt;BR /&gt;Logs attached below.&lt;BR /&gt;--------------------&lt;BR /&gt;ERROR: plGetSemArray: semget() failed allocating allocator Semaphore Array for &amp;lt;1268891981_21288_3071633104&amp;gt; allocatorCount=1 errno=28&lt;BR /&gt;&lt;BR /&gt;Also I have verified on server,ther are 132 semaphore allcated for users process,those user's process are running and also it may interlinked with oracle.&lt;BR /&gt;&lt;BR /&gt;I have cleared dead shared memory and message queue.&lt;BR /&gt;&lt;BR /&gt;I have checked for semaphore kernal parameter,it is oracle recommended settings.&lt;BR /&gt;&lt;BR /&gt;#ipcs -l&lt;BR /&gt;&lt;BR /&gt;------ Shared Memory Limits --------&lt;BR /&gt;max number of segments = 4096&lt;BR /&gt;max seg size (kbytes) = 4194303&lt;BR /&gt;max total shared memory (kbytes) = 1073741824&lt;BR /&gt;min seg size (bytes) = 1&lt;BR /&gt;&lt;BR /&gt;------ Semaphore Limits --------&lt;BR /&gt;max number of arrays = 128&lt;BR /&gt;max semaphores per array = 250&lt;BR /&gt;max semaphores system wide = 32000&lt;BR /&gt;max ops per semop call = 100&lt;BR /&gt;semaphore max value = 32767&lt;BR /&gt;&lt;BR /&gt;------ Messages: Limits --------&lt;BR /&gt;max queues system wide = 1024&lt;BR /&gt;max size of message (bytes) = 65536&lt;BR /&gt;default max size of queue (bytes) = 65536&lt;BR /&gt; -----------------------------------------&lt;BR /&gt;&lt;BR /&gt;settings for semaphore in /etc/sysctl.conf file&lt;BR /&gt;kernel.sem = 250 32000 100 128&lt;BR /&gt;&lt;BR /&gt;If anybody knows how to clear unused semaphore in linux with reboot,Please help me out in this.becuase still backups pendingfor the server,&lt;BR /&gt;&lt;BR /&gt;///Is it possible to run sem_destroy on linux.&lt;BR /&gt;&lt;BR /&gt;Is we able to increase sem values more than current settings&lt;BR /&gt;kernel.sem = 250 32000 100 128&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Kanagu&lt;BR /&gt;</description>
      <pubDate>Fri, 19 Mar 2010 05:58:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/semaphore-issue/m-p/5231044#M51934</guid>
      <dc:creator>Kanagaraj</dc:creator>
      <dc:date>2010-03-19T05:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: Semaphore issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/semaphore-issue/m-p/5231045#M51935</link>
      <description>//mistyped.&lt;BR /&gt;&lt;BR /&gt;If anybody knows how to clear unused semaphore in linux without reboot,Please help me out in this.becuase still backups pending for the server,</description>
      <pubDate>Fri, 19 Mar 2010 06:04:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/semaphore-issue/m-p/5231045#M51935</guid>
      <dc:creator>Kanagaraj</dc:creator>
      <dc:date>2010-03-19T06:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: Semaphore issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/semaphore-issue/m-p/5231046#M51936</link>
      <description>&amp;gt;If anybody knows how to clear unused semaphore in linux without reboot&lt;BR /&gt;&lt;BR /&gt;For HP-UX there is ipcrm(1) with -s or -S.&lt;BR /&gt;</description>
      <pubDate>Sat, 20 Mar 2010 11:30:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/semaphore-issue/m-p/5231046#M51936</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-03-20T11:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: Semaphore issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/semaphore-issue/m-p/5231047#M51937</link>
      <description>Thanks Dennis,&lt;BR /&gt;&lt;BR /&gt;ipcrm -s or -S -&amp;gt; we can use but I want to know how to assure dummy semaphore which not used by any thread/process.</description>
      <pubDate>Sat, 20 Mar 2010 13:56:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/semaphore-issue/m-p/5231047#M51937</guid>
      <dc:creator>Kanagaraj</dc:creator>
      <dc:date>2010-03-20T13:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: Semaphore issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/semaphore-issue/m-p/5231048#M51938</link>
      <description>&amp;gt;I want to know how to assure dummy semaphore which not used by any thread/process.&lt;BR /&gt;&lt;BR /&gt;Does your Linux "ipcs -sa" display OTIME with a time and date?  Or is as broken as HP-UX with a useless time only?</description>
      <pubDate>Sun, 21 Mar 2010 02:48:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/semaphore-issue/m-p/5231048#M51938</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-03-21T02:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: Semaphore issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/semaphore-issue/m-p/5231049#M51939</link>
      <description>ipcs -sa, check nattch, if it is zero, then that share memory should be released for use.</description>
      <pubDate>Mon, 22 Mar 2010 15:14:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/semaphore-issue/m-p/5231049#M51939</guid>
      <dc:creator>John Guster</dc:creator>
      <dc:date>2010-03-22T15:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: Semaphore issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/semaphore-issue/m-p/5231050#M51940</link>
      <description>The problem resolved by increased semaphore values.&lt;BR /&gt;&lt;BR /&gt;kernel.sem = 500 64000 400 128&lt;BR /&gt;&lt;BR /&gt;Also we have rebooted the server.Now it is working fine&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Mar 2010 15:30:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/semaphore-issue/m-p/5231050#M51940</guid>
      <dc:creator>Kanagaraj</dc:creator>
      <dc:date>2010-03-22T15:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: Semaphore issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/semaphore-issue/m-p/5231051#M51941</link>
      <description>Thanks all for tour valuable time.Closing the thread</description>
      <pubDate>Mon, 22 Mar 2010 15:32:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/semaphore-issue/m-p/5231051#M51941</guid>
      <dc:creator>Kanagaraj</dc:creator>
      <dc:date>2010-03-22T15:32:21Z</dc:date>
    </item>
  </channel>
</rss>

