Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Shared memory instances

Posted on 2011-03-22
1
Medium Priority
?
340 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 2000 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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.

610 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