亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
123下一頁
最近訪問板塊 發(fā)新帖
查看: 9760 | 回復(fù): 23
打印 上一主題 下一主題

sybase for linux 共享內(nèi)存設(shè)置的問題 [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2007-01-30 21:58 |只看該作者 |倒序瀏覽
我在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)存。
麻煩各位幫看看問題。多謝!

論壇徽章:
0
2 [報告]
發(fā)表于 2007-01-30 22:43 |只看該作者
sysctl命令

論壇徽章:
0
3 [報告]
發(fā)表于 2007-01-30 22:46 |只看該作者
原帖由 hobbylu 于 2007-1-30 22:43 發(fā)表
sysctl命令

麻煩 hobbylu 解釋詳細一些嗎?我對linux的使用不是很熟悉,多謝!

論壇徽章:
1
2017金雞報曉
日期:2017-01-10 15:19:56
4 [報告]
發(fā)表于 2007-01-31 08:18 |只看該作者
執(zhí)行sysctl -n kernel.shmmax 看一下
另外,可以將shmmax的值配置的再大一些

論壇徽章:
0
5 [報告]
發(fā)表于 2007-01-31 08:23 |只看該作者
原帖由 chuxu 于 2007-1-31 08:18 發(fā)表
執(zhí)行sysctl -n kernel.shmmax 看一下
另外,可以將shmmax的值配置的再大一些



這個 sysctl -n kernel.shmmax  我晚上再試試看
我也嘗試設(shè)置過 shmmax = 805306368 不過也同樣的錯誤,另外,是否和sybase沒有輸入lisence有關(guān)?

論壇徽章:
1
2017金雞報曉
日期:2017-01-10 15:19:56
6 [報告]
發(fā)表于 2007-01-31 08:32 |只看該作者
我的意思是你改了sysctl.conf 后執(zhí)行sysctl -p 或是重啟機器了嗎?

論壇徽章:
0
7 [報告]
發(fā)表于 2007-01-31 08:36 |只看該作者
原帖由 chuxu 于 2007-1-31 08:32 發(fā)表
我的意思是你改了sysctl.conf 后執(zhí)行sysctl -p 或是重啟機器了嗎?



只是修改了sysctl.conf,沒有執(zhí)行 sysctl -p ,就重啟了,必須執(zhí)行了 sysctl -p 再重啟嗎?

論壇徽章:
0
8 [報告]
發(fā)表于 2007-01-31 10:23 |只看該作者
你設(shè)置max memory=150000 看看

還有你就設(shè)置
kernel.shmmax = 536870912
fs.aio-max-size = 1048576
這兩行,其他先去掉

[ 本帖最后由 beagle 于 2007-1-31 10:28 編輯 ]

論壇徽章:
0
9 [報告]
發(fā)表于 2007-01-31 12:51 |只看該作者
原帖由 beagle 于 2007-1-31 10:23 發(fā)表
你設(shè)置max memory=150000 看看

還有你就設(shè)置
kernel.shmmax = 536870912
fs.aio-max-size = 1048576
這兩行,其他先去掉


多謝beagle

設(shè)置max memory=150000 應(yīng)該不是問題,內(nèi)存都是有的。

kernel.shmmax = 536870912
fs.aio-max-size = 1048576

只設(shè)置這2行也試了,還是不行。

論壇徽章:
0
10 [報告]
發(fā)表于 2007-01-31 13:08 |只看該作者
加大 sysctl.conf 中的配置,重啟或sysctl -p
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP