首页 > 数据库 > Sybase > 正文

SYBASE磁盘异步IO问题的解决方法

2023-06-11 14:35:58
字体:
来源:转载
供稿:网友

问题:async i/o 始终配不上。

前提:/dev/async文件已做,groupid正确,async driver已pend in。

原因:sybase的group没有lock share memory的权限。

解决办法: 在sbin/rc3.d 下增加文件S996setprivgrp。具体信息如下:

# cd sbin/rc3.d
        # ll S996*
        lrwxrwxrwx 1 root sys 26 May 30 15:56
        S996setprivgrp -> /sbi
        n/init.d/sybsetprivgrp
        # cat S996*
        #
        # Set setprivgrp for sybase account
        #
        PATH=/sbin:/usr/sbin:/usr/bin
        export PATH
        rval=0
        case $1 in
        start_msg)
        echo "Setting setprivgrp for sybase"
        ;;
        'start')
        /usr/sbin/setprivgrp sybase MLOCK RTPRIO
        CHOWN
        ;;
        *)
        echo "usage: $0 {start}"
        rval=1
        ;;
        esac
        exit $rval

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表

图片精选