728x90
Question
Remove Shared Memory Segments
Answer
Directions for removing shared memory segments are as follows: (must be root)
- Get your SERVERNUM from the onconfig
- Convert that to hex and add it to 5256 in hex
- ipcs -m |grep 5256+SERVERNUM(in hex)
- The ID is the second column in the output. Write down each of the ID numbers.
- Take the list of IDs and run ipcrm -m ID for each ID.
so an example is as follows:
1. onstat -c |grep SERVERNUM
SERVERNUM 60 # Unique id corresponding to a Dynamic Server Instance
2. 0x5256 + 0x3c = 0x5292
3. ipcs -m |grep 5292
m 121 0x52924801 --rw-rw---- root informix
m 122 0x52924802 --rw-rw---- root informix
m 123 0x52924803 --rw-rw-rw- root informix
4. ipcrm -m 121
ipcrm -m 122
ipcrm -m 123
5. this command will confirm the segment has been removed
ipcs -m |grep 5292
http://www-01.ibm.com/support/knowledgecenter/api/content/SSGU8G_11.50.0/com.ibm.admin.doc/ids_admin_1218.htm
http://www-01.ibm.com/support/docview.wss?uid=swg21326141
728x90
'Informix > informix troubleshooting' 카테고리의 다른 글
What is the maximum number of pages for a table or fragment? What is the maximum number of rows per page? (0) | 2015.03.06 |
---|---|
Rebuilding sysadmin database manually (0) | 2014.11.22 |
Is there an Alternative to hosts.equiv for High Availability Data Replication? (0) | 2014.05.20 |
Point-in-time recovery using archecker. (0) | 2014.04.18 |
An ontape archive failing for lack of available memory (0) | 2014.04.14 |