动态发送端口中的WCF Oracle适配器 [英] WCF Oracle Adapter in Dynamic Send Port

查看:136
本文介绍了动态发送端口中的WCF Oracle适配器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们在动态发送端口中使用WCF适配器,并在业务流程中动态设置所有属性。我们调用存储过程来执行某些插入和删除操作。消息的发送花费了太多时间,因为在MessageBox中堆积了大量的垃圾。我们strat getting
发送给适配器的消息"WCF-Custom"在发送端口"暂停
错误详细信息:System.TimeoutException:尝试获取连接时超时已过期。

对于大约16000条消息,它会打开大约200个连接,并且除非我停止主机,否则连接似乎不会关闭。你之前看过这个问题了吗?

感谢提前


We are using WCF Adapter in a Dynamic Send Port and setting all the properties dynamically in the orchestration. We call a stored procedure to perform certain insert and delete operations. The Sending of messages takes too much time due to which lot of messgaes get piled up in the MessageBox. We strat getting
A message sent to adapter "WCF-Custom" on send port " is suspended.
 Error details: System.TimeoutException: The timeout expired while trying to get a connection.
 
For around 16000 messages, it opens up around 200 connections and the connections dont seem to close unless I stop the host. Have you seen the issue before?

Thanks in Advance


推荐答案

1)打开的连接取决于您已设置的绑定属性。我相信您正在使用ODP.Net池(UseOracleConnectionPool = true)。你指定的最大池大小是多少?

消息处理时:

2)你能看到BizTalk是否受到限制(Perfmon - > BizTalk:消息代理 - > ;消息传递限制状态和消息发布限制状态)?

3)在Oracle服务器上,平均磁盘队列长度(物理磁盘 - >平均磁盘磁盘队列长度)和处理器利用率百分比的值是多少?

4)另请查看BizTalk客户端上的这些计数器:
物理磁盘 - >平均磁盘队列长度
处理器 - > %处理器时间
网络接口 - >输出队列长度
1) Connections opened would depend on the binding properties that you have set. I believe you are using ODP.Net Pool (UseOracleConnectionPool = true). What is the max Pool Size that you have specified ?

While the messages are getting processed:

2) Can you see if BizTalk is throttling (Perfmon -> BizTalk:Message Agent -> Message Delivery Throttling State and Message Publishing Throttling State) ?

3) at your Oracle Server, what are the values of Avg Disk Queue Length (Physical Disk -> Avg Disk Disk Queue Length) and %Processor Utilization

4) Also look at these counters on the BizTalk client:
        Physical Disk -> Avg Disk Queue Length
        Processor -> % processor Time
        Network Interface -> Output Queue Length


这篇关于动态发送端口中的WCF Oracle适配器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆