- 論壇徽章:
- 0
|
我在redhat as3 update 5(物理內(nèi)存1G)上安裝 sybase12.5.3,結(jié)果發(fā)現(xiàn)無法設(shè)置內(nèi)存,具體的表現(xiàn)是:
設(shè)置 max memory = 262144 ,
執(zhí)行sp_configure "allocate max shared mem",1 時,系統(tǒng)提示錯誤:
00:00000:00008:2007/01/30 22:00:29.80 server The configuration option 'allocate
max shared memory' has been changed by 'sa' from '0' to '1'.
00:00000:00008:2007/01/30 22:00:29.80 kernel Allocating a shared memory segment
of size 395730916 bytes.
00:00000:00008:2007/01/30 22:00:29.80 kernel os_create_region: shmat(360449): I
nvalid argument
00:00000:00008:2007/01/30 22:00:29.80 kernel kbcreate: couldn't create server r
egion 0.
00:00000:00008:2007/01/30 22:00:29.80 kernel Retrying shared memory allocation
with smaller size 197865458 bytes.
00:00000:00008:2007/01/30 22:00:29.80 kernel Allocating a shared memory segment
of size 197865458 bytes.
00:00000:00008:2007/01/30 22:00:29.80 kernel os_create_region: shmat(393217): I
nvalid argument
@
00:00000:00008:2007/01/30 22:00:29.80 kernel kbcreate: couldn't create server r
egion 0.
00:00000:00008:2007/01/30 22:00:29.80 kernel Retrying shared memory allocation
with smaller size 98932729 bytes.
00:00000:00008:2007/01/30 22:00:29.80 kernel Allocating a shared memory segment
of size 98932729 bytes.
00:00000:00008:2007/01/30 22:00:29.80 kernel os_create_region: shmat(425985): I
nvalid argument
00:00000:00008:2007/01/30 22:00:29.80 kernel kbcreate: couldn't create server r
egion 0.
00:00000:00008:2007/01/30 22:00:29.80 kernel Retrying shared memory allocation
with smaller size 67108864 bytes.
00:00000:00008:2007/01/30 22:00:29.80 kernel Allocating a shared memory segment
of size 67108864 bytes.
00:00000:00008:2007/01/30 22:00:29.80 kernel os_create_region: shmat(458753): I
nvalid argument
00:00000:00008:2007/01/30 22:00:29.80 kernel kbcreate: couldn't create server r
egion 0.
~
/etc/sysctl.conf的配置如下:
#for sybase
kernel.shmmax = 536870912
kernel.shmmni = 4096
kernel.shmall = 2097152
kernel.sem = 250 32000 100 128
fs.aio-max-size = 1048576
fs.file-max = 327680
查看共享內(nèi)存情況:
ipcs -lm |grep 'max seg size'
max seg size (kbytes) = 524288
看了這里的不少帖子和sybase的installation guilde ,好像就是調(diào)shmmax這個參數(shù)了,
但是我的sybase還是不能設(shè)置內(nèi)存。
麻煩各位幫看看問題。多謝! |
|