免费注册 查看新帖 |

Chinaunix

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

solaris的/etc/system里面, shmmax到底做什么事情? [复制链接]

论坛徽章:
1
2015年迎新春徽章
日期:2015-03-04 09:58:11
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-07-04 10:29 |只看该作者 |倒序浏览
set shmsys:shmnifo_shmmax=xxxxx
这句话是什么含义? 是设置某个进程的内存上限? 某个进程共享内存是使用上限?

论坛徽章:
0
2 [报告]
发表于 2011-07-04 12:18 |只看该作者
shmsys:shminfo_shmmax (Solaris 9 Releases)
Obsolete in the Solaris 10 release.

Description
Maximum size of system V shared memory segment that can be created. This parameter is an upper limit that is checked before the application sees if it actually has the physical resources to create the requested memory segment.

Attempts to create a shared memory section whose size is zero or whose size is larger than the specified value will fail with an EINVAL error.

This parameter specifies only the largest value the operating system can accept for the size of a shared memory segment. Whether the segment can be created depends entirely on the amount of swap space available on the system and, for a 32-bit process, whether there is enough space available in the process's address space for the segment to be attached.

论坛徽章:
0
3 [报告]
发表于 2011-07-04 12:30 |只看该作者
Refer to
Oracle Solaris Tunable Parameters Reference Manual

http://download.oracle.com/docs/cd/E19253-01/817-0404/index.html

论坛徽章:
1
2015年迎新春徽章
日期:2015-03-04 09:58:11
4 [报告]
发表于 2011-07-04 12:54 |只看该作者
shmsys:shminfo_shmmax (Solaris 9 Releases)
Obsolete in the Solaris 10 release.

Description
Max ...
icyfish28 发表于 2011-07-04 12:18


大虾,你这段话是用man看到的吗,为什么我看不到?
opensolaris 5.11

bash-3.00# man shmsys:shminfo_shmmax
No manual entry for shmsys:shminfo_shmmax.

论坛徽章:
1
2015年亚洲杯之沙特阿拉伯
日期:2015-04-10 13:59:00
5 [报告]
发表于 2011-07-04 13:02 |只看该作者
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP