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 阅读(182) 评论(1) 编辑 收藏

评论

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

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

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

<2006年11月>
2930311234
567891011
12131415161718
19202122232425
262728293012
3456789

导航

统计

公告

昵称:Ray_bihpgh20
园龄:5年3个月
粉丝:2
关注:0

搜索

 
 

常用链接

随笔分类

随笔档案

最新评论