JIRA

  • Log In Access more options
    • Online Help
    • GreenHopper Help
    • Agile Answers
    • Use Agile By Default
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Agile Access more options (Alt+g)
  • Create Issue
  • Mule
  • MULE-5499

Issues with TCP transport packet size and communication reliability

  • Agile Board
  • More Actions
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Critical Critical
  • Resolution: Unresolved
  • Affects Version/s: 3.1.1
  • Fix Version/s: None
  • Component/s: Core: (other)
  • Labels:
    • TCP
  • Environment:

    Test

  • User impact:
    Low
  • Effort points:
    5
  • Configuration:
    Hide

    <?xml version="1.0" encoding="UTF-8"?>
    <mule xmlns="http://www.mulesoft.org/schema/mule/core"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:tcp="http://www.mulesoft.org/schema/mule/tcp"
    xsi:schemaLocation="
    http://www.mulesoft.org/schema/mule/core
    http://www.mulesoft.org/schema/mule/core/3.0/mule.xsd
    http://www.mulesoft.org/schema/mule/tcp
    http://www.mulesoft.org/schema/mule/tcp/3.0/mule-tcp.xsd">

    <configuration>
    <default-dispatcher-threading-profile maxThreadsIdle="161" threadTTL="10000" poolExhaustedAction="RUN" threadWaitTimeout="10000" doThreading="true" maxBufferSize="9839" maxThreadsActive="161" />
    <default-receiver-threading-profile maxThreadsIdle="161" threadTTL="10000" poolExhaustedAction="RUN" threadWaitTimeout="10000" doThreading="true" maxBufferSize="9839" maxThreadsActive="161" />
    </configuration>

    <tcp:connector name="tcpConnectorOUT" validateConnections="false" socketSoLinger="10000" keepSendSocketOpen="false" clientSoTimeout="10000" serverSoTimeout="10000" >
    <tcp:direct-protocol payloadOnly="true" />
    </tcp:connector>

    <tcp:connector name="tcpConnectorIN" validateConnections="false" keepAlive="true" socketSoLinger="10000" keepSendSocketOpen="false" clientSoTimeout="10000" serverSoTimeout="10000" >
    <tcp:direct-protocol payloadOnly="true" />
    </tcp:connector>

    <tcp:endpoint name="TcpClientEndpoint" host="10.150.191.122" port="11222" connector-ref="tcpConnectorOUT" />
    <tcp:endpoint name="TcpServerEndpoint" host="10.150.133.36" port="11221" connector-ref="tcpConnectorIN"/>

    <flow name="main-flow">
    <tcp:inbound-endpoint ref="TcpClientEndpoint" exchange-pattern="request-response"/>
    <tcp:outbound-endpoint ref="TcpServerEndpoint" exchange-pattern="request-response"/>
    </flow>
    </mule>

    Show
    <?xml version="1.0" encoding="UTF-8"?> <mule xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tcp="http://www.mulesoft.org/schema/mule/tcp" xsi:schemaLocation=" http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/3.0/mule.xsd http://www.mulesoft.org/schema/mule/tcp http://www.mulesoft.org/schema/mule/tcp/3.0/mule-tcp.xsd"> <configuration> <default-dispatcher-threading-profile maxThreadsIdle="161" threadTTL="10000" poolExhaustedAction="RUN" threadWaitTimeout="10000" doThreading="true" maxBufferSize="9839" maxThreadsActive="161" /> <default-receiver-threading-profile maxThreadsIdle="161" threadTTL="10000" poolExhaustedAction="RUN" threadWaitTimeout="10000" doThreading="true" maxBufferSize="9839" maxThreadsActive="161" /> </configuration> <tcp:connector name="tcpConnectorOUT" validateConnections="false" socketSoLinger="10000" keepSendSocketOpen="false" clientSoTimeout="10000" serverSoTimeout="10000" > <tcp:direct-protocol payloadOnly="true" /> </tcp:connector> <tcp:connector name="tcpConnectorIN" validateConnections="false" keepAlive="true" socketSoLinger="10000" keepSendSocketOpen="false" clientSoTimeout="10000" serverSoTimeout="10000" > <tcp:direct-protocol payloadOnly="true" /> </tcp:connector> <tcp:endpoint name="TcpClientEndpoint" host="10.150.191.122" port="11222" connector-ref="tcpConnectorOUT" /> <tcp:endpoint name="TcpServerEndpoint" host="10.150.133.36" port="11221" connector-ref="tcpConnectorIN"/> <flow name="main-flow"> <tcp:inbound-endpoint ref="TcpClientEndpoint" exchange-pattern="request-response"/> <tcp:outbound-endpoint ref="TcpServerEndpoint" exchange-pattern="request-response"/> </flow> </mule>
  • Migration Impact:
    Can not move ahead with the implementation due to critical TCP transport issues
  • Similar Issues:
    None

Description

TCP transport will transfer at most 2896 bytes per conversation.
Using the supplied configuration...

Used the test harness to transfer over direct, streaming, and length protocols

Failure occurs with length protocol – exceptions from MULE
Failure occurs with streaming protocol – result is mule NullException
Failure occurs with direct protocol – limited-size or NullException during transfer of payload

Changed kernel parameters and increased NIC buffer settings
Set Java to 3 GB of available memory

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Transitions
  • Commits
  • Source
  • Builds
There are no comments yet on this issue.

People

  • Assignee:
    Unassigned
    Reporter:
    Zon Behrbaum
Vote (0)
Watch (0)

Dates

  • Created:
    25/Mar/11 11:40 AM
    Updated:
    25/Mar/11 11:40 AM

Agile

  • View on Board
  • Atlassian JIRA (v5.0.7#734-sha1:8ad78a6)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for MuleForge. Try JIRA - bug tracking software for your team.