ORA-12539 and ORA-12630 errors in SQLNET trace file
Hi, all,
I have a C++ application that connecting to a Oracle9i RAC (two nodes) system running on Linux IA64 platform, the version of DB is 9.2.0.5.0. Each time the application gets a request from client, it opens a connection to the DB and insert/update/delete data and then close this connection. This application gets many requests each day. In the log files of this application, we found the following Oracle errors:
ORA-12539: TNS:buffer or under-flow
ORA-12630: Native service operation not supported
It happens several times per day, it happens exactly before the application tries to connect the DB.
I checked the server side trace files under udump directory; listener.log file, nothing is special there at the time this problem happened; then I turn on the client side tracing by adding the following entries to sqlnet.ora of the client machine:
It seems that Net8 get 530 bytes from transport but the NS buffer is only 520 bytes, it this the reason why? In another case I found Net8 get 544 bytes from transport but the NS buffer is only 534 bytes.
The rmem_default value of both servers has been set to 65535 and rmem_max set to 131071, but in the "RAC on Linux Best Practices" (Metalink Note: 240575.1) article, Oracle strongly recommend to adjust the send and receive buffer size to 256K.
#The default setting in bytes of the socket receive buffer
/proc/sys/net/core/rmem_default = 65535
#The maximum socket receive buffer size in bytes
/proc/sys/net/core/rmem_max = 131071
#he default setting in bytes of the socket send buffer
/proc/sys/net/core/wmem_default = 262144
#The maximum socket send buffer size in bytes
/proc/sys/net/core/wmem_max = 262144
Do you think this may cause the error?
I also found a Bug: 2642168 - Buffer overflow vulnerability with CREATE DATABASE LINK, but Oracle claims that this bug is fixed in 9.2.0.3.0.
Net problems are hard to diagnose at a distance and almost impossible if they are intermittant. Would have liked to help but . . . . . can only suggest Oracle support.
"The power of instruction is seldom of much efficacy except in those happy dispositions where it is almost superfluous" - Gibbon, quoted by R.P.Feynman
VERSION INFORMATION:
TNS for 32-bit Windows: Version 9.2.0.5.0 - Production
Windows NT TCP/IP NT Proto Adapter for 32-bit Windows: Version 9.2.0.5.0 - Production
Time: 04-MAY-2005 13:59:11
Tns error struct:
nr err code: 0
ns main err code: 12560
TNS-12560: TNSroto adapter error
ns secondary err code: 0
Tns error struct:
nt main err code: 530
nr err code: 0
ns main err code: 12539
TNS-00530: Proto adapter error
nt secondary err code: 126
nt OS err code: 0
TNS-12539: TNS:buffer over- or under-flow
ns secondary err code: 0
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
Bookmarks