The SAS® Metadata Server uses an authorization decision process to determine
whether a requesting identity has access to the requested metadata objects. During the authorization process, locks are requested on the authorization cache. These locks might result in I/O. And in some cases, a deadlock might occur.
As a result of the deadlock, a client request never finishes processing, and the client machine ends up in a waiting state (with the clock spinning). When this happens, the SAS Metadata Server might eventually become unresponsive. In this event, you need to stop and restart the SAS Metadata Server process.
Stopping the SAS Metadata Server Process
In this situation, the preferred methods for stopping the SAS Metadata Process are the following:
- Use the Metadata Manager in SAS® Management Console.
- Use the SAS Metadata Server script.
If these methods do not stop the server process, then you need to perform one of the following actions, depending on your operating environment:
- For Microsoft Windows operating environments: If you cannot stop the server process using the Metadata Manager or the script, then stop the Windows service. If you cannot stop the service, you must use the Windows Task Manager to stop the server process.
- For UNIX operating environments: If you cannot stop the server process, submit the following command at a prompt:
kill -2 server-process-idkill -15 server-process-id
If this command fails to stop the process, submit the following command:
kill -9 server-process-id
Note:: Be sure to verify that the process has stopped successfully.
After you successfully stop the SAS Metadata Server process, restart the SAS Metadata Server and all dependent servers.
For more information, see the section "Exiting or Interrupting Your SAS Session in UNIX Environments" in Chapter 1, "Getting Started with SAS in UNIX Environments" of the SAS® 9.4 Companion Exiting or Interrupting Your SAS Session in UNIX Environments.
Workaround for the Problem
As a workaround for the problem, you can disable authorization caching. However, be aware that disabling the authorization cache results in a performance degradation.
To disable the authorization cache:
- Locate the following line in the code that is found in the omaconfig.xml file:
<OMAconfig/>
- Insert the following element immediately after the code line shown above:
<OMA AUTHORIZATION_CACHE="NO"/>
- Restart the SAS Metadata Server and all dependent servers.
Click the Hot Fix tab in this note to access the hot fix for this issue.
Important: If you implemented the workaround described earlier in this note, disable that workaround after you apply the hot fix in order to avoid the associated performance degradation.
Operating System and Release Information
SAS System | SAS Metadata Server | Microsoft Windows Server 2008 R2 | 9.3_M2 | 9.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Microsoft Windows Server 2008 for x64 | 9.3_M2 | 9.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Microsoft Windows Server 2012 Datacenter | 9.3_M2 | 9.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Microsoft Windows Server 2012 R2 Datacenter | 9.3_M2 | 9.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Microsoft Windows Server 2012 R2 Std | 9.3_M2 | 9.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Microsoft Windows Server 2012 Std | 9.3_M2 | 9.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Windows 7 Enterprise x64 | 9.3_M2 | 9.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Windows 7 Professional x64 | 9.3_M2 | 9.4 | 9.3 TS1M2 | 9.4 TS1M0 |
64-bit Enabled AIX | 9.3_M2 | 9.4 | 9.3 TS1M2 | 9.4 TS1M0 |
64-bit Enabled HP-UX | 9.3_M2 | 9.4 | 9.3 TS1M2 | 9.4 TS1M0 |
64-bit Enabled Solaris | 9.3_M2 | 9.4 | 9.3 TS1M2 | 9.4 TS1M0 |
HP-UX IPF | 9.3_M2 | 9.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Linux | 9.3_M2 | 9.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Linux for x64 | 9.3_M2 | 9.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Solaris for x64 | 9.3_M2 | 9.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Microsoft® Windows® for x64 | 9.3_M2 | 9.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Microsoft Windows 8.1 Pro 32-bit | 9.3_M2 | 9.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Microsoft Windows 8.1 Pro | 9.3_M2 | 9.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Microsoft Windows 8.1 Enterprise x64 | 9.3_M2 | 9.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Microsoft Windows 8.1 Enterprise 32-bit | 9.3_M2 | 9.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Microsoft Windows 8 Pro x64 | 9.3_M2 | 9.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Microsoft Windows 8 Enterprise x64 | 9.3_M2 | 9.4 | 9.3 TS1M2 | 9.4 TS1M0 |
z/OS | 9.3_M2 | 9.4 | 9.3 TS1M2 | 9.4 TS1M0 |
*
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.