<?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: Cannot free shared memory segment in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-free-shared-memory-segment/m-p/3807060#M267684</link>
    <description>Alan,&lt;BR /&gt;&lt;BR /&gt;You may have to reboot.&lt;BR /&gt;&lt;BR /&gt;PCS</description>
    <pubDate>Fri, 16 Jun 2006 08:22:04 GMT</pubDate>
    <dc:creator>spex</dc:creator>
    <dc:date>2006-06-16T08:22:04Z</dc:date>
    <item>
      <title>Cannot free shared memory segment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-free-shared-memory-segment/m-p/3807059#M267683</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I used ipcrm to remove some shared memory segments.&lt;BR /&gt;&lt;BR /&gt;Checking that they were cleared with ipcs -ma showed They were marked 'D' but not deleted. NATTACH =1 and so using LPID (in this case LPID = CPID) I tried to find the processes holding the segments.&lt;BR /&gt;&lt;BR /&gt;As I was pretty sure that i had already killed these processes I was not suprised that I can no longer find them!&lt;BR /&gt;&lt;BR /&gt;Any idea how I can clean up if ipc believes the nonexistant processes are still attached?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Alan Formstone&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Jun 2006 07:24:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-free-shared-memory-segment/m-p/3807059#M267683</guid>
      <dc:creator>AlanF</dc:creator>
      <dc:date>2006-06-16T07:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot free shared memory segment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-free-shared-memory-segment/m-p/3807060#M267684</link>
      <description>Alan,&lt;BR /&gt;&lt;BR /&gt;You may have to reboot.&lt;BR /&gt;&lt;BR /&gt;PCS</description>
      <pubDate>Fri, 16 Jun 2006 08:22:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-free-shared-memory-segment/m-p/3807060#M267684</guid>
      <dc:creator>spex</dc:creator>
      <dc:date>2006-06-16T08:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot free shared memory segment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-free-shared-memory-segment/m-p/3807061#M267685</link>
      <description>Check for processes who's parent PID is the one that you stopped.  Then check for processes which run with the same username.&lt;BR /&gt;&lt;BR /&gt;Software packages (e.g. SAP) often go through the following procedure: create the shared memory segment, fork child processes which attach to it, mark the process for deletion, then terminate the parent.&lt;BR /&gt;This is good for security because it stops other processes connecting to the segment.  It is also good for housekeeping, in case the processes crash, the shared memory segment will be cleaned up automatically.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Jun 2006 08:24:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-free-shared-memory-segment/m-p/3807061#M267685</guid>
      <dc:creator>Steve Lewis</dc:creator>
      <dc:date>2006-06-16T08:24:30Z</dc:date>
    </item>
  </channel>
</rss>

