Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1466147
  • 博文数量: 139
  • 博客积分: 10005
  • 博客等级: 中将
  • 技术积分: 4740
  • 用 户 组: 普通用户
  • 注册时间: 2005-03-01 14:39
文章分类

全部博文(139)

文章存档

2010年(63)

2009年(27)

2008年(49)

我的朋友

分类: DB2/Informix

2008-04-13 22:37:59

[root@tonykorn97 ~]# su - tapeback
[tapeback@tonykorn97 ~]$ onstat -d
15:05:38 shmat: [22]: operating system error
onstat: Cannot attach to shared memory. errno = 22


[tapeback@tonykorn97 ~]$ onstat -u
15:06:07 shmat: [22]: operating system error
onstat: Cannot attach to shared memory. errno = 22
[tapeback@tonykorn97 ~]$ onstat -m

IBM Informix Dynamic Server Version 9.40.UC4W2 -- On-Line -- Up 118 days 03:37:57 -- 3103852 Kbyts

Message Log File: /home/informix/tonykorn97.log
15:06:09 shmat: [ENOMEM][12]: out of available data space, check system MAXMEM

15:06:09 out of virtual shared memory

15:06:09 shmat: [ENOMEM][12]: out of available data space, check system MAXMEM

15:06:09 out of virtual shared memory

15:06:09 shmat: [ENOMEM][12]: out of available data space, check system MAXMEM

15:06:09 out of virtual shared memory

15:06:09 shmat: [ENOMEM][12]: out of available data space, check system MAXMEM

15:06:09 out of virtual shared memory

15:06:10 shmat: [ENOMEM][12]: out of available data space, check system MAXMEM

15:06:10 out of virtual shared memory


[tapeback@tonykorn97 ~]$

应该是buffers设置的太大了!重新设置一下参数!

停数据库的时候出现这样的状况!
[informix@tonykorn97 ~]$ onmode -ky
16:29:07 shmat: [22]: operating system error
onmode: Shutdown of the database server shall be done by killing
the database server processes, as the database server is
in Initialization mode and cannot accept onmode commands.

修改
LOCKS 200000
BUFFERS 200000

SHMVIRTSIZE 32000
SHMVIRTSIZE 16000

阅读(1536) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~