SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 52535: The SAS® Metadata Server or associated client processes might become unresponsive during the authorization decision process

DetailsHotfixAboutRate It

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:

  1. Locate the following line in the code that is found in the omaconfig.xml file:
    <OMAconfig/>
  2. Insert the following element immediately after the code line shown above:
    <OMA AUTHORIZATION_CACHE="NO"/>
  3. 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

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Metadata ServerMicrosoft Windows Server 2008 R29.3_M29.49.3 TS1M29.4 TS1M0
Microsoft Windows Server 2008 for x649.3_M29.49.3 TS1M29.4 TS1M0
Microsoft Windows Server 2012 Datacenter9.3_M29.49.3 TS1M29.4 TS1M0
Microsoft Windows Server 2012 R2 Datacenter9.3_M29.49.3 TS1M29.4 TS1M0
Microsoft Windows Server 2012 R2 Std9.3_M29.49.3 TS1M29.4 TS1M0
Microsoft Windows Server 2012 Std9.3_M29.49.3 TS1M29.4 TS1M0
Windows 7 Enterprise x649.3_M29.49.3 TS1M29.4 TS1M0
Windows 7 Professional x649.3_M29.49.3 TS1M29.4 TS1M0
64-bit Enabled AIX9.3_M29.49.3 TS1M29.4 TS1M0
64-bit Enabled HP-UX9.3_M29.49.3 TS1M29.4 TS1M0
64-bit Enabled Solaris9.3_M29.49.3 TS1M29.4 TS1M0
HP-UX IPF9.3_M29.49.3 TS1M29.4 TS1M0
Linux9.3_M29.49.3 TS1M29.4 TS1M0
Linux for x649.3_M29.49.3 TS1M29.4 TS1M0
Solaris for x649.3_M29.49.3 TS1M29.4 TS1M0
Microsoft® Windows® for x649.3_M29.49.3 TS1M29.4 TS1M0
Microsoft Windows 8.1 Pro 32-bit9.3_M29.49.3 TS1M29.4 TS1M0
Microsoft Windows 8.1 Pro9.3_M29.49.3 TS1M29.4 TS1M0
Microsoft Windows 8.1 Enterprise x649.3_M29.49.3 TS1M29.4 TS1M0
Microsoft Windows 8.1 Enterprise 32-bit9.3_M29.49.3 TS1M29.4 TS1M0
Microsoft Windows 8 Pro x649.3_M29.49.3 TS1M29.4 TS1M0
Microsoft Windows 8 Enterprise x649.3_M29.49.3 TS1M29.4 TS1M0
z/OS9.3_M29.49.3 TS1M29.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.