ASE各个UNIX/LINUX平台内核参数的调整
sybase 12.5 for HP-UX
调整共享内存和异步IO:
使用sam工具:
kernel configration --parameter--设置shmmax
kernel configration --Drivers--设置asyncdisk为In
重建内核并reboot
以root用户:
# /etc/mknod /dev/async c 101 4
# /chmod 0660 /dev/async
# chown sybase:sybase /dev/async
# vi /sbin/rc2.d/S500inetd
加入/etc/setprivgrp/ sybasee RTPRIO MLOCK CHOWN
重新启动系统
sybase 12.5 for sun solaris
调整共享内存:
编辑/etc/system文件,加入以下行:
set shmsys:shminfo_shmmax=nnn
重新启动系统
ASE15 for linux安装
To check the current shared memory size, enter:
# /sbin/sysctl kernel.shmmax
To adjust the shared memory size:
# /sbin/sysctl -w kernel.shmmax=nnn
To guarantee that this value is applied every time the system is started, add
the above line to your /etc/rc.d/rc.local file. On SuSE systems, the file is
/etc/init.d/boot.local.
On Linux RHEL Update 3.0 and greater, Adaptive Server version 15.0
running on multiple engines requires the security feature Exec-Shield to be
disabled.
To disable Exec-Shield:
a Add the following lines in /etc/sysctl.conf:
kernel.exec-shield=0
kernel.exec-shield-randomize=0
b As SU, enter:
/sbin/sysctl -P
for the action to take effect.
sybase 12.5 for AIX安装
调整共享内存和异步IO:
用smit工具
smit -- Devices menu -- Asynchronous I/O -- change/show Characteristics of Asynchronous I/O -- ASYNC I/O STATE=Available
重建内核并重新启动系统
sybase 12.5 fir Digtal Unix 安装
调整共享内存和异步IO:
编辑文件/etc/sysconfigtab增加以下七行:
ipc:
shm-max=nnn
ssm-threshold=0
rt:
aio-max-num=1024
vm:
new-wire-method=0
重新启动系统
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/1068/viewspace-957310/ ,如需转载,请注明出处,否则将追究法律责任。