<?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 Semaphore problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/semaphore-problem/m-p/5119954#M447544</link>
    <description>I have an rp4440 server running hpux 11.11. We are having a problem with left behind semaphores. When I run ipcs -bcopts I can see serveral (about 560) semaphores listed belonging to root: Here is a brief listing.&lt;BR /&gt;s        125 0x00000000 -----------      root       sys      root       sys     1 no-entry 17:48:37&lt;BR /&gt;s        126 0x00000000 -----------      root       sys      root       sys     1 no-entry 17:48:37&lt;BR /&gt;s       4225 0x00000000 -----------      root       sys      root       sys     1 no-entry 17:48:52&lt;BR /&gt;s       8324 0x00000000 -----------      root       sys      root       sys     1 no-entry 19:16:37&lt;BR /&gt;s        129 0x00000000 -----------      root       sys      root       sys     1 no-entry 17:48:37&lt;BR /&gt;s        130 0x00000000 -----------      root       sys      root       sys     1 no-entry 17:48:37&lt;BR /&gt;s       4229 0x00000000 -----------      root       sys      root       sys     1 no-entry 19:16:37&lt;BR /&gt;s       8328 0x00000000 -----------      root       sys      root       sys     1 no-entry 19:36:36&lt;BR /&gt;s        133 0x00000000 -----------      root       sys      root       sys     1 no-entry 17:48:37&lt;BR /&gt;s        134 0x00000000 -----------      root       sys      root       sys     1 no-entry 17:48:37&lt;BR /&gt;s       8331 0x00000000 -----------      root       sys      root       sys     1 no-entry 19:36:36&lt;BR /&gt;s       4234 0x00000000 -----------      root       sys      root       sys     1 no-entry 19:16:37&lt;BR /&gt;s       4235 0x00000000 -----------      root       sys      root       sys     1 no-entry 19:16:37&lt;BR /&gt;&lt;BR /&gt;I know the first 20 of so root entries should not be touched and the ones belonging to the SAP user should not be touched as well but these appear after those and look like they aren't owned by anything.&lt;BR /&gt;&lt;BR /&gt;Can we determine what processes these belong to and can we safely remove them using ipcrm.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
    <pubDate>Thu, 17 Jul 2008 13:10:24 GMT</pubDate>
    <dc:creator>Bob Manocchia</dc:creator>
    <dc:date>2008-07-17T13:10:24Z</dc:date>
    <item>
      <title>Semaphore problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/semaphore-problem/m-p/5119954#M447544</link>
      <description>I have an rp4440 server running hpux 11.11. We are having a problem with left behind semaphores. When I run ipcs -bcopts I can see serveral (about 560) semaphores listed belonging to root: Here is a brief listing.&lt;BR /&gt;s        125 0x00000000 -----------      root       sys      root       sys     1 no-entry 17:48:37&lt;BR /&gt;s        126 0x00000000 -----------      root       sys      root       sys     1 no-entry 17:48:37&lt;BR /&gt;s       4225 0x00000000 -----------      root       sys      root       sys     1 no-entry 17:48:52&lt;BR /&gt;s       8324 0x00000000 -----------      root       sys      root       sys     1 no-entry 19:16:37&lt;BR /&gt;s        129 0x00000000 -----------      root       sys      root       sys     1 no-entry 17:48:37&lt;BR /&gt;s        130 0x00000000 -----------      root       sys      root       sys     1 no-entry 17:48:37&lt;BR /&gt;s       4229 0x00000000 -----------      root       sys      root       sys     1 no-entry 19:16:37&lt;BR /&gt;s       8328 0x00000000 -----------      root       sys      root       sys     1 no-entry 19:36:36&lt;BR /&gt;s        133 0x00000000 -----------      root       sys      root       sys     1 no-entry 17:48:37&lt;BR /&gt;s        134 0x00000000 -----------      root       sys      root       sys     1 no-entry 17:48:37&lt;BR /&gt;s       8331 0x00000000 -----------      root       sys      root       sys     1 no-entry 19:36:36&lt;BR /&gt;s       4234 0x00000000 -----------      root       sys      root       sys     1 no-entry 19:16:37&lt;BR /&gt;s       4235 0x00000000 -----------      root       sys      root       sys     1 no-entry 19:16:37&lt;BR /&gt;&lt;BR /&gt;I know the first 20 of so root entries should not be touched and the ones belonging to the SAP user should not be touched as well but these appear after those and look like they aren't owned by anything.&lt;BR /&gt;&lt;BR /&gt;Can we determine what processes these belong to and can we safely remove them using ipcrm.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 17 Jul 2008 13:10:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/semaphore-problem/m-p/5119954#M447544</guid>
      <dc:creator>Bob Manocchia</dc:creator>
      <dc:date>2008-07-17T13:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: Semaphore problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/semaphore-problem/m-p/5119955#M447545</link>
      <description>Hello Bob,&lt;BR /&gt;&lt;BR /&gt;Look for tool, called shminfo - it will give you detailed information about semaphores &amp;lt;-&amp;gt; processes.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;ivan</description>
      <pubDate>Thu, 17 Jul 2008 17:01:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/semaphore-problem/m-p/5119955#M447545</guid>
      <dc:creator>Ivan Krastev</dc:creator>
      <dc:date>2008-07-17T17:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Semaphore problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/semaphore-problem/m-p/5119956#M447546</link>
      <description>Take a look at my attachment in the following thread.  Compile it and that will give the time AND date of each semaphore.&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1144781" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1144781&lt;/A&gt;</description>
      <pubDate>Fri, 18 Jul 2008 07:55:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/semaphore-problem/m-p/5119956#M447546</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-07-18T07:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: Semaphore problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/semaphore-problem/m-p/5119957#M447547</link>
      <description>How do I complie this. In you original email you mention DHP_11.11.</description>
      <pubDate>Fri, 18 Jul 2008 10:56:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/semaphore-problem/m-p/5119957#M447547</guid>
      <dc:creator>Bob Manocchia</dc:creator>
      <dc:date>2008-07-18T10:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: Semaphore problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/semaphore-problem/m-p/5119958#M447548</link>
      <description>&amp;gt;In you original email you mention -DHP11_11.&lt;BR /&gt;&lt;BR /&gt;Yes: cc -DHP11_11 291516.c</description>
      <pubDate>Fri, 18 Jul 2008 11:27:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/semaphore-problem/m-p/5119958#M447548</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-07-18T11:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: Semaphore problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/semaphore-problem/m-p/5119959#M447549</link>
      <description>I do not have this compiler and I tried googling it to no avail.</description>
      <pubDate>Fri, 18 Jul 2008 12:21:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/semaphore-problem/m-p/5119959#M447549</guid>
      <dc:creator>Bob Manocchia</dc:creator>
      <dc:date>2008-07-18T12:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: Semaphore problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/semaphore-problem/m-p/5119960#M447550</link>
      <description>Yes: cc -DHP11_11 291516.c&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I do not have this compiler&lt;BR /&gt;&lt;BR /&gt;It should be on all systems.  Try the absolute path:&lt;BR /&gt;/usr/ccs/bin/cc_bundled 291516.c -DHP11_11 -o semaphore_date&lt;BR /&gt;And to execute: ./semaphore_date&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Jul 2008 12:34:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/semaphore-problem/m-p/5119960#M447550</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-07-18T12:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: Semaphore problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/semaphore-problem/m-p/5119961#M447551</link>
      <description>Thanks. Got it. So the semaphores with the NO-ENTRY are not being used and can be removed.</description>
      <pubDate>Fri, 18 Jul 2008 12:57:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/semaphore-problem/m-p/5119961#M447551</guid>
      <dc:creator>Bob Manocchia</dc:creator>
      <dc:date>2008-07-18T12:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: Semaphore problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/semaphore-problem/m-p/5119962#M447552</link>
      <description>&amp;gt;So the semaphores with the NO-ENTRY are not being used and can be removed.&lt;BR /&gt;&lt;BR /&gt;Well, you need to use "ipcs -sa" to find the owner.  Also, was it created long ago?&lt;BR /&gt;I suppose it is possible to create them and never used them, yet?  560 seems like a lot.</description>
      <pubDate>Fri, 18 Jul 2008 13:17:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/semaphore-problem/m-p/5119962#M447552</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-07-18T13:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: Semaphore problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/semaphore-problem/m-p/5119963#M447553</link>
      <description>The owner is root and it looks like they were created sometime back in December of 07.</description>
      <pubDate>Fri, 18 Jul 2008 13:20:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/semaphore-problem/m-p/5119963#M447553</guid>
      <dc:creator>Bob Manocchia</dc:creator>
      <dc:date>2008-07-18T13:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: Semaphore problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/semaphore-problem/m-p/5119964#M447554</link>
      <description>&amp;gt;The owner is root and it looks like they were created sometime back in December of 07.&lt;BR /&gt;&lt;BR /&gt;So the system has been up that long?&lt;BR /&gt;Can you check syslog or the SD logs to see what happened on that date/time?</description>
      <pubDate>Fri, 18 Jul 2008 21:08:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/semaphore-problem/m-p/5119964#M447554</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-07-18T21:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: Semaphore problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/semaphore-problem/m-p/5119965#M447555</link>
      <description>Thanks for all the help.</description>
      <pubDate>Mon, 05 Jan 2009 13:53:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/semaphore-problem/m-p/5119965#M447555</guid>
      <dc:creator>Bob Manocchia</dc:creator>
      <dc:date>2009-01-05T13:53:55Z</dc:date>
    </item>
  </channel>
</rss>

