> [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:
> `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...
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....