<?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: shared memory segment not released in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-segment-not-released/m-p/3922262#M286124</link>
    <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Sounds like bad programming, or a program that was supposed to be started by a non-priviledged user was started by root, which locked the memory segment.&lt;BR /&gt;&lt;BR /&gt;If you cand identify and kill theprocess, the problem may go away.&lt;BR /&gt;&lt;BR /&gt;You may need to use ipcrm to remove it.&lt;BR /&gt;ipcrm -m 1013&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Mon, 08 Jan 2007 05:13:07 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2007-01-08T05:13:07Z</dc:date>
    <item>
      <title>shared memory segment not released</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-segment-not-released/m-p/3922261#M286123</link>
      <description>we have an rp8400 system running hpux11.11&lt;BR /&gt;some shared memory segment are not released when NATTCH value is equal to zero. is it a normal behaivor of the system ?&lt;BR /&gt;&lt;BR /&gt;here is a portion of the output of ipcs command&lt;BR /&gt;&lt;BR /&gt;T ID   Key        MODE         OWNER GROUP&lt;BR /&gt;m 1013 0x412002e2 --rw-rw-rw-  root sys  &lt;BR /&gt;&lt;BR /&gt;NATTCH  ATIME    DTIME     CTIME&lt;BR /&gt;0       10:21:17 no-entry  0:06:12&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;this line describe a shared memory segment owned by root. &lt;BR /&gt;&lt;BR /&gt;NATTCH=0 that means that there is no process attaching this segment: so this segment must be released.&lt;BR /&gt;&lt;BR /&gt;ATIME=10:21:17 but DTIME=no-entry: that means that means that NATTCH should not be equal to zero.&lt;BR /&gt;&lt;BR /&gt;could you help me to understand what is happening?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Jan 2007 04:39:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-segment-not-released/m-p/3922261#M286123</guid>
      <dc:creator>medali.benchaabane</dc:creator>
      <dc:date>2007-01-08T04:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: shared memory segment not released</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-segment-not-released/m-p/3922262#M286124</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Sounds like bad programming, or a program that was supposed to be started by a non-priviledged user was started by root, which locked the memory segment.&lt;BR /&gt;&lt;BR /&gt;If you cand identify and kill theprocess, the problem may go away.&lt;BR /&gt;&lt;BR /&gt;You may need to use ipcrm to remove it.&lt;BR /&gt;ipcrm -m 1013&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 08 Jan 2007 05:13:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-segment-not-released/m-p/3922262#M286124</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-01-08T05:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: shared memory segment not released</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-segment-not-released/m-p/3922263#M286125</link>
      <description>Shared memory segments are never 'automatically' removed by the system. All management of these areas is by application programs. This is part of the design of shared resources. And the (very dangerous) kill -9 command will leave segments behind. Note that NATTCH can certainly be zero due to bad program design yet the segment(s) may be needed. You can manually remove unattached segments with the ipcrm if you're sure about current application usage.</description>
      <pubDate>Mon, 08 Jan 2007 07:10:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-segment-not-released/m-p/3922263#M286125</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2007-01-08T07:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: shared memory segment not released</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-segment-not-released/m-p/3922264#M286126</link>
      <description>&lt;BR /&gt;The IPCRM command should  be able to really get rid of the correct shared memory segement if you specify a IP.. IT can also be used for semiphore sets and message queues&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;good luck&lt;BR /&gt;&lt;BR /&gt;Emil</description>
      <pubDate>Mon, 08 Jan 2007 22:45:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-segment-not-released/m-p/3922264#M286126</guid>
      <dc:creator>Emil Velez</dc:creator>
      <dc:date>2007-01-08T22:45:00Z</dc:date>
    </item>
  </channel>
</rss>

