news 2026/6/10 15:29:05

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/6/10 8:19:28

振动器-Android studio软件源代码-java语言

振动器 App 简介与使用说明 一、软件简介 📱 软件定位 本软件是一款基于 Android 系统的多功能振动控制应用,通过调用设备振动马达,提供多种预设振动模式和高度自定义的振动编辑功能,满足用户在提醒、反馈、娱乐等场景下的多样化…

作者头像 李华
网站建设 2026/6/10 12:59:24

人工智能应用- 人机对战:04. 蒙特卡洛树搜索

蒙特卡洛树搜索(MCTS)是 AlphaGo 成功的核心技术之一。围棋中的最大挑战在于如何评估当前局势,而MCTS 通过模拟走棋到终局来进行评估。为了提高模拟走棋的效率,MCTS 并不会扩展所有可能的路径,而是通过随机采样的…

作者头像 李华
网站建设 2026/6/10 14:09:08

雨量监测站 雨量实时监测系统

问:这款翻斗式自动雨量站的核心定位是什么?为什么能被称为防汛抗旱的“千里眼”?答:核心定位是全自动高精度雨量监测终端,主打“精准采集、稳定运行、免维护、低功耗”,专为防汛抗旱、水资源监测设计&#…

作者头像 李华
网站建设 2026/6/10 12:57:15

拖延症福音 10个AI论文网站测评:MBA毕业论文写作+格式规范全攻略

在当前学术研究日益数字化的背景下,MBA学员在撰写毕业论文时面临诸多挑战,如选题构思困难、文献资料繁杂、格式规范不熟悉以及写作效率低下等问题。为帮助更多学生高效完成论文任务,本次测评基于2026年的实测数据与用户真实反馈,全…

作者头像 李华
网站建设 2026/6/9 19:40:42

JumpServer API 使用指南

JumpServer 是开源的堡垒机系统,本文档介绍如何通过 API 进行自动化管理。 一、API 认证方式 JumpServer 支持多种认证方式: 认证方式 说明 适用场景 Session 登录后使用 session_id Web 页面 Token 一次性 Token,有有效期 临时调用 Private Token 永久 Token 脚本调用 Acc…

作者头像 李华
网站建设 2026/6/10 0:44:31

互联网大厂Java求职面试实战:从Spring Boot到AI技术的全栈考察

互联网大厂Java求职面试实战:从Spring Boot到AI技术的全栈考察 本文通过模拟互联网大厂Java岗位的求职面试,展现了严肃的面试官与搞笑的水货程序员谢飞机之间的问答。场景涵盖电商与内容社区的业务背景,问题围绕Java核心技术栈、微服务架构、…

作者头像 李华