免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3656 | 回复: 1
打印 上一主题 下一主题

【solaris】关于intimate shared memory的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2002-04-23 18:32 |只看该作者 |倒序浏览
究竟怎么判定是否已经使用了这种特性?
环境
Solaris 7 64bit.
Oracle 8172 64bit
bash-2.03$ ps -ef|grep oraclebiddb|wc -l
     303
bash-2.03$ ipcs -Am
IPC status from <running system> as of 2002年04月23日 星期二 17时25分44秒 CST
T         ID      KEY        MODE        OWNER    GROUP  CREATOR   CGROUP NATTCH      SEGSZ  CPID  LPID   ATIME    DTIME    CTIME  ISMATTCH
Shared Memory:
m          0   0x500483d0 --rw-r--r--     root     root     root     root      1         68   309   309  2:43:28  2:43:28  2:43:28        1
m        301   0x41180c94 --rw-rw----   oracle oinstall   oracle oinstall    318 2648899584   588  9168 17:25:42 17:25:42 14:11:524294261899
bash-2.03$ ps -ef|grep oraclebiddb|wc -l
     298
bash-2.03$ ipcs -Am
IPC status from <running system> as of 2002年04月23日 星期二 17时26分16秒 CST
T         ID      KEY        MODE        OWNER    GROUP  CREATOR   CGROUP NATTCH      SEGSZ  CPID  LPID   ATIME    DTIME    CTIME  ISMATTCH
Shared Memory:
m          0   0x500483d0 --rw-r--r--     root     root     root     root      1         68   309   309  2:43:28  2:43:28  2:43:28        1
m        301   0x41180c94 --rw-rw----   oracle oinstall   oracle oinstall    313 2648899584   588  9215 17:26:14 17:26:14 14:11:524294261888

论坛徽章:
0
2 [报告]
发表于 2002-04-24 01:15 |只看该作者
i think so.  by default ISM is enabled in solaris and oracle, unless it\'s explicitly disabled in /etc/system and init.ora, respectively.  sometimes, if SGA is too large and doesn\'t fit in one contigious share memory segment, oracle won\'t be able to use ism.   the ISMATTCH # on your ipcs output looks strange.  i don\'t believe it\'s the actual number of processes attached to ism.  i think there is a bug in solaris 2.7 on this.  you should check with sunsolve.  if i had to guess, i think it\'s a bug in ipcs program, probably conversion between signed and unsigned number, ...
again, just a guess.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP