- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- unable to kill shared memory
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2005 05:45 PM
06-02-2005 05:45 PM
unable to kill shared memory
I have some problem with removing shared memmory
if I use ipscs the output looks like
ey shmid owner perms bytes nattch status
0x00000000 17760256 naveens 666 33562624 1 dest
if I give ipcrm -s 17760256
it stil does'nt remove shared memmory
Please help
Binu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2005 05:59 PM
06-02-2005 05:59 PM
Re: unable to kill shared memory
you are using invalid key for removing shared memory.
to remove shared memory use 'ipcrm -m 17760256'
-s is for removing semaphore
Hope this helps,
Gopi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2005 06:41 PM
06-02-2005 06:41 PM
Re: unable to kill shared memory
I have tried with -m too but the problem
still persist ...Is there any other option other than reboot
Thanks
Binu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2005 07:10 PM
06-02-2005 07:10 PM
Re: unable to kill shared memory
-m shmid
removes the shared memory segment identified by shmid after the last detach is performed.
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
use this command to find out who is using that shared memory
ipcs -m -p
it will give you shared memory id, pid of creator and last accessed pid. check the pid owner and kill him if not required.
then you should be able to do ipcrm.
Hope this helps,
Gopi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2005 07:31 PM
06-02-2005 07:31 PM
Re: unable to kill shared memory
Thanks for the info ..Then how can I kill
all the procees initited by a particular user ...
Thanks
Binu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2005 08:49 PM
06-02-2005 08:49 PM
Re: unable to kill shared memory
you can use either killall or pkill
pkill has option to kill all the process running on a particular user id.
Hope this helps,
Gopi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2005 01:21 AM
06-03-2005 01:21 AM
Re: unable to kill shared memory
Some shared memory problems can't be fixed.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2005 04:51 AM
06-04-2005 04:51 AM
Re: unable to kill shared memory
;-)