TN3270 server CPU climbs as clients reconnect: EZZ6034I SESS DROP, LUNAME MULTIPLE, INACT-K
Elevated CPU in the z/OS TN3270 server is often clients dropping and reconnecting. How to read EZZ6034I drop reasons and LUNAME MULTIPLE, and what to change.
This page is for z/OS system programmers. IBM describes higher than expected CPU use in the Telnet (TN3270) server address space, and gives a common cause: more connection activity than expected, especially with TLS sessions. That in turn can be caused by sessions being dropped and the clients reconnecting at once.
Find the drops
Look in SYSLOG or the TN3270 job log for EZZ6034I (or EZZ6035I) messages with SESS DROP or CONN DROP:
- Drops come in batches with the same reason.
- If there are more than two in a 15-second interval, only two messages are written, and the second shows LUNAME MULTIPLE.
- The same client IP address tends to come back at regular intervals.
- The messages do not appear if
DEBUG CONN OFFis set in the profile for those ports.
For a full history, SMF type 118 or 119 records (with SMFTERM configured) show past drop reasons and every affected client address. A Telnet CTRACE also lists the client addresses.
What to change, by drop reason
| Reason | IBM's suggestion | |---|---| | INACT-K | Consider turning off the KEEPINACTIVE timer (set it to 0) | | INACT-S | Consider turning off the INACTIVE timer (set it to 0) | | INACT-P | Consider turning off the PRTINACTIVE timer (set it to 0) | | INACT-PF | Typically a one-time event per client; if it repeats, look at why OBEYFILE commands are run so often | | ERR 1001, 1006, 1027, or many TKOVER | An idle timer in a firewall between client and host may be closing sessions: tune TIMEMARK and SCANINTERVAL |
For the firewall case, see EZZ6034I CONN DROP after idle, TN3270 TIMEMARK and SCANINTERVAL.
The clients
If you control the clients, turn off auto-reconnect or reduce its retries.
This app reconnects a dropped session by itself only when you return to the app, and for a TN3270 session it stops trying a few seconds later; it has no setting to turn this off.
If TKOSPECLU is configured and two clients ask for the same LU name, both set to reconnect at once with a short takeover interval, IBM notes there will be constant activity between the two. Check the client configurations for a duplicated LU name; see LU names and device names.
TLS cost
On z/OS 1.9 and later, IBM suggests that a server using SECUREPORT for SSL/TLS consider AT-TLS (TTLSPORT and policies) instead, for lower CPU use in the handshake and encryption, and using the cryptographic coprocessors if the system has them.
Related
- EZZ6034I CONN DROP after idle, TN3270 TIMEMARK and SCANINTERVAL
- LU names and device names
- TN3270 "No LUs available" and RCODE 3003 or 3004: the server has no LU for you
- Reconnect to a TSO session after the connection drops
- EZZ6035I RCODE 600E on TN3270 TLS connections: the handshake timed out (SSLTIMEOUT)