oracle服务器进程不退出现象

[复制链接]
查看11 | 回复3 | 2009-9-27 10:21:22 | 显示全部楼层 |阅读模式
ORACLE数据库是10G, 操作系统是AIX5.3 ML10, 发现客户端通过网络连接数据库,客户端进程异常退出后, 在数据库服务器端的连接没有死,用netstat -na | grep 1521 看状态是close_wait,并且发现有一个服务器进程oraclesav狂使用CPU资源(sav是数据库名), 要手工KILL掉着进程才可以,不知道是什么原因?
回复

使用道具 举报

千问 | 2009-9-27 10:21:22 | 显示全部楼层
If the process hogging CPU is the one serving the abnormally disconnected client, then you did the right thing. When the client aborts and the network connection is not completely shut down, the shadow process will hang around. If the database is very busy, pmon may not have time to do cleanup.
Yong Huang
回复

使用道具 举报

千问 | 2009-9-27 10:21:22 | 显示全部楼层
当时没有留意在KILL客户端进程前对应的服务器进程是否繁忙。这种情况怎么解决呢?因为在测试环境还可以这样KILL服务器进程,但在生产环境就无法这么做了。这是否需要安装补丁?
发现ORACLE问题还是挺多的(呵呵,自己也不是很熟悉ORACLE,刚从INFORMIX转过来的),但好像对应服务器进程就一直不退出,好像是死循环的感觉,并且是ACTIVE状态。
哎,询问ORACLE的人,说要现场服务,狂晕,现场服务狂贵。。。
回复

使用道具 举报

千问 | 2009-9-27 10:21:22 | 显示全部楼层
> 当时没有留意在KILL客户端进程前对应的服务器进程是否繁忙。
Are you saying you killed the process that used too much CPU without checking to see if that process was the shadow (server) process serving the disconnected client? What if you accidentally killed a legitimate process that was running an important data warehouse job?
Yong Huang
回复

使用道具 举报

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

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行