Keep-alive ? tcp_disconnect?

Hi,

That post is somehow connected o my previous one that I was asking about ApplinX error log (read socket error):
http://tech.forums.softwareag.com/viewtopic.php?t=14899

I hope that maybe ApplinX advanced users will be able to find answer for my next questions.

As - because of some limitations - it is not so easy to modify our application, and because such behaviour appeared couple of weeks ago (previously we did not noticed so many issues) we decided to investigate first what is the root of our current problems.
So we have arranged set of tests and network monitoring to see where the weak point is.

Our test looked like:

  1. User logged into appplication (called “login to host (Mainframe) Path”
  2. Stayed for some time (40 minutes) with no activity (at that time atfer succesful login user stayed on some specific screen on Mainframe - was not sending data to MF)
  3. After that time user tried to perfom next action (go to next MF screen) → the read socket error occured.

From the net monitoring we have below observations:

  1. while the inactivity time ApplinX sent a data packet (1 byte of x’00’) with sequence number 949546181 - 10 minutes after last data packet and acknowledgment

  2. Mainframe TCP acknowledgment the data packet (ACK number:949546182)

  3. ApplinX sent another data packet (1byte of x’00’) 10 minutes after last data packet and acknowledgment - !! using the same sequence number!!

  4. Mainframe TCP ack’ed that packet (ACK number:949546182)

  5. Now we are not sure for that:

a) one of the network enginners told us that it looks like that packet was kept on firewall and ApplinX sent “tcp_disconnect” to drop the TN3270 session.
b) second told it looks like ApplinX received the TCP ack packet form MF, however sent “tcp_disconnect” to drop the TN3270 session.

Could anyone tell me - what exactly those 2 packets with one bytes of null character (x’00’) was intended for? Was it kind of keep-alives?

Also - under what condition ApplinX would sent telnet “tcp_disconnect” command?

I will be very gratefull for help!

Thanks and Regards!
Marta

Hi Marta, my apologies for my late reply. I already saw some additional discussion ongoing outside this forum.
I would describe the reported problem as somehow complex. There could be plenty of reasons (telnet server, tcpip stack, network, ApplinX etc.). Based on my experience, there is mostly no simple answer for questions like that. Mostly the reason can be detected by diligent work to analyse logging information and traces. So I would rather suggest to run those questions through Software AG support.

best regards,
Andreas