Problem Note 58101: SASĀ® Metadata Server abnormally terminates with an "unhandled Exception" and the traceback indicates a failure in the KeepAliveThread
SAS Metadata Server might abnormally terminate with an "unhandled Exception" that is reported in the SAS Metadata Server's SASMeta_MetadataServer_console_hostname.log file. The error is similar to the following traceback and results in the SAS Metadata Server process terminating completely.
SASMeta_MetadataServer_console_myhost.log file excerpt:
ERROR: The system has encountered an unhandled Exception.
: Please contact technical support and provide them
: with the following traceback and system dump information:
ABORT: SAS/TK is aborting
: Abort Log file [tk.reportlog.2263]
: ---------------------------------------
: Time [2/08/2016 09:17:23 AM]
: ---------------------------------------
: Thread Name [KeepAliveThread]
Traceback:
/opt/sas/sas94/SASFoundation/9.4/sasexe/tkmk.so(bkt_abort_tkt_cb+0xa2) [0x7fac253edb22]
/opt/sas/sas94/SASFoundation/9.4/sasexe/tkmk.so(skaCallAbortRoutines+0x111) [0x7fac253ecb81]
/opt/sas/sas94/SASFoundation/9.4/sasexe/tkmk.so(bkabort+0x84) [0x7fac253f7c74]
/opt/sas/sas94/SASFoundation/9.4/sasexe/tkmk.so(bkt_signal_handler+0x144) [0x7fac253ea5d4]
/lib64/libpthread.so.0(+0xf710) [0x7fac2660f710]
/opt/sas/sas94/SASFoundation/9.4/sasexe/tkersa2.so(UpdateHashWithSecretKey+0x8c) [0x7fabe97477cc]
/opt/sas/sas94/SASFoundation/9.4/sasexe/tkersa2.so(+0x1f220) [0x7fabe973f220]
/opt/sas/sas94/SASFoundation/9.4/sasexe/tkiomsam.so(+0xf269) [0x7fabb000c269]
/opt/sas/sas94/SASFoundation/9.4/sasexe/tkiomsam.so(+0xe22d) [0x7fabb000b22d]
/opt/sas/sas94/SASFoundation/9.4/sasexe/tkiompeb.so(pebPushPacket+0x6c3) [0x7fabb04cacf3]
/opt/sas/sas94/SASFoundation/9.4/sasexe/tkiompeb.so(tkiompebKeepAliveThreadMain+0x7a2) [0x7fabb04aa072]
/opt/sas/sas94/SASFoundation/9.4/sasexe/tkmk.so(sktMain+0x94) [0x7fac253e8214]
/opt/sas/sas94/SASFoundation/9.4/sasexe/tkmk.so(bktMain+0x69) [0x7fac253e9df9]
/lib64/libpthread.so.0(+0x79d1) [0x7fac266079d1]
/lib64/libc.so.6(clone+0x6d) [0x7fac25c958fd]
A temporary circumvention is to start the SAS Metadata Server again.
The error might occur when the following two conditions are present:
-
A value is set for the KEEPALIVE parameter for the SAS Metadata Server. This parameter is usually configured in the sasv9_usermods.cfg file located in the SAS-configuration-directory/SASMeta/MetadataServer directory. By default, the parameter is not set, which indicates to the SAS Metadata Server that no keepalive is to be used.
Note: For more information about the KEEPALIVE parameter, see the "OBJECTSERVERPARMS System Option" section of the SAS® 9.4 Intelligence Platform: Application Server Administration Guide.
-
The time it takes to negotiate the AES-encrypted connection between a SAS client and the SAS Metadata Server is greater than the value of the KEEPALIVE parameter. For example, if the KEEPALIVE parameter is set to 60 seconds and the AES handshaking from a middle tier client takes more than 60 seconds, there is the potential for the SAS Metadata Server to crash with the traceback documented above.
Workaround
To prevent the error from occurring, apply either of the following workarounds:
-
Remove the KEEPALIVE parameter completely.
-
Increase the value of the KEEPALIVE parameter so that it is greater than the highest handshaking delay coming from a SAS client application. It might be hard to determine this value without enabling trace-level logging for the SAS Metadata Server. If this is the case, you will need to determine the appropriate value by iterative trial and error.
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS Metadata Server | 64-bit Enabled AIX | 9.4 | 9.4_M4 | | 9.4 TS1M4 |
64-bit Enabled Solaris | 9.4 | 9.4_M4 | | 9.4 TS1M4 |
HP-UX IPF | 9.4 | 9.4_M4 | | 9.4 TS1M4 |
Linux for x64 | 9.4 | 9.4_M4 | | 9.4 TS1M4 |
Solaris for x64 | 9.4 | 9.4_M4 | | 9.4 TS1M4 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2016-07-14 09:37:15 |
Date Created: | 2016-04-25 10:38:49 |