<?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: detached shared memory owner getting changed in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/detached-shared-memory-owner-getting-changed/m-p/3515544#M218944</link>
    <description>Hi Nats,&lt;BR /&gt;&lt;BR /&gt;You should definitely do something about the below, in your profile,&lt;BR /&gt;&lt;BR /&gt;I have assigned points to   7  of   44  responses to my questions. &lt;BR /&gt;&lt;BR /&gt;With regards,&lt;BR /&gt;Mohan.&lt;BR /&gt;</description>
    <pubDate>Sun, 03 Apr 2005 08:26:26 GMT</pubDate>
    <dc:creator>Mohanasundaram_1</dc:creator>
    <dc:date>2005-04-03T08:26:26Z</dc:date>
    <item>
      <title>detached shared memory owner getting changed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/detached-shared-memory-owner-getting-changed/m-p/3515541#M218941</link>
      <description>Configuration:&lt;BR /&gt;HPUX 11.23 with AUG04 level patched&lt;BR /&gt;Itanium-2 hardware.&lt;BR /&gt;Ingres 2.6 &lt;BR /&gt;&lt;BR /&gt;Problem:&lt;BR /&gt;Where "ipcs -ma" which shows:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;       T     ID     KEY        MODE       OWNER&lt;BR /&gt;       Shared Memory:&lt;BR /&gt;       m      5 0x00000000 D-rw-----    ingres&lt;BR /&gt; &lt;BR /&gt;Detached process owner shows ingres.we are finding problem with detached segments that the owner changed to root and no of detached  shared memory segments increase which was only getting clear by system reboot.&lt;BR /&gt;&lt;BR /&gt;We wanted know,&lt;BR /&gt;&lt;BR /&gt;1.Why the owner getting changed to root.&lt;BR /&gt;2.How to get the last attached process along with detached segments?&lt;BR /&gt;3.How clear without system reboot?.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 31 Mar 2005 12:05:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/detached-shared-memory-owner-getting-changed/m-p/3515541#M218941</guid>
      <dc:creator>Natesan_1</dc:creator>
      <dc:date>2005-03-31T12:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: detached shared memory owner getting changed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/detached-shared-memory-owner-getting-changed/m-p/3515542#M218942</link>
      <description>1) shmctl() with IPC_SET will change the owner of a segment, there's nothing in the kernel that would change the ownership automatically.&lt;BR /&gt;&lt;BR /&gt;2) There's no data on the last attached process per se. The LPID field of ipcs -ma will give the pid of the last process to attach *or* detach, so if X was the last attacher, but Y detached after that, you'd only see Y. If the process is still attached, you can use kernel-intrusive tools like shminfo (ftp://contrib:9unsupp8@hprc.external.hp.com/sysadmin/programs/shminfo/)&lt;BR /&gt;which will list attached processes.&lt;BR /&gt;&lt;BR /&gt;3) If the segment is marked for Deletion as you indicate above, there is still at least one process attached. When that process goes away, the segment will also go away. It can not be removed until that happens without a reboot... so the question would then become, why isn't that process letting go. In many cases, the program is working as designed -- it is a good practice to bring up your shared memory segments in initialization and then (once you know all processes you care about if you have known children) mark them for deletion. That way if the program terminates early (exception case that isn't handled, etc.) the segments are cleaned up by the system. So -- use shminfo from (2) above, and see what the attached processes are doing. If they're doing useful work -- don't worry about it.</description>
      <pubDate>Thu, 31 Mar 2005 12:53:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/detached-shared-memory-owner-getting-changed/m-p/3515542#M218942</guid>
      <dc:creator>Don Morris_1</dc:creator>
      <dc:date>2005-03-31T12:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: detached shared memory owner getting changed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/detached-shared-memory-owner-getting-changed/m-p/3515543#M218943</link>
      <description>Thanks Don for your clarification.</description>
      <pubDate>Sat, 02 Apr 2005 08:41:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/detached-shared-memory-owner-getting-changed/m-p/3515543#M218943</guid>
      <dc:creator>Natesan_1</dc:creator>
      <dc:date>2005-04-02T08:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: detached shared memory owner getting changed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/detached-shared-memory-owner-getting-changed/m-p/3515544#M218944</link>
      <description>Hi Nats,&lt;BR /&gt;&lt;BR /&gt;You should definitely do something about the below, in your profile,&lt;BR /&gt;&lt;BR /&gt;I have assigned points to   7  of   44  responses to my questions. &lt;BR /&gt;&lt;BR /&gt;With regards,&lt;BR /&gt;Mohan.&lt;BR /&gt;</description>
      <pubDate>Sun, 03 Apr 2005 08:26:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/detached-shared-memory-owner-getting-changed/m-p/3515544#M218944</guid>
      <dc:creator>Mohanasundaram_1</dc:creator>
      <dc:date>2005-04-03T08:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: detached shared memory owner getting changed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/detached-shared-memory-owner-getting-changed/m-p/3515545#M218945</link>
      <description>Dear Mohan,&lt;BR /&gt;&lt;BR /&gt;I can improve provided I get  required response to my questions.(Like Dan reply..)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Apr 2005 01:41:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/detached-shared-memory-owner-getting-changed/m-p/3515545#M218945</guid>
      <dc:creator>Natesan_1</dc:creator>
      <dc:date>2005-04-04T01:41:24Z</dc:date>
    </item>
  </channel>
</rss>

