HP-UX平台Oracle启动实例遭遇ORA-27300/ORA-27301/ORA-27302报错

近期某客户因业务发展,需要将ORACLE数据库的PROCESS连接数,从3500改动到10000.经过前期沟通,计划在晚上进行RAC的2个节点轮流重启的方式来进行修改,尽可能的减少对业务的影响。

该平台为hpux 11.31环境的oracle 11.2.0.4版本,2节点RAC集群环境。

正常的配置参数后开始重启:

SQL> alter system set processes=10000 scope=spfile sid='hisdb1';

System altered.

SQL> alter system set processes=10000 scope=spfile sid='hisdb2';

System altered.

重启数据库报错,如下:

$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.4.0 Production on Mon Mar 9 20:18:51 2026

Copyright (c) 1982, 2013, Oracle. All rights reserved.

Connected to an idle instance.

SQL> startup nomount

ORA-27154: post/wait create failed

ORA-27300: OS system dependent operation:semget failed with status: 28

ORA-27301: OS failure message: No space left on device

ORA-27302: failure occurred at: sskgpcreates

对该报错进行分析,是系统内核参数的限制,因此尝试修改内核参数,发现HPUX的这几个内核参数修改,需要重启HPUX系统才可以生效。因此将PROCESS修改为5000,先启用数据库。

kctune -h -B semmni=16384

kctune -h -B semmns=32768

* The automatic 'backup' configuration has been updated.

* Future operations will update the backup without prompting.

* The requested changes have been saved, and will take effect at

next boot.

Tunable Value Expression

semmni (now) 8192 8192

(next boot) 16384 16384

kctune -h -B semmns=32768

* The automatic 'backup' configuration has been updated.

* Future operations will update the backup without prompting.

* The requested changes have been saved, and will take effect at

next boot.

Tunable Value Expression

semmns (now) 16384 16384

(next boot) 32768 32768

后续经过分析,在HPUX上修改PROCESS参数,需要对应修改如下参数:

修改命令:

kctune -h -B semmni=16384

kctune -h -B semmns=32768

kctune -h -B nkthread=34768

kctune -h -B nproc=32768

kctune -h -B maxuprc=32000

参数值查看:

kctune|grep nproc

kctune|grep semmn

kctune|grep maxuprc

kctune|grep nkthread

再次申请停机维护窗口,将HPUX的5个参数修改后,数据库的PROCESS参数成功修改到10000.

相关推荐
Elastic 中国社区官方博客11 小时前
将你自己的密钥用于现有 Elastic Cloud 部署
大数据·数据库·elasticsearch·全文检索
红海云12 小时前
Jev:给智能系统做判断的模型
大数据·数据库·人工智能
wjkjpcba12 小时前
PCBA烧录程序是什么:PCBA包工包料厂家解析烧录与测试
linux·数据库·人工智能·smt贴片加工·pcba贴片加工厂
꯭自꯭闭꯭12 小时前
达梦事物特性及MVCC
linux·运维·数据库
小马同学-13 小时前
MySQL主从复制和读写分离
数据库·mysql
谢亮_vipxieliang13 小时前
Spring 事务失效的常见场景
java·开发语言·数据库·spring boot
geovindu13 小时前
sql: JSON and XML Data Handling in SQL using sql server 2025
大数据·数据库·sqlserver·数据库开发·数据库架构
IT大白鼠14 小时前
图数据库系列 · 第 02 篇——架构拆解:原生图存储到因果集群
数据库·架构·nosql
EatFan14 小时前
从“框架混战“到“运行时收敛“:2026 年 AI Agent 开发框架的三条路线之争
java·数据库·人工智能·多智能体·ai agent·mcp·agent 框架
小蒜学长15 小时前
基于SpringBoot的佳新超市管理系统设计与实现系统(代码+数据库+LW)
java·数据库·spring boot·后端·佳新超市管理系统