设为首页 收藏本站
查看: 578|回复: 0

[经验分享] FATAL ERROR IN TWO-TASK SERVER: error = 12571

[复制链接]

尚未签到

发表于 2016-11-11 10:54:13 | 显示全部楼层 |阅读模式
这个问题貌似是因为应用程序和数据库在连接的时候出现各种意外,如网络不通,丢包,导致连接释放不正常,然后又建立了新的连接的时候报这个错误,不过不影响大局。在实际的观察中,alert_sid.log文件中可以看到这个报错,但是不是持续的报,时间过上一段时间后,就会消失。各位网络上的达人也给出了各种方法。贴出来,一块共享(E文的),个人认为,这个问题没必要解决,DBA啊,但是开发人员应该关注,至少是在处理线程释放的时候,应该有问题。开发不太懂,说的不对的地方,请指出,我会虚心学习的。
   Subject: FATAL ERROR IN TWO-TASK SERVER: error = 12571

RDBMS Version:: 8.1.6
Operating System and Version:: WIN NT 4.0
Error Number (if applicable):: 12571
Server Net Version:: Net8
Client Operating System and Version:: NT4.0
Client Net Version:: Net8, JDBC Thin Driver 2.2

FATAL ERROR IN TWO-TASK SERVER: error = 12571

We are getting FATAL ERROR IN TWO-TASK SERVER: error = 12571
Oracle process number: 11
Windows thread id: 109, image: ORACLE.EXE
FATAL ERROR IN TWO-TASK SERVER: error = 12571
ksedmp: internal or fatal error
Current SQL statement for this session:
UPDATE TBL_REQUEST_WORKFLOW SET V_SEND_TO_ID = 'PR02', V_SEND_TO_ROLE = 'PR', D_MODIFIED_DATE = SYSDATE, V_MODIFIED_BY_USER_ID = 'NU01' WHERE V_REQUEST_ID = '5'
----- Call Stack Trace -----
calling call entry argument values in hex
location type point (? means dubious value)

_ksedmp+a8 CALLrel _ksedst+0
1CE4F4
_opitsk+f6b CALLrel _ksedmp+0 2
_opiino+4eb CALLrel _opitsk+0 0
_opiodr+504 CALLreg 00000000 3C 4
31CFBFC
_opidrv+384 CALLrel _opiodr+0 3C 4
31CFBFC
0
_sou2o+19 CALLrel _opidrv+0
_opimai+10c CALLrel _sou2o+0
_OracleThreadStart@4+49f CALLrel _opimai+0 2
31CFE78
77F04EE5 CALLreg 00000000
----- Argument/Register Address Dump -----
Argument/Register addr=31ce4f4.
Dump of memory from 0x31CE4B4 to 0x31CE5F4
Argument/Register addr=31cfbfc.
Dump of memory from 0x31CFBBC to 0x31CFCFC
Repeat 2 times

Repeat 2 times
Argument/Register addr=31cfe78.
Dump of memory from 0x31CFE38 to 0x31CFF78








--------------------------------------------------------------------------------

From: Jamaree Valeriano 13-Mar-01 20:25
Subject: Re : FATAL ERROR IN TWO-TASK SERVER: error = 12571


Here are some detailed tuning measures that should help:

The ora-12571 usually indicates an instability between Oracle and the network. Try performing the following to eliminate the error:

- Shutdown the database
- Stop the listener
- Remove all the *.dat files in the c:\orant\otrace80\admin directory
- Specify the parameter HASH_JOIN_ENABLED = FALSE in the file
INIT(sid).ORA file
- Specify the parameter EPC_DISABLED =TRUE in the registry
(REGEDT32 -> HKEY_LOCAL_MACHINE -> SOFTWARE -> ORACLE)
- Restart the database
- Specify the parameter TCP_KEEPALIVE in the Windows NT registry

HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Tcpip/Parameters

Edit - Add value : KeepAliveTime (REG_DWORD)

Decimal -> 180000 (for example = 3 minutes)

- Edit the file listener.ora. Configure the parameter
TRACE_LEVEL_LISTENER = OFF

- Remove unused protocol addresses, like Named Pipes and SPX, from the LISTENER.ORA file - Start the listener
- Specify the SQLNET.EXPIRE_TIME = 0 parameter in the sqlnet.ora file

- Monitor your network


This can also be a result of a client machine abnormally disconnecting (such as a PC rebooting while a query is running), the server process tries to communicate with the client, the client is no longer there, thus the error is generated.

This error can also be caused by a client issuing a CTRL-C while query results are being returned.

This error i sometimes caused by poorly written applications that do not wait for all data to be returned before continuing. The server tries to send data to the client, but the client is not waiting for data.

The listener may be timing out. Go to the listener.ora file to see what the CONNECT_TIMEOUT_ parameter is set to. Try increasing this in
increments of 5 (10 to 15). Once the parameter is changed, stop and restart the listener.

It is important to note that the 'LISTENER' part of this parameter is really the listener name, and is not a static part of the parameter name.

There should be one CONNECT_TIMEOUT_ for each and every listener defined in the listener.ora file. A default value of 10 seconds will be used if one is not specified in CONNECT_TIMEOUT_ parameter.

Also, checking the listener.log may provide more detailed error messages.

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-298857-1-1.html 上篇帖子: 简单sql的题 下篇帖子: SQL Collation issue in temp table.
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表