Forum Discussion

Adrien_Legros_1's avatar
Adrien_Legros_1
Icon for Altostratus rankAltostratus
Dec 04, 2012

Sideband latency

Hello,

 

we try to use Sideband connection in V11 to call a WebService and grab a response. Everything seems to work but when I look in a TCPDUMP to see the call, I can always see 2 SYN packet at the begining with a delay of 3 seconds between the 2 packets.

 

I'd like to fix this and do not understand why 2 SYNs and 3 seconds.

 

Here is the Irule code:

 

set conn [connect -idle 1 -status conn_status 192.168.1.1:80]

 

if { $conn == "" } {

 

log local0. "connect timed out"

 

ACCESS::session data set CHECK "UNCHECKED"

 

} else {

 

log local0. "Connect returns: <$conn> and conn status: <$conn_status>"

 

send request to WS

 

send -timeout 200 -status send_status $conn $user_verify_request

 

receive verification response from WS

 

set user_verify_response [recv -timeout 200 -status recv_info $conn]

 

....

 

 

 

2 Replies

  • Hi Adrien,

     

     

    Is the destination reachable from a TMM switch port? Can you try setting the timeout in the connect command?

     

     

    https://devcentral.f5.com/wiki/iRules.connect.ashx

     

    -timeout $ms is the time in milliseconds to wait to establish the connection.

     

     

    Also, it would be more efficient for connection reuse to define the sideband destination(s) in a pool, create a "sideband" virtual server an internal network address and then connect to that virtual server name instead of using the specific IP:port.

     

     

    Aaron