ORA-27301: OS failure message: not enough space

Source: Internet
Author: User
Tags dedicated server

OS: HP-UNIX

ORA-27300: OS system dependent operation: fork failed with status: 12
ORA-27301: OS failure message: not enough space
ORA-27302: failure occurred at: skgpspawn3

Swapinfo-MT

It is found that swap has percent and sqlplus cannot connect to the database. The application team found out that they could not connect the application to the database.

View System logs:
More/var/adm/syslog. Log

Frequent memory allocation error detected by the System

The application said that they increased JDBC to 200 in WebLogic this morning. It should be said that there is no problem. It is estimated that JDBC has not been released and that they have changed the number of connections to the original state, and swap has recovered to 88 percent, database recovery

View MOS Original:

Troubleshooting guide ORA-3136: Warning inbound connection timed out (Doc ID 465043.1) To bottom

 

In this document

Purpose
  Troubleshooting steps
  References
Applies:

Oracle Net Services-version 10.2.0.5 to 11.2.0.4 [release 10.2 to 11.2]
Information in this document applies to any platform.
* ** Checked for relevance on 21-apr-2014 ***

Purpose

Troubleshooting guide for "ORA-3136 warning inbound connection timed out" seen in the Alert Log.

Troubleshooting steps

The "Warning: inbound connection timed out (ORA-3136)" in the alert log indicates that the client was not able to complete the authentication process within the period of time specified by the parameter sqlnet. inbound_connect_timeout.

You might also see the errors ORA-12170 or TNS-12535 in the sqlnet. log that is generated on the server.
Check $ ORACLE_HOME/Network/log for this file. this entry shoshould contain client address from which the timeout originated and may be helpful in determining how to troubleshoot the issue. some applications or JDBC thin driver applications may not have these details. the sqlnet. log file is not generated by default in 11g and newer.

From 10.2.0.1 onwards the default setting for the parameter sqlnet. inbound_connect_timeout is 60 seconds. if the client is not able to authenticate within 60 seconds, the warning wowould appear in the Alert Log and the client connection will be terminated.

Note: This timeout restriction was introduced to combat denial of service (DoS) attack whereby malicious clients attempt to flood database servers with CONNECT requests that consumes resources.


The following are the most likely reasons for this error-

  1. Server gets a connection request from a malicious client which is not supposed to connect to the database. in this case the error thrown wocould be the expected and desirable behavior. you can get the client address for which the error was thrown in the sqlnet. log file that is local to the database.
  2. The server has es a valid client connection request but the client takes a long time to authenticate more than the default 60 seconds.
  3. The DB server is heavily loaded due to which it cannot finish the client logon within the timeout specified.

To understand what is causing this issue, following checks can be done

The default value of 60 seconds is good enough in most conditions for the database server to authenticate a client connection. if it is taking longer, then it's worth checking the following items before implementing the workaround:

1. Check whether local connection on the database server is successful & quick.
2. If local connections are quick, then check for underlying network delay with the help of your network administrator.
3. Check whether your database performance has degraded in anyway.
4. Check Alert Log for any critical errors for EG, ORA-600 or ORA-7445 and get them resolved first.
These critical errors might have triggered the slowness of the database server.

It is often necessary to increase the values for inbound connect timeout at both the listener and the database in order to resolve this issue. it is usually advisable to set the database (sqlnet. ora) value slightly higher than the listener (listener. ora ). the authentication process is more demaning for the database than the listener.

To set these parameters to use values higher than the default of 60 seconds, follow these instructions and restart the listener. There is no need to restart ORACLE:

Edit the server side sqlnet. ora file and add this parameter:

Sqlnet. inbound_connect_timeout = <n> where <n> is the value in seconds.

E. g .:

Sqlnet. inbound_connect_timeout = 120

 

Edit the listener. ora file and add this parameter:

Inbound_connect_timeout _ <listenername >=< n> again, where <n> is the timeout value in seconds.

For example if the listener name is listener then use:

Inbound_connect_timeout_listener = 110

 

From Oracle version 10.2.0.1 onwards the default value of inbound_connect_timeout _ <listenername> is 60 seconds. For previous releases it is zero or off by default.


How to check whether inbound timeout is active for the listener and Database Server:

For example, inbound_connect_timeout _ <listener_name> = 110

You can check whether the parameter is active or not by simply doing telnet to the listener port.
$ Telnet <Database Server IP> <listener port>
For eg.

$ Telnet maid 1521


The telnet session shoshould disconnect after 110 seconds which indicates that the inbound connection timeout for the listener is active.

Alternatively, check at the LSNRCTL prompt using:

LSNRCTL> set current_listener <listener_name>
LSNRCTL> show inbound_connect_timeout

To check whether Database Server sqlnet. inbound_connect_timeout is active:
Eg.

Sqlnet. inbound_connect_timeout = 120

A. For dedicated server setup, enable the support level sqlnet server tracing will show the timeout value as below:

Niotns: Enabling cto, value = 120000 (milliseconds) <= 120 seconds
Niotns: Not enabling dead connection detection.
Niotns: Listener bequeathed shadow coming to life...

B. For Shared Server Setup,
$ Telnet <Database Server IP> <dispatcher port>
Example.

$ Telnet maid 51658


The telnet session shocould disconnect after 120 seconds which indicates that the sqlnet. inbound_connect_timeout is active.

If you have further questions regarding this issue then please create a service request in my Oracle Support and provide the following information:

A. Client and matching server traces generated at support level.

Note 395525.1 how to enable Oracle Net client, server, listener, Kerberos and external procedure tracing from net manager (netmgr ):
Note 374116.1 how to match Oracle Net client and server trace files

B. Upload sqlnet. ora, listener. ora sqlnet. Log, & alert _ <Sid>. log from Database Server

References

Note: 395525.1-how to enable Oracle sqlnet client, server, listener, Kerberos and external procedure tracing from net manager
Note: 730066.1-Troubleshooting ORA-3135/ORA-3136 connection timeouts errors-database diagnostics
Note: 345197.1-connections that used to work in Oracle 10gr1 now intermittently fail with ORA-3113, ORA-3106 or ORA-3136 from 10.2 onwards
Note: 374116.1-how to match Oracle Net client and server trace files


    ORA-27301: OS failure message: not enough space

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.