Policy Server take long time to Stop

book

Article ID: 7934

calendar_today

Updated On:

Products

CA Single Sign On Secure Proxy Server (SiteMinder) AXIOMATICS POLICY SERVER CA Single Sign On SOA Security Manager (SiteMinder) CA Single Sign-On

Issue/Introduction

When customer is using the Oracle as user directory and  using WAMUI to view contents of this user directory.

Policy server shutdown on Linux is taking long time and hanging  until the script internally issues

 

SIGKILL  to exit.

stop-all needs to kill process

[[email protected] siteminder]# ./stop-all

./stop-all[45]: .: syntax error at line 6: ewline' unexpected

RiskMinder is not running

SiteMinder Policy Server is stopping.....................

There was a problem stopping the Policy Server

Using SIGKILL to stop the Policy Server

SiteMinder Health Monitor is stopping..

SiteMinder Health Monitor is no longer running

 

PS tracelogs:

[05/17/2016][12:00:32.803][12:00:32][27495][4151752416][CServer.cpp:4636][][][][][][][][][][][][][][][][][][][][][][LogMessage:INFO:[sm-Server-01960] smpolicysrv waiting for threads to terminate]

[05/17/2016][12:00:32.803][12:00:32][27495][4151752416][CServer.cpp:4637][][][][][][][][][][][][][][][][][][][][][][LogMessage:INFO:[sm-Server-01970] smpolicysrv proceeding with shutdown]

[05/17/2016][12:00:32.803][12:00:32][27495][4151752416][CServer.cpp:4656][][][][][][][][][][][][][][][][][][][][][][LogMessage:INFO:[sm-Server-01980] 

Cause

The issue is with the ODBC provider instance release mechanism.

The shutdown is blocked at a point in the DB manager where the DB interface release mechanism not properly called

Environment

Policy Server: R12.52 SP1 CR4 OS: RHEL 6 64bitsUser Store: Oracle SQL 12c

Resolution

This issue has been resolved in Policy Server 12.52 SP1 CR6 and above:

 

https://docops.ca.com/ca-single-sign-on/12-52-sp1/en/release-notes/cumulative-releases/defects-fixed-in-12-52-sp1-cr06