Shmget failed!

Shmget failed!

Post by kluste » Wed, 23 Sep 1998 04:00:00



hello, I am using rh5.1 w/all patches, kernel 2.0.35, and wmaker
0.19.3... today i started receiving an error "** WARNING **: shmget
failed!" every time i access the gimp 1.0, control-panel, or wmakerconf
1.1.1.... (nothing else so far)...  does anyone have an idea of what/why
this is?  10X

I noticed that they have in common gtk+-1.0.5-1....

 
 
 

Shmget failed!

Post by Eric Pott » Thu, 24 Sep 1998 04:00:00


[Posted and mailed]

kluster enlightened this group thus:

Quote:> hello, I am using rh5.1 w/all patches, kernel 2.0.35, and wmaker
> 0.19.3... today i started receiving an error "** WARNING **: shmget
> failed!" every time i access the gimp 1.0, control-panel, or wmakerconf
> 1.1.1.... (nothing else so far)...  does anyone have an idea of what/why
> this is?  10X

> I noticed that they have in common gtk+-1.0.5-1....

Aparently there are only about 128 shared memory segments that linux uses
and which do not get cleaned out when no longer needed.  You can view them
with the 'ipcs -m' command, and delete them one by one with the 'ipcrm'
command.  Better yet, you can clear them all out with this perl script:

#!/usr/bin/perl


        `ipcrm shm $IDS`;

Quote:}

--

 *^  / \  \   |  \      
 / \/   \  \__|   \      
/  /   ^ \  \    
  /       \  \           Eric Potter
 /  ^   ^  \  \          

 
 
 

Shmget failed!

Post by kluste » Fri, 25 Sep 1998 04:00:00



> [Posted and mailed]

> kluster enlightened this group thus:
> > hello, I am using rh5.1 w/all patches, kernel 2.0.35, and wmaker
> > 0.19.3... today i started receiving an error "** WARNING **: shmget
> > failed!" every time i access the gimp 1.0, control-panel, or wmakerconf
> > 1.1.1.... (nothing else so far)...  does anyone have an idea of what/why
> > this is?  10X

> > I noticed that they have in common gtk+-1.0.5-1....

> Aparently there are only about 128 shared memory segments that linux uses
> and which do not get cleaned out when no longer needed.  You can view them
> with the 'ipcs -m' command, and delete them one by one with the 'ipcrm'
> command.  Better yet, you can clear them all out with this perl script:

> #!/usr/bin/perl



>         `ipcrm shm $IDS`;
> }

> --

>  *^  / \  \   |  \
>  / \/   \  \__|   \
> /  /   ^ \  \
>   /       \  \           Eric Potter
>  /  ^   ^  \  \

First of all, thanks for your help....
        Here is what I did:

$ ipcs -m

and got this:  http://home.earthlink.net/~kluster/ipcs-m_results

put your script in my ~/bin, named it "clearshared," and ran it...

$ clearshared

and got this: http://home.earthlink.net/~kluster/clearshared_results

I tried this from both X and the console....

I still get the "shmget failed!" ....   I had this b4... rebooted and
fixed it.... but I am trying to avoid rebooting... the box has been up
for a while now....

Thanks again....

 
 
 

1. Gdk-WARNING **: shmget failed!

Redhat 6.0 with some updates on gnome (cannot remember exactly which
packages).
Anyway, when I start
gqview, I get
Gdk-WARNING **: shmget failed!
Is this a serious messsage? How can I get rid of it?

--
J. G. "Jim" Dai            
School of Industrial and Systems Engineering        
    and School of Mathematics  
Georgia Institute of Technology
Atlanta, GA 30332-0205, USA        
+1-404-894-9139(O)  +1-404-894-2301(Fax)          
http://www.isye.gatech.edu/faculty/dai/

2. Apsfilter question

3. cdrecord: Invalid argument. shmget failed

4. Help! Install USB drivers on RH6.2

5. router tutorial needed

6. Help messg: Invalid argument. SHMGET failed.

7. sylpheed mangles mail from spool

8. cdrecord says shmget failed

9. alpha : shmget failed && ethernet problems

10. "shmget failed!". kernel mem leak, maybe?

11. CDRECORD *shmget failed*

12. ORA-07429: smsgsg: shmget() failed to get segment.