偷偷摘套内射激情视频,久久精品99国产国产精,中文字幕无线乱码人妻,中文在线中文a,性爽19p

對WCF數(shù)據(jù)量進行詳細(xì)介紹

開發(fā) 后端
本文主要介紹WCF數(shù)據(jù)量,怎樣運用WCF數(shù)據(jù)量。這些內(nèi)容都是一些門戶網(wǎng)站和技術(shù)論壇找到的,中間可能有不少錯誤是我沒有挑出的,歡迎大家指正。

希望我對WCF數(shù)據(jù)量的一點經(jīng)驗?zāi)芙o大家?guī)韼椭?,下面通過IIS服務(wù)器的真實處理,以及代碼和異常的使用問題,進行解釋說明,下面就把編制的代碼一一列數(shù)下來,歡迎大家學(xué)習(xí)研究。

昨天下午在作WCF數(shù)據(jù)量并發(fā)的測試,同時啟動40個客戶端進程,在碰到比較耗時的服務(wù)處理時,IIS服務(wù)器返回403錯誤。異常信息如下:]

  1. System.ServiceModel.Security.MessageSecurityException: System.Net.HttpWebRequest.GetResponse()     
  2. System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)    
  3. Server stack trace:     
  4. System.ServiceModel.Channels.HttpChannelUtilities.ValidateAuthentication(HttpWebRequest request, HttpWebResponse response, 
    WebException responseException, HttpChannelFactory factory)     
  5. System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, 
    HttpWebResponse response, HttpChannelFactory factory, WebException responseException)     
  6. System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.
    WaitForReply(TimeSpan timeout)  System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)     
  7. System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)     
  8. System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)     
  9. System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs)     
  10. System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)     
  11. System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)     
  12. Exception rethrown at [0]:     
  13. System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)     
  14. System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)     
  15. terminal.ViolationService.IViolationService.QueryVioImg(String vioSeq)     
  16. terminal.ViolationService.ViolationServiceClient.QueryVioImg(String vioSeq),terminal.Program.Main(String[] args) 

通過各種方法監(jiān)控WCF數(shù)據(jù)量的錯誤消息,可是這些出錯的調(diào)用都沒有到達(dá)WCF,所有監(jiān)測WCF的地方和WCF的TraceLog都沒有任何的錯誤。隨后又拿出***法寶wireshark,抓包也看不到任何錯誤,就是客戶端請求了服務(wù)器一下,然后IIS就返回了403錯誤,并報告上面的異常。#t#

于是把WCF的服務(wù)部署到了Win2003server的iis6下面。這樣程序正常運行不會有任何錯誤。于是查了一下IIS5.1 造成403錯誤的原因。原來是IIS5.1的***連接數(shù)的問題。于是總結(jié)了一下:

同時修改了幾個方面:

1.windowsXP SP3的TCP連接數(shù),改為512。(有專門的工具破解)

2.WCF數(shù)據(jù)量會話數(shù),調(diào)用數(shù)和實例數(shù)

責(zé)任編輯:chenqingxiang 來源: Thread Affinity
相關(guān)推薦

2009-12-08 16:09:02

WCF消息

2009-12-08 17:08:13

WCF Service

2009-11-09 17:30:20

WCF元數(shù)據(jù)

2009-12-08 15:19:58

WCF大數(shù)據(jù)量

2009-12-22 15:02:40

WCF限流

2009-12-07 13:55:10

WCF工具

2009-12-08 18:14:53

WCF Service

2009-11-09 14:15:17

WCF集合類型

2011-04-18 11:13:41

bcp數(shù)據(jù)導(dǎo)入導(dǎo)出

2010-02-03 15:09:13

Python 構(gòu)建工具

2009-11-09 13:47:22

WCF Stream操

2009-12-08 17:34:25

WCF的配置

2010-03-02 16:43:46

2009-12-08 18:08:43

WCF服務(wù)

2009-12-22 14:31:27

WCF序列化依賴屬性

2010-01-05 17:06:46

JSON 數(shù)據(jù)

2009-12-08 16:22:06

WCF代碼

2009-12-07 14:35:42

WCF異步調(diào)用

2009-12-08 15:52:10

WCF回調(diào)

2010-06-28 15:12:11

SQL Server數(shù)
點贊
收藏

51CTO技術(shù)棧公眾號