news 2026/5/15 22:30:55

ORA-00800: soft external error, arguments: [Set Priority Failed], [VKTM] (Doc ID 2718971.1)

作者头像

张小明

前端开发工程师

1.2k 24
文章封面图
ORA-00800: soft external error, arguments: [Set Priority Failed], [VKTM] (Doc ID 2718971.1)

1.检查oradism文件权限(下方权限是正常的)

$ cd $ORACLE_HOME/bin

$ ls -lrt oradism

-rwsr-x--- 1 root oinstall 147848 Apr 17 2019 oradism

chown root $ORACLE_HOME/bin/oradism

chmod 4750 $ORACLE_HOME/bin/oradism

2.检查数据库的优先级别:VKTM还是LMS*

set linesize 680

col Parameter for a30

col "Session Value" for a16

col "Instance Value" for a16

col "Description" for a30

select a.ksppinm "Parameter", b.ksppstvl "Session Value", c.ksppstvl "Instance Value", a.KSPPDESC "Description"

from x$ksppi a, x$ksppcv b, x$ksppsv c

where a.indx = b.indx and a.indx = c.indx and a.ksppinm like '_%' and a.ksppinm like '_highest_priority_process%';

上面是正确的,如果不正确,更改优先级

alter system set "_high_priority_processes"='VKTM' scope=spfile;

3.检查Cgroup配置

$ ps -eaf|grep -i vktm |grep -v grep

oracle 1900 1 0 13:53 ? 00:00:00 ora_vktm_gsp

$ cat /proc/1900/cgroup | grep cpu

7:cpu,cpuacct:/user.slice

2:cpuset:/

$ ps -eaf|grep -i pmon|grep -v grep

oracle 1888 1 0 13:53 ? 00:00:00 ora_pmon_gsp

$ cat /proc/1888/cgroup | grep cpu

7:cpu,cpuacct:/user.slice

2:cpuset:/

检查发现设置显示其他路径,检查cpu.rt_runtime_us的值

# cat /sys/fs/cgroup/cpu,cpuacct/system.slice/cpu.rt_runtime_us

0

# cat /sys/fs/cgroup/cpu,cpuacct/user.slice/cpu.rt_runtime_us

0

根据官方文档其值应该为0和950000,可以使用下面命令修改,但是系统重启后,此参数设置会失效

echo 0 > /sys/fs/cgroup/cpu,cpuacct/system.slice/cpu.rt_runtime_us

echo 950000 > /sys/fs/cgroup/cpu,cpuacct/user.slice/cpu.rt_runtime_us

永久生效(在cgconfig.conf中设置)

Install libcgroup-tools* on the system. (You can find this package on OL7 latest repository)

# yum install libcgroup-tools

/etc/cgconfig.conf will be created automatically when you start cgconfig service

# systemctl start cgconfig

Edit /etc/cgconfig.conf with user.slice parameter below.

group user.slice {

cpu {

cpu.rt_period_us = 1000000;

cpu.rt_runtime_us = 950000;

}

}

Restart cgfconfig service so the value will take effect.

# systemctl restart cgconfig

Enable cgconfig so it will take effect during reboot.

#systemctl enable cgconfig

Reboot the server and check the value if it is now persistent.

重启实例

版权声明: 本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若内容造成侵权/违法违规/事实不符,请联系邮箱:809451989@qq.com进行投诉反馈,一经查实,立即删除!
网站建设 2026/5/14 18:51:52

2026年最新工业AI平台推荐与全球格局

在工业智能化的深水区,AI早已不是那个能写诗、聊天、生成PPT的“聪明助手”,它必须能听懂机床的震动、看懂焊缝的微裂、算准一条产线的能耗曲线——否则,再炫的技术也只是展厅里的摆设。正因如此,2026年全球工业AI平台的排名&…

作者头像 李华
网站建设 2026/5/14 6:13:58

炒股亏钱的原因

一、市场客观原因零和博弈属性A股市场以散户为主,短期交易本质是资金博弈,少数人赚走了多数人的钱。信息不对称机构、大资金拥有信息、调研、工具优势,散户常处于滞后地位。系统性风险熊市周期中(如2008、2015、2018年&#xff09…

作者头像 李华
网站建设 2026/5/14 6:05:23

计算机毕业设计springboot成人培训机构管理系统 基于SpringBoot的成人家教服务撮合平台设计与实现 成人职业技能培训信息化管理平台开发

计算机毕业设计springboot成人培训机构管理系统2q5348ul (配套有源码 程序 mysql数据库 论文) 本套源码可以在文本联xi,先看具体系统功能演示视频领取,可分享源码参考。随着职场竞争加剧和个人职业发展需求提升,成人教育培训市场迎…

作者头像 李华
网站建设 2026/5/3 23:27:28

Reorx:OpenClaw 正在重塑我的数字生活,以及为什么我退订了所有 SaaS

2026 年初,“OpenClaw”现象级爆发。当所有人都在讨论 Mac Mini 的二手价格暴涨时,知名技术博主 Reorx 发布了一篇长文,详细记录了他利用 OpenClaw 将自己的工作流从“云端租赁”彻底迁移回“本地私有”的全过程。作者揭示了一个正在发生的趋…

作者头像 李华