Ajesh
2nd July 2009, 09:31
Hi

We have our Baan Application on Unix. i need to restart the Shared memory but while stopping it i am getting the following message

# of attaches = 113 Cannot remove ..# of attaches not eq 0

I think i need to kill some processes. Some jobs were running prior to that. Could that be the reason?

And how could i remove those attaches?

Regards

norwim
2nd July 2009, 10:14
Hi there,

killing processes is not the solution here. Instead you have to release shared memory.
The command needed is ipcrm -m. To display the shared memory segments use ipcs -m.

hth

Norbert

Ajesh
2nd July 2009, 12:51
Hi

thanks for the command. there are actually multiple instances running so how would i know which segnment belongs to the instance on which i need to release?

Regards

dave_23
2nd July 2009, 23:03
it might be more simple than that.

that message usually means you have bshell's and or driver processes out there.

you can just kill those processes and that will release shared memory.

Dave