Unable to remove shared memory in Redhat Linux

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Unable to remove shared memory in Redhat Linux
# 1  
Old 08-20-2010
Unable to remove shared memory in Redhat Linux

unable to remove shared memory using ipcrm -m in linux

Code:
[pin01@brmhost lib]$ ipcs -m

------ Shared Memory Segments --------
key        shmid      owner      perms      bytes      nattch     status      
0x00000000 32768      root      644        80         2                       
0x00000000 65537      root      644        16384      2                       
0x00000000 98306      root      644        280        2                       
0x00000000 196612     pin01     600        393216     2          dest         
0x00000000 229381     pin01     600        393216     2          dest         
0x00000000 262150     pin01     600        393216     2          dest         
0x00000000 294919     pin01     600        393216     2          dest         
0x00000000 327688     pin01     600        393216     2          dest         
0x00000000 360457     pin01     600        393216     2          dest         
0x00000000 393226     pin01     600        393216     2          dest         
0x00000000 425995     pin01     600        393216     2          dest         
0x00000000 458764     pin01     600        393216     2          dest         
0x00000000 491533     pin01     600        393216     2          dest

tried to remove as below:
Code:
[pin01@brmhost lib]$ ipcrm -m 196612

but still the shared memory is not removed
Code:
[pin01@brmhost lib]$ ipcs -m

------ Shared Memory Segments --------
key        shmid      owner      perms      bytes      nattch     status      
0x00000000 32768      root      644        80         2                       
0x00000000 65537      root      644        16384      2                       
0x00000000 98306      root      644        280        2                       
0x00000000 196612     pin01     600        393216     2          dest         
0x00000000 229381     pin01     600        393216     2          dest         
0x00000000 262150     pin01     600        393216     2          dest         
0x00000000 294919     pin01     600        393216     2          dest         
0x00000000 327688     pin01     600        393216     2          dest         
0x00000000 360457     pin01     600        393216     2          dest         
0x00000000 393226     pin01     600        393216     2          dest         
0x00000000 425995     pin01     600        393216     2          dest         
0x00000000 458764     pin01     600        393216     2          dest         
0x00000000 491533     pin01     600        393216     2          dest    
196612

any help from any one ?
Thanks
# 2  
Old 08-20-2010
What error code or message are you getting when you try to remove the shared memory?
# 3  
Old 08-21-2010
Quote:
fpmurphy What error code or message are you getting when you try to remove the shared memory?
No error message, no informationis displayed
# 4  
Old 08-21-2010
Code:
ipcs -a
ipcs -a|grep -e key -e 196612

remember msgid and semid
Code:
ipcrm -s semid
check
ipcs -m 196612

if need
Code:
ipcrm -q msgid
check
ipcs -m 196612

if need
change user to root
repeat
# 5  
Old 08-22-2010
Check for a script named "ipcclean" that should be part of the postgres package. I would look there for answers.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. HP-UX

Unable to mount shared folder from Linux server

Hi all, I have 3 servers, rx2600, rx2600, and rx2660. I have another x86 server running on Suse, and create a shared folder named /public From 1 of the rx2600 server I can mount that shared folder : intaqa:/>mount 10.1.2.82:/public /bkup intaqa:/>cd /bkup But from 2 others server I... (29 Replies)
Discussion started by: rexmale
29 Replies

2. Programming

Linux Shell Piping w/Shared Memory

So I am pretty new to the linux environment, and I am trying to create a shell that uses multiple pipes, and I read online that piping using shared memory space is more efficient than using regular piping. However, I have zero clue how to use shared memory space with pipes. Has anyone done this... (1 Reply)
Discussion started by: Greg_MC
1 Replies

3. Red Hat

unable to send mail from redhat linux server

While sending mail from linux server we observed below logs, stat=Deferred: Name server: xxxxxxxxxx.: host name lookup failure Kindly suggest what we need to change? Thanks in Advance (2 Replies)
Discussion started by: hydoss1
2 Replies

4. Red Hat

Unable to install datastage server on Redhat Linux

Hi, i have tried to install datastage server on redhat Linux operating system. But i unable to install the datastage sevrer. here are the details of the system. 1. Lynix installed using vmwear. vmwear Version :7.0.1 build-227600 2. lynix version information. uname -a ... (1 Reply)
Discussion started by: onesuri
1 Replies

5. Red Hat

Shared memory in linux

Hello, I am using Linux os. $ df -k /dev/shm Filesystem 1K-blocks Used Available Use% Mounted on tmpfs 2023256 1065000 958256 53% /dev/shm $ Based on my google this, it is shared memory. What is this shared memory and where exactly it is used? Can you... (5 Replies)
Discussion started by: govindts
5 Replies

6. Red Hat

about shared memory space in Linux !

Dear Friends , I am confused about shared memory in Linux . plz look @ the below output : $ df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 126G 61G 59G 52% / tmpfs 1.7G 0 1.7G 0% /dev/shm Here , I see that every time... (1 Reply)
Discussion started by: shipon_97
1 Replies

7. HP-UX

WAS 6.1 ND/Lawson ERP/HP-UX 11.23 PA-RISC - unable to attach shared memory segment

I'm not an HP-UX Admin professional, but rather a Lawson ERP installer. I'm looking for clues on how to troubleshoot this issue. I have WAS 6.1 ND running on HP-UX 11.23 PA-RISC with the Lawson ERP application . When I start the Lawson application, no errors arise. When I start WAS app server, an... (4 Replies)
Discussion started by: mrvitas
4 Replies

8. Red Hat

pny adp648tm-50 memory not working with redhat linux

I had two high speed 1gb mem installed on my primary mem slots. When i tried to add two PNY adp648tm-50 mem, 1gb each on the two empty mem slots, it didn't work. However both the old and the pny mem by themselves work and the system boot up, but fails if I put all the memories in there. Any... (0 Replies)
Discussion started by: return_user
0 Replies

9. SCO

Clear / Remove / Create Shared Memory...

Hi all... am not so much brilliant in this area... here i think many good hearted peoples around... so if anybody have intention to reply for my problem please give me a cut and clear picture of how... Thanks. ok comming to my problem... In our MHC server (Sco Unix 4.*) running 19 C process... (1 Reply)
Discussion started by: yocks
1 Replies
Login or Register to Ask a Question