HIS客户端无法登录系统,提示TNS-12518错误

基本要素
          接渠道反映,有个用户的部分客户端无法登录HIS 系统,渠道无法排查问题原因,希望能远程协助排查
问题分析 步骤一:查看alert日志
 
alert日志中出现Heapsize xxxxK exceeds notification threshold (2048K)是10.2.0.1的一个典型问题,metalink上有如下解释:
NOTE:  The default threshold in 10.2.0.1 is 2M.  So these messages could show up frequently in some application environments
In 10.2.0.2,  the threshold was increased to 50MB afterregression tests, so this should be a reasonable and recommendedvalue.   If you continue to see the these warning messages in thealert log after applying 10.2.0.2 or higher, an SR may be in order to investigateif you are encountering a bug in the Shared Pool.
需要通过_kgl_large_heap_warning_threshold调整为50M大小,这个错误应该不是客户端无法登录的原因,我们暂时先关注到,接着查看下面的问题。
步骤二:查看lisenter日志
          我们再排查下lisenter 的跟踪日志,看到如下信息
 
tns-12518是一个典型的32位系统中由于SGA设置过大,导致客户端无法登录的错误,从这里我们就进一步判断这个数据库的SGA设置肯定有问题,而且该系统是32位的服务器,32位系统oracle默认SGA最大只能使用1.7G的内存,如果SGA设置过大,就会导致出现TNS-12518错误,客户端无法连接。

解决过程

步骤一:设置_kgl_large_heap_warning_threshold参数

SQL> alter system set"_kgl_large_heap_warning_threshold"=52428800 scope=spfile ;
重启数据库实例

步骤二:暂时先调小SGA,随后建议用户调整服务器系统为64

关键知识点

_kgl_large_heap_warning_threshold :告警值,,Oracle10g 中,在load 较大的对象进librarycache 中时会根据该值的设置进行告警,10.2.0.1 默认是2M, 一般建议设置成50M
  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值