暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

ORA-12518: TNS:listener could not hand off client connection

原创 点点滴滴 2021-05-24
3135
oracle  11.2.0.3
HU-UX
问题原因:数据库进程出超出系统进程限制
ps -ef|grep ora|wc -l
kcture |grep nproc(root用户限制)
kcture |grep maxuprc(普通用户限制)
处理办法:
方法一:
查询连入数据库的连接,然后杀掉无效会话,释放进程
select count(*),username,machine,program,status from v$session group by username,machine,program,status;
select 'alter system kill session ''' || sid || ',' || serial# || ',@' || inst_id || ''' immediate;'
from v$session
where username='xxxx' and status='inactive';
select spid from  v$process where addr in(select  paddr  from v$session where username='xxxx' and status='inactive');
kill -9 
方法二:
增加系统进程限制数
kctune maxuprc+=1024(增加1024个立即生效)


复制
「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论