Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-08-2009, 04:54 AM
|
#1
|
Member
Registered: Mar 2008
Location: Bengaluru, India
Distribution: RHEL 5.5, Solaris 5.10
Posts: 215
Rep:
|
shared memory not removing properly.
Hi all,
I am using some geophysics applications and the data volumes are too high. sometimes my system used hang and i used to kill the X session. while i respawn the application, and while loading the data it used to say that the project was still in use. In IRIX if i fire the "ipcs -a" command it will list the shared memory objects. I can remove by "ipcrm -m shmemid".
But in RHEL 5, these commands are working but its not getting removed from memory. If i fire the "ipcs -a" command, again it shows the same shared memory id and size of the project.
How to flush these shared memory things from system?. my system has 64 GB RAM, 102 GB swap space and Intel Xeon X5450 @ 3.00 GHz
KingstoN
|
|
|
12-08-2009, 05:47 AM
|
#2
|
Member
Registered: Sep 2009
Location: Russia
Distribution: Gentoo, LFS
Posts: 399
Rep:
|
probably it's because you didn't killed a process that was actually using that data. so while it's still there data may not be available.
|
|
|
12-09-2009, 04:19 AM
|
#3
|
Member
Registered: Mar 2008
Location: Bengaluru, India
Distribution: RHEL 5.5, Solaris 5.10
Posts: 215
Original Poster
Rep:
|
i killed all the processes first...then only i tried with ipcrm command
but still problem persists...
|
|
|
12-09-2009, 03:42 PM
|
#4
|
ELF Statifier author
Registered: Oct 2007
Posts: 676
Rep:
|
Quote:
Originally Posted by kingston
i killed all the processes first...then only i tried with ipcrm command
but still problem persists...
|
Shared memory not removed while there is a t least one process taht attached to each.
Are you sure that all processes that uses shared memory killed ?
Did ipcrm give any error message ?
|
|
|
12-10-2009, 01:42 AM
|
#5
|
Member
Registered: Mar 2008
Location: Bengaluru, India
Distribution: RHEL 5.5, Solaris 5.10
Posts: 215
Original Poster
Rep:
|
sure...i killed all the processes. ipcrm too didnt give any error message. the moment when i give "ipcrm -m 68686868". immediately i got the prompt. But if i check with "ipcs -a" command, the same process with the id is still there.
|
|
|
12-10-2009, 02:32 AM
|
#6
|
ELF Statifier author
Registered: Oct 2007
Posts: 676
Rep:
|
Quote:
Originally Posted by kingston
sure...i killed all the processes. ipcrm too didnt give any error message. the moment when i give "ipcrm -m 68686868". immediately i got the prompt. But if i check with "ipcs -a" command, the same process with the id is still there.
|
Try to run ipcrm under strace and post output
|
|
|
All times are GMT -5. The time now is 04:13 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|