免费注册 查看新帖 |

Chinaunix

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

os_create_region: shmat(2752523): [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-03-31 15:42 |只看该作者 |倒序浏览
我的SYBASE版本是12.50。系统是LINUX AS  4,服务器是hp Proliant DL360,内存2G,系统参数的设置是
kernel.shmmax = 800000000
数据库的参数是
number of devices 20
number of user connections 100
number of open indexes 2000
numeer of open objects 2000
number of sort buffers 5000
max memory 512000
用sp_configure "memory" 可以看到还有900000K的内存可以调整呢,可是我只要是把default data cache 调到超过50M的时候,重新启动SYBASE就出现了如下提示的错误
00:00000:00000:2006/03/30 14:55:22.19 kernel os_create_region: shmat(2752523):Invalid argument
00:00000:00000:2006/03/30 14:55:22.19 kernel  kbcreate: couldn't create kernel r
egion.
00:00000:00000:2006/03/30 14:55:22.19 kernel  kistartup: could not create shared
memory
向各位请教啦

论坛徽章:
4
2015年亚洲杯之阿联酋
日期:2015-03-10 10:32:022015年亚洲杯之阿曼
日期:2015-03-10 14:53:222015亚冠之水原三星
日期:2015-07-18 15:40:262015亚冠之塔什干棉农
日期:2015-07-27 20:52:05
2 [报告]
发表于 2006-03-31 15:55 |只看该作者
shmmax=800000000(bytes)
max memory 512000(2k)
512000*2048=1048576000
which one is bigger?1048576000 or 800000000?

论坛徽章:
0
3 [报告]
发表于 2006-03-31 16:29 |只看该作者
呵呵,是我看错啦,可是后来我把max memory改为200000,还是一样的效果,所以应该不是那个的原因,虽然那个会引起错误

论坛徽章:
1
操作系统版块每日发帖之星
日期:2016-06-20 06:20:00
4 [报告]
发表于 2006-03-31 16:33 |只看该作者
ssm_threshold set to 0试试

论坛徽章:
0
5 [报告]
发表于 2006-03-31 16:50 |只看该作者
我看看去

论坛徽章:
0
6 [报告]
发表于 2006-03-31 21:43 |只看该作者
注意是否krg文件导致的!

论坛徽章:
0
7 [报告]
发表于 2006-04-01 22:17 |只看该作者
我用FIND查了一下,没看到SRG或者是KRG文件呢

论坛徽章:
0
8 [报告]
发表于 2006-04-01 23:04 |只看该作者
我怀疑是不是shmmax问题
我查了一个SYBASE的说法
os_create_region: shmat (%d): %s
This message is written to the error log when SQL Server fails to
attach at an address. In this message, %d is the shared memory
identifier and %s is an operating system error messag
Action
1. At the operating system level, check which shared memory
processes are using and whether shared memory segments are
being used by SQL Server.
To check this on UNIX, run this command as the “sybase” user:
% ipcs -m
IPC status from workstation1 as of Fri May 26 14:08:25 1995
T ID KEY MODE OWNER GROUP
Shared Memory:
m 256 0x699b7e24 --rw------- sybase sybase
m 257 0x699b7e25 --rw------- sybase sybase
If shared memory segments are being used by SQL Server,
reboot the operating system to clear shared memory or remove
them using the ipcrm operating system command.
ä Note
Before removing the shared memory segments, identify the process that
created them using the command “ipcs -ma” to make sure you only remove
the appropriate segments.
2. Check the $SYBASE directory to see whether there are any *.krg
or *.srg files left from an abnormal SQL Server exit. If any such
files exist, delete them.
3. os_create_region errors can occur when shared memory is not
configured properly on your operating system. Refer to theSystem Administration Guide Supplement for your platform for
information about configuring shared memory properly.
我在以前装的一台机子上查看IPCS时,只要没启动SYBASE,就没有相应的信息,而在这台上我没启动SYBASE也可以看到十几行的内存的使用地址,这就对上了shared memory
processes are using and whether shared memory segments are
being used by SQL Server.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP