Operating System - HP-UX
1834499 Members
2800 Online
110068 Solutions
New Discussion

Re: shared memory not being released

 
Jeff Hoevenaar_1
Occasional Contributor

shared memory not being released

We have some application that are not releasing shared memory. Is there a way
to release this memory othter than rebooting. I have mesed around with the ipcs
commnad but I am not 100% sure what it is showing me. The application support
people what to reboot the server each week but I am trying to find a better way
to solve the problem.
1 REPLY 1
Alan Riggs_1
Regular Advisor

Re: shared memory not being released

ipcrm is the comand to remove shared memory segments, queues or semaphores. If
the segments in question are easily identifiable with ipcs (the man page should
explain each field for you if you are uncertain of the meaning of a column:
for easy readability make your window 130 characters wide before running the
command.)

Once you have identified the shared memory segment issue an ipcrm -m .

Example: to remove
m 3807 0x6d455226 --rw-r----- oracle dba oracle dba 864
1013551104 1757 27668 16:39:04 16:39:05 8:18:32

use ipcrm -m 3807.