1

次の TCP エラーが発生します。(10055: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full) occurred while transmitting data.

どうやら、50 MB を超えるファイルを転送しようとすると、このエラーが発生し始めるようです。私はWCFを使用しています。Java/Tomcat で記述された Web サービスがあります。

サーバー側の構成に問題がある可能性はありますか?

サーバーは Tomcat です。その場合、どの値をカスタマイズすればよいか教えていただけますか?

<bindings>
  <basicHttpBinding>
    <binding name="MyWebService1SoapHttpPortBinding" closeTimeout="00:01:00"
        openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:11:00"
        allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
        maxBufferSize="4000000" maxReceivedMessageSize="99999999"
        messageEncoding="Mtom" textEncoding="utf-8" transferMode="StreamedRequest"
        useDefaultWebProxy="true">
     <security mode="None">
        <transport clientCredentialType="None" proxyCredentialType="None"
            realm="" />
        <message clientCredentialType="UserName" algorithmSuite="Default" />
      </security>
    </binding>
  </basicHttpBinding>
</bindings>
<client>
  <endpoint address="http://[IP]/Transfer"
      binding="basicHttpBinding" bindingConfiguration="MyWebService1SoapHttpPortBinding"
      contract="Transfer" name="MyWebService1SoapHttpPort" />
</client>
4

1 に答える 1

0

エラーメッセージをグーグルで検索すると、多くの回答が見つかります。

TCP エラー (10055: システムに十分なバッファ領域がないか、キューがいっぱいだったため、ソケットに対する操作を実行できませんでした)

これが1つです。 http://support.microsoft.com/kb/196271

于 2010-05-01T14:14:06.970 に答える