SAS Viya web applications might exhibit slow performance in a clustered environment that is running the Identities service on more than one machine. The following actions are examples where you might see long wait times:
You might also notice an unusually high number of requests to LDAP from SAS Viya.
This behavior can occur if the Identities service cache becomes locked. When the cache is locked, every request to the Identities service causes a query to use LDAP rather than to cache, thereby bypassing the performance gain that cache provides.
Messages similar to the following in the Identities service log indicate that a request was sent to LDAP:
Note: Trace-level logging on the Identities service for the logger com.sas.identities is required to see the above log data. Refer to the Specify the Threshold Level for Service Logs section in SAS® Viya® 3.4 Administration / Logging for the steps to enable this logging level if you want to confirm these messages in your environment. Be aware that some queries to LDAP are normal and required, even if there is no problem accessing the cache.
When the cache is being used, the log shows messages similar to the following instead:
To confirm whether the identities cache is locked, submit these three commands. Each of the three commands should be submitted as a single line, should be run as the SAS user (or a user with sudo privileges), and should be run on the machine that is running the SAS® Configuration Server:
If the following key (with no value assigned) is in the result, the identities cache is currently locked:
To manually release the cache lock, submit the following command, and then restart the Identities service on each node on which it is running:
Click the Hot Fix tab in this note for a link to instructions about accessing and applying the software update.
To complete this process, make sure that the Identities service version is 2.17.16 or newer.
You can determine the version of the Identities service using one of these methods:
Product Family | Product | System | Product Release | SAS Release | ||
Reported | Fixed* | Reported | Fixed* | |||
SAS System | SAS Viya | Microsoft® Windows® for x64 | 3.4 | 3.5 | Viya | |
Microsoft Windows 8 Enterprise 32-bit | 3.4 | |||||
Microsoft Windows 8 Enterprise x64 | 3.4 | 3.5 | Viya | |||
Microsoft Windows 8 Pro 32-bit | 3.4 | |||||
Microsoft Windows 8 Pro x64 | 3.4 | 3.5 | Viya | |||
Microsoft Windows 8.1 Enterprise 32-bit | 3.4 | |||||
Microsoft Windows 8.1 Enterprise x64 | 3.4 | 3.5 | Viya | |||
Microsoft Windows 8.1 Pro 32-bit | 3.4 | |||||
Microsoft Windows 8.1 Pro x64 | 3.4 | 3.5 | Viya | |||
Microsoft Windows 10 | 3.4 | 3.5 | Viya | |||
Microsoft Windows 95/98 | 3.4 | |||||
Microsoft Windows 2000 Advanced Server | 3.4 | |||||
Microsoft Windows 2000 Datacenter Server | 3.4 | |||||
Microsoft Windows 2000 Server | 3.4 | |||||
Microsoft Windows 2000 Professional | 3.4 | |||||
Microsoft Windows NT Workstation | 3.4 | |||||
Microsoft Windows Server 2003 Datacenter Edition | 3.4 | |||||
Microsoft Windows Server 2003 Enterprise Edition | 3.4 | |||||
Microsoft Windows Server 2003 Standard Edition | 3.4 | |||||
Microsoft Windows Server 2003 for x64 | 3.4 | 3.5 | Viya | |||
Microsoft Windows Server 2008 | 3.4 | |||||
Microsoft Windows Server 2008 R2 | 3.4 | 3.5 | Viya | |||
Microsoft Windows Server 2008 for x64 | 3.4 | 3.5 | Viya | |||
Microsoft Windows Server 2012 Datacenter | 3.4 | 3.5 | Viya | |||
Microsoft Windows Server 2012 R2 Datacenter | 3.4 | 3.5 | Viya | |||
Microsoft Windows Server 2012 R2 Std | 3.4 | 3.5 | Viya | |||
Microsoft Windows Server 2012 Std | 3.4 | 3.5 | Viya | |||
Microsoft Windows Server 2016 | 3.4 | 3.5 | Viya | |||
Microsoft Windows Server 2019 | 3.4 | |||||
Microsoft Windows XP Professional | 3.4 | |||||
Windows 7 Enterprise 32 bit | 3.4 | |||||
Windows 7 Enterprise x64 | 3.4 | 3.5 | Viya | |||
Windows 7 Home Premium 32 bit | 3.4 | |||||
Windows 7 Home Premium x64 | 3.4 | 3.5 | Viya | |||
Windows 7 Professional 32 bit | 3.4 | |||||
Windows 7 Professional x64 | 3.4 | 3.5 | Viya | |||
Windows 7 Ultimate 32 bit | 3.4 | |||||
Windows 7 Ultimate x64 | 3.4 | 3.5 | Viya | |||
Windows Millennium Edition (Me) | 3.4 | |||||
Windows Vista | 3.4 | |||||
Windows Vista for x64 | 3.4 | 3.5 | Viya | |||
Linux for x64 | 3.4 | 3.5 | Viya |
Viya on Windows: An update for this issue is available for SAS Viya 3.4. For instructions on how to access and apply software updates, see the Updating Your SAS Viya software section in the SAS Viya 3.4 for Windows Deployment Guide at
http://documentation.sas.com/?softwareId=administration&softwareVersion=3.4&softwareContextId=softwareUpdatesWinViya on Linux: An update for this issue is available for SAS Viya 3.4. For instructions on how to access and apply software updates, see the Updating Your SAS Viya software section in the SAS Viya 3.4 for Linux Deployment Guide at
http://documentation.sas.com/?softwareId=administration&softwareVersion=3.4&softwareContextId=softwareUpdatesType: | Problem Note |
Priority: | medium |
Date Modified: | 2020-01-29 16:40:23 |
Date Created: | 2020-01-23 16:56:32 |