12
返回列表 发新帖
楼主: arab_archon

oracle sql_trace session级为什么会无文件产生?

[复制链接]
论坛徽章:
1
11#
发表于 2005-2-1 17:48 | 只看该作者
是dead connection.l

在服务器上sqlnet.ora中设置
sqlnet.expire_time=10可以清除.

使用道具 举报

回复
论坛徽章:
1
会员2006贡献徽章
日期:2006-04-17 13:46:34
12#
 楼主| 发表于 2005-2-5 11:07 | 只看该作者
好,我试试。多谢啦

使用道具 举报

回复
论坛徽章:
60
2007年度最佳版主
日期:2008-04-03 16:46:15现任管理团队成员
日期:2011-05-07 01:45:08双黄蛋
日期:2011-06-15 17:03:34ITPUB十周年纪念徽章
日期:2011-11-01 16:19:412012新春纪念徽章
日期:2012-01-04 11:49:542012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:20
13#
发表于 2005-2-5 15:53 | 只看该作者
呵呵,莫非是MTS ?

使用道具 举报

回复
论坛徽章:
0
14#
发表于 2005-2-5 17:18 | 只看该作者
关注

使用道具 举报

回复
论坛徽章:
1
会员2006贡献徽章
日期:2006-04-17 13:46:34
15#
 楼主| 发表于 2005-2-25 14:50 | 只看该作者
对不起,年后才把问题给接上。
数据库不是mts

Oracle Net Manager Field/Option sqlnet.ora File Parameter Description
TNS Time Out Value
SQLNET.EXPIRE_TIME
Use to specify a specify the time interval, in seconds, to send a probe to verify that client/server connections are active. Setting a value greater than 0 ensures that connections are not left open indefinitely, due to an abnormal client termination. If the probe finds a terminated connection, or a connection that is no longer in use, it returns an error, causing the server process to exit. This setting is intended for the database server, which typically handles multiple connections at any one time.

Limitations on using this terminated connection detection feature are:

It is not allowed on bequeathed connections.
Though very small, a probe packet generates additional traffic that may downgrade network performance.
Depending on which operating system is in use, the server may need to perform additional processing to distinguish the connection probing event from other events that occur. This can also result in downgrading network performance.


在服务器上sqlnet.ora中设置 sqlnet.expire_time=10后,
PID USERNAME THR PR NCE SIZE RES STATE TIME FLTS CPU COMMAND
22799 oracle 1 0 0 1.9G 1.9G cpu03 100.2H 0 24.94% oracle
23140 oracle 1 0 0 1.9G 1.9G cpu02 100.0H 0 24.94% oracle
两个进程依然消耗大量cpu资源,并没有被自动kill掉。

使用道具 举报

回复
论坛徽章:
1
会员2006贡献徽章
日期:2006-04-17 13:46:34
16#
 楼主| 发表于 2005-2-25 15:52 | 只看该作者
另外通过top 显示看到STAT 下面,两个进程都在使用cpu,正在运行的啊。我的服务器有4个cpu,所以他们在轮换的使用cpu ,就是不释放,而且累计占用了很长的cpu时间了。

使用道具 举报

回复

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

本版积分规则 发表回复

TOP技术积分榜 社区积分榜 徽章 团队 统计 知识索引树 积分竞拍 文本模式 帮助
  ITPUB首页 | ITPUB论坛 | 数据库技术 | 企业信息化 | 开发技术 | 微软技术 | 软件工程与项目管理 | IBM技术园地 | 行业纵向讨论 | IT招聘 | IT文档
  ChinaUnix | ChinaUnix博客 | ChinaUnix论坛
CopyRight 1999-2011 itpub.net All Right Reserved. 北京盛拓优讯信息技术有限公司版权所有 联系我们 未成年人举报专区 
京ICP备16024965号-8  北京市公安局海淀分局网监中心备案编号:11010802021510 广播电视节目制作经营许可证:编号(京)字第1149号
  
快速回复 返回顶部 返回列表