on 12-31-2012 4:04 AM
Hi experts,
After sap instance restart we have clean the shared memory via cleanipc 00 remove.
can any one please how can i remove shared memory for sap instance.
REgards,
Hello,
Did you check tx SHMM?
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Vivek, have you solve that about how to clean shared memory without restart the instance ?
Regards,
Luis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello
You call cleanipc when the SAP instance is stopped and NOT when the system is up and running, which will crash the system.
The syntax to run cleanipc is:
First switch to the sidadm user
su- sidadm
To list the shared memory segments:
cleanipc 00 show
To remove the shared memory segments:
cleanipc 00 remove
NB : The number 00 should be replaced with the appropriated system number. If you have SCS then you need to run against that as well.
Cheers
RB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Mr. Vivek.
The cleanipc command is used to clear the shared memeory occupied by the SAP system.
Mostly, this command is used (by <sid>adm user) while restarting an SAP system.
So, you stop the system using stopsap, run the cleanipc command to clear the memory and
then start the system using startsap.
Command: cleanipc <instance_nr> remove
However, sometimes, cleanipc fails to cleanup some semaphores saying: Semaphore Key: XX remove failed **** - errno = 1 (Not owner)
Command: cleanipc 06 remove
In this case, login as root and run the following commands:
ipcs –s | grep “the number from the semaphore”
ipcrm –s “the number from the above command”
The above command ipcrm clears up
the semaphore which was not cleared by cleanipc command when executed by <sid>adm user.
Now, if you run cleanipc again using <sid>adm, you will find that the affected semaphore
is now cleared.
Kind rgds,
Ashwin Mane
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vivek,
You can have a look on Note 17108 - Shared memory still present, startup fails
or exactly what error you are facing can you tell the error texts?
Regards
GG
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi vivek,
By issuing cleanipc command, it remove from shared memory from instance also.....
Pls elaborate your query ...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.