Connection pool,sqlnet,listener related issues/questions

简介:

Advise required on inbound paramters , prespawn servers and db resident connection Question: The application does not support persistent connection. currently we find time out errors. In order to fix the issue we seek your advise on the following: currently all of the following are default values SQLNET.INBOUND_CONNECT_TIMEOUT, --- can we make it 10 seconds ? or what value you suggest SQLNET.SEND_TIMEOUT, SQLNET.RECV_TIMEOUT INBOUND_CONNECT_TIMEOUT_listenernam -- planning to make 5 seconds; what are your suggestios. 2. ours is 11.2.0.1 ; whether prspawn server is still there in 11g R2. Will it be helpful for application supporting persistent connection or not 3. Regarding DRCP for those applications not supporting persistent connection , similarly do we have any answer for applications having persistent connections but at the same time avoiding logon storms.   Answer: Well it sounds like you need to increase the processes parameters to allow the logon storms. Or setup a connection pool from the apache side to prevent the number of connections from hitting the server to increase. Otherwise from the server side any values you set other then increasing the processes value to handle the load will report errors to the client trying to connect. For example if you set the INBOUND_CONNECT_TIMEOUT then the client has to authenticate in that timeframe or it will error and report the 3136 error. But that defaults to 60 seconds to prevent any good connections from being booted just for being slow. Now if you hit the processes value it will start reporting the 12518 and should trigger a connection error so apache should stop trying to force the connections at that point. If it continues then it will get errors and there is not much you can do. From the Oracle side you cannot really control how the client connects. If they cause a storm you either configure to handle the load or accept the fact the system will generate errors and not service the storm. From the server side most of the parameters we have are to limit or control the amount of connections that are allowed to the server itself. If the client keeps trying to connect in a storm fashion there is not much you can do to prevent it on the DB you simply need to make it possible for those processes to connect. the only real option from the server is to bump up the processes parameter to make sure you can handle the full load and have them setup a connection pool on the apache side to limit the total number of connections to the database from the web server to prevent them from hitting the processes value.


本文转自maclean_007 51CTO博客,原文链接:http://blog.51cto.com/maclean/1277770

相关文章
|
资源调度
There appears to be trouble with your network connection.Retrying
There appears to be trouble with your network connection.Retrying
2032 0
There appears to be trouble with your network connection.Retrying
|
资源调度
yarn 错误:There appears to be trouble with your network connection. Retrying…
yarn 错误:There appears to be trouble with your network connection. Retrying…
1364 0
|
SQL Oracle 关系型数据库
Oracle中Error while performing database login with the XXXdriver; Listener refused the connection wit...
Oracle中Error while performing database login with the XXXdriver; Listener refused the connection wit...
258 0
|
SQL Oracle 关系型数据库
ORACLE的Dead Connection Detection浅析
在复杂的应用环境下,我们经常会遇到一些非常复杂并且有意思的问题,例如,我们会遇到网络异常(网络掉包、无线网络断线)、客户端程序异常(例如应用程序崩溃Crash)、操作系统蓝屏、客户端电脑掉电、死机重启等异常情况,此时数据库连接可能都没有正常关闭(Colse)、事务都没有提交,连接(connections)就断开了。
1467 0
|
Oracle 关系型数据库 数据库
Oracle中Error while performing database login with the XXXdriver; Listener refused the connection with the following error; ORA-12505,TNS:listener does
一次连接数据库怎么也连接不上,查了多方面资料,终于找到答案,总结 首先应该保证数据库的服务启动 在myeclipse的数据库视图中点 右键->new 弹出database driver的窗口, Driver template选择oracle(thin driver), Driver name 输入...
1132 0
|
SQL 关系型数据库 HIVE
MetaException(message:For direct MetaStore DB connections, we don't support retries at the client level.)
在mysql中执行以下命令:   drop database hive;   create database hive;   alter database hive character set latin1;   重启hive
3119 0
|
iOS开发 数据格式 JSON
resource fork, Finder information, or similar detritus not allowed
XCode 8之后,上传AppStore可能会出现下面的错误: wbcW4.png CodeSign /Users/gururajtallur/Library/Developer/Xcode/DerivedData/Flow-bkqjkv...
1373 0