ORA-27300 ORA-27301 ORA-27302 in alert log. Cannot connect to database. (文档 ID 371074.1)

APPLIES TO:

Oracle Database - Personal Edition - Version 8.1.7.4 to 10.2.0.3 [Release 8.1.7 to 10.2]
Oracle Database - Standard Edition - Version 8.1.7.4 to 10.2.0.3 [Release 8.1.7 to 10.2]
Oracle Database - Enterprise Edition - Version 8.1.7.4 to 10.2.0.3 [Release 8.1.7 to 10.2]
Microsoft Windows (32-bit)


SYMPTOMS

  • No new connections are allowed to the database.
  • Database appears to be in a hang state with following errors in the alert log:
    ORA-27300: OS system dependent operation:spcdr:9261:4200 failed with status: 997
    ORA-27301: OS failure message: Overlapped I/O operation is in progress.
    ORA-27302: failure occurred at: skgpspawn

 

CHANGES

The '/3GB'  switch was added to the 'boot.ini' file at the OS level, but the errors are eventually encountered when the database is under heavy load.

CAUSE

This is OS resource issue.

The maximum amount of addressable memory by a process ('oracle.exe' for example) running in a 32-Bit Windows environment has been reached.

In a 32-Bit Windows environment, the total addressable memory by a single process is a 4GB. On Windows, the OS reserves half of this memory by default for kernel memory, leaving 2GB of addressable memory for a user process. By placing the '/3GB' switch in the 'boot.ini'  file, this changes the ratio of kernel memory and user memory. When the  '/3GB'  switch is in place, processes (such as 'oracle.exe’) can address 3GB of virtual memory out of the total 4GB of addressable memory. However, once the 3GB of virtual memory is depleted, the process will fail.

SOLUTION

To implement the solution, please execute the following steps:

Tune the application running on the 32-bit environment so that it will not consume greater than 2.7GB of virtual memory when the  '/3GB'  switch is set in the  'boot.ini'  file.

In the case of Oracle encountering the OS resource issue, the options are the following:

1) Reduce the amount of SGA needed to be allocated for the database.
2) Limit the number of dedicated connections to the database and the amount of memory each user process will consume.
3) Change from dedicated connections to multi-threaded server (MTS) connections, as MTS only uses a fraction of the amount of memory allocated to each user process when initial connection to the database is established.


See following note for an in depth discussion regarding memory usage in a 32-bit Windows environment:

 

Document:225349.1Implementing Address Windowing Extensions (AWE) or VLM on 32-bit Windows Platforms
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值