重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 3247|回复: 3
打印 上一主题 下一主题

[参数设置] 解决客户端监听日志饱满的问题

[复制链接]
跳转到指定楼层
楼主
发表于 2016-1-19 19:46:29 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
测试环境为11g RAC  使用grid  lsnrctl 命令  关闭监听日志




[grid@rac1 ~]$ lsnrctl

LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 19-JAN-2016 03:44:39

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

Welcome to LSNRCTL, type "help" for information.

LSNRCTL> help
The following operations are available
An asterisk (*) denotes a modifier or extended command:

start               stop                status              
services            version             reload              
save_config         trace               spawn               
change_password     quit                exit               
set*                show*               

LSNRCTL> set log_status off
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))
LISTENER parameter "log_status" set to OFF
The command completed successfully
LSNRCTL> help
The following operations are available
An asterisk (*) denotes a modifier or extended command:

start               stop                status              
services            version             reload              
save_config         trace               spawn               
change_password     quit                exit               
set*                show*               

LSNRCTL>


分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

沙发
发表于 2016-1-20 10:07:54 | 只看该作者
监听日志饱满了,监听就不能正常运行了吗?关闭监听日志,不会影响监听的正常运行吗?
回复 支持 反对

使用道具 举报

板凳
 楼主| 发表于 2016-1-20 19:10:33 | 只看该作者
tc514821 发表于 2016-1-20 10:07
监听日志饱满了,监听就不能正常运行了吗?关闭监听日志,不会影响监听的正常运行吗?

[size=13.3333px]日志关闭只是不能 在以后  [size=13.3333px]检查连接的信息。  也可以定期的删除过期的监听日志。






附:问题的根源:
1)问题的原因:当 listener.log大小达到4G
The listener.log has reached the file size limit (on Windows) of 4G. This issue is described in published bug:Bug:9879101 THE CONNECT THROUGH LISTENER WAS SLOW WHEN LISTENER LOG GREW to 4GB
2) 出现该BUG问题的平台
Oracle Net Services - Version 11.1.0.7 to 11.2.0.4 [Release 11.1 to 11.2]
Microsoft Windows (32-bit)Microsoft Windows x64 (64-bit)This issue is limited to the Windows OS.***Checked for relevance on 14-OCT-2013***               

3)出现该BUG的症状
The listener is hung or is extremely slow to respond.Tnspings to the listener take a very long time (seconds) to respond or the ping hangs completely.Lsnrctl utility commands are either hanging or slow to respond.ADR Diagnostics are enabled in this environment and the flat file TNSListener log file is at or approaching the size of 4 gigabytes.


回复 支持 反对

使用道具 举报

地板
发表于 2016-1-21 09:27:42 | 只看该作者
定期看
定期删除
要不然做数据库巡检干嘛
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-5-17 08:29 , Processed in 0.096763 second(s), 23 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表