What limit my connections?

I use netTcpBinding:
      <netTcpBinding>
        <binding name="NewBinding0" maxBufferPoolSize="52428800" maxBufferSize="6553600"
          maxConnections="1000" maxReceivedMessageSize="6553600" />
      </netTcpBinding>
and my behavior is:
        <behavior name="ConcurrentBehavior">
          <serviceThrottling maxConcurrentCalls="1000" maxConcurrentSessions="1000"
            maxConcurrentInstances="1000" />
        </behavior>

This is my test code:/Files/bihpgh20/What limit my connections/ConcurrentTest.rar

I think with this config I can create 1000 client proxies conntceting to service currently, but unfornately, I got an EndpointNotFoundException after receive several responses from service(Test_1); If I send 10 requests, and then send 15 requests, and then send 20 requests, and so on... It's OK(Test_3).

Wait for a moment, My Test_3 sometimes still give me an EndpointNotFoundException.

I do not know what is the real reason. Please help me?

posted on 2006-11-17 11:41 Ray_bihpgh20 阅读(149) 评论(1)  编辑 收藏 网摘 所属分类: WCF

评论

#1楼 2007-10-17 15:57 江南白衣      

<endpoint address="MEX" binding="mexTcpBinding" contract="IMetadataExchange" />

把mexTcpBinding改个不一样的端口
  回复  引用  查看    




发表评论

昵称: [登录] [注册]

主页:

邮箱:(仅博主可见)

评论内容:

  登录  注册

[使用Ctrl+Enter键快速提交评论]

0 563483




相关文章:

相关链接:
<2006年11月>
2930311234
567891011
12131415161718
19202122232425
262728293012
3456789

导航

统计

与我联系

搜索

 

常用链接

留言簿

随笔分类

随笔档案

最新评论

阅读排行榜

评论排行榜