<?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: unable to kill shared memory in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/unable-to-kill-shared-memory/m-p/3557153#M17976</link>
    <description>&lt;SNIP&gt; from man page of ipcrm&lt;BR /&gt; -m shmid&lt;BR /&gt; removes the shared memory segment identified by shmid after the last detach is performed.&lt;BR /&gt;&lt;SNIP&gt;&lt;BR /&gt;&lt;BR /&gt;from the output of your ipcs, it looks like there is still one more process which is attached to that shared memory. find out that process and kill it. then u should be able to remove it using ipcrm -m&lt;BR /&gt;&lt;BR /&gt;use this command to find out who is using that shared memory&lt;BR /&gt;&lt;BR /&gt;ipcs -m -p&lt;BR /&gt;&lt;BR /&gt;it will give you shared memory id, pid of creator and last accessed pid. check the pid owner and kill him if not required.&lt;BR /&gt;&lt;BR /&gt;then you should be able to do ipcrm.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Gopi&lt;/SNIP&gt;&lt;/SNIP&gt;</description>
    <pubDate>Fri, 03 Jun 2005 02:10:36 GMT</pubDate>
    <dc:creator>Gopi Sekar</dc:creator>
    <dc:date>2005-06-03T02:10:36Z</dc:date>
    <item>
      <title>unable to kill shared memory</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-kill-shared-memory/m-p/3557150#M17973</link>
      <description>Hi all&lt;BR /&gt;&lt;BR /&gt;I have some problem with removing shared memmory &lt;BR /&gt;if I use ipscs the output looks like &lt;BR /&gt;ey        shmid      owner      perms      bytes      nattch     status      &lt;BR /&gt;0x00000000 17760256   naveens   666        33562624   1          dest   &lt;BR /&gt;&lt;BR /&gt;if I  give ipcrm -s  17760256&lt;BR /&gt;&lt;BR /&gt;it stil does'nt remove shared memmory&lt;BR /&gt;&lt;BR /&gt;Please help &lt;BR /&gt;&lt;BR /&gt;Binu</description>
      <pubDate>Fri, 03 Jun 2005 00:45:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-kill-shared-memory/m-p/3557150#M17973</guid>
      <dc:creator>Binu_5</dc:creator>
      <dc:date>2005-06-03T00:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: unable to kill shared memory</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-kill-shared-memory/m-p/3557151#M17974</link>
      <description>&lt;BR /&gt;you are using invalid key for removing shared memory.&lt;BR /&gt;&lt;BR /&gt;to remove shared memory use 'ipcrm -m 17760256'&lt;BR /&gt;&lt;BR /&gt;-s is for removing semaphore &lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Gopi</description>
      <pubDate>Fri, 03 Jun 2005 00:59:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-kill-shared-memory/m-p/3557151#M17974</guid>
      <dc:creator>Gopi Sekar</dc:creator>
      <dc:date>2005-06-03T00:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: unable to kill shared memory</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-kill-shared-memory/m-p/3557152#M17975</link>
      <description>Hi Gopi &lt;BR /&gt;&lt;BR /&gt;I have tried with -m too but  the problem&lt;BR /&gt;still persist ...Is  there  any other option other than reboot&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Binu</description>
      <pubDate>Fri, 03 Jun 2005 01:41:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-kill-shared-memory/m-p/3557152#M17975</guid>
      <dc:creator>Binu_5</dc:creator>
      <dc:date>2005-06-03T01:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: unable to kill shared memory</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-kill-shared-memory/m-p/3557153#M17976</link>
      <description>&lt;SNIP&gt; from man page of ipcrm&lt;BR /&gt; -m shmid&lt;BR /&gt; removes the shared memory segment identified by shmid after the last detach is performed.&lt;BR /&gt;&lt;SNIP&gt;&lt;BR /&gt;&lt;BR /&gt;from the output of your ipcs, it looks like there is still one more process which is attached to that shared memory. find out that process and kill it. then u should be able to remove it using ipcrm -m&lt;BR /&gt;&lt;BR /&gt;use this command to find out who is using that shared memory&lt;BR /&gt;&lt;BR /&gt;ipcs -m -p&lt;BR /&gt;&lt;BR /&gt;it will give you shared memory id, pid of creator and last accessed pid. check the pid owner and kill him if not required.&lt;BR /&gt;&lt;BR /&gt;then you should be able to do ipcrm.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Gopi&lt;/SNIP&gt;&lt;/SNIP&gt;</description>
      <pubDate>Fri, 03 Jun 2005 02:10:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-kill-shared-memory/m-p/3557153#M17976</guid>
      <dc:creator>Gopi Sekar</dc:creator>
      <dc:date>2005-06-03T02:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: unable to kill shared memory</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-kill-shared-memory/m-p/3557154#M17977</link>
      <description>Hi Sekar&lt;BR /&gt;&lt;BR /&gt;Thanks  for the info ..Then how can I kill &lt;BR /&gt;all the procees initited by a particular user ...&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Binu</description>
      <pubDate>Fri, 03 Jun 2005 02:31:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-kill-shared-memory/m-p/3557154#M17977</guid>
      <dc:creator>Binu_5</dc:creator>
      <dc:date>2005-06-03T02:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: unable to kill shared memory</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-kill-shared-memory/m-p/3557155#M17978</link>
      <description>&lt;BR /&gt;you can use either killall or pkill&lt;BR /&gt;&lt;BR /&gt;pkill has option to kill all the process running on a particular user id.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Gopi</description>
      <pubDate>Fri, 03 Jun 2005 03:49:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-kill-shared-memory/m-p/3557155#M17978</guid>
      <dc:creator>Gopi Sekar</dc:creator>
      <dc:date>2005-06-03T03:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: unable to kill shared memory</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-kill-shared-memory/m-p/3557156#M17979</link>
      <description>If you can kill it, boot it.&lt;BR /&gt;&lt;BR /&gt;Some shared memory problems can't be fixed.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 03 Jun 2005 08:21:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-kill-shared-memory/m-p/3557156#M17979</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-06-03T08:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: unable to kill shared memory</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-kill-shared-memory/m-p/3557157#M17980</link>
      <description>reboot   &lt;BR /&gt;&lt;BR /&gt;;-)</description>
      <pubDate>Sat, 04 Jun 2005 11:51:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-kill-shared-memory/m-p/3557157#M17980</guid>
      <dc:creator>Ross Minkov</dc:creator>
      <dc:date>2005-06-04T11:51:18Z</dc:date>
    </item>
  </channel>
</rss>

