分类: DB2/Informix
2008-04-13 22:37:59
[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