Solved

Shared memory instances

Posted on 2011-03-22
1
338 Views
Last Modified: 2012-06-21
Hello experts,

I m quite new to Sun solaris, and I have SUN vFire 240 series server used for an application and recently the application created an error report stating that there was a problem with certain shared memory locations

     ID    Size
      0
    414   54307   /db/sports_aps2_q10
    315   54011   /db/sports_aps2
    118   54011   /db/sports_aps2
     29   54011   /export/data/db/sports_aps2
     30   54307   /export/data/db/sports_aps2_q10

Now the application owner asked me if I could kill/free up the shared memory locations going by ID. I had no clue how to do it.However the issue was fixed by tuning the application itself.

Though i would like to know how could i administer share memory as a root user and clear it if required.

Thanks in advane
0
Comment
Question by:Peddu_bhanu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 35189645
Hi,

the appropriate command is "ipcrm".

Use "ipcrm -m ID for memory segments, "ipcrm -q ID for message queues and "ipcrm -s ID for semaphores.

The first column ("T") indicates the type - segment (m), queue (q) or semaphore (s).

wmp
0

Featured Post

Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question