Error: Shutdown has timed out smutilities running in Policy Server

book

Article ID: 242780

calendar_today

Updated On:

Products

SITEMINDER

Issue/Introduction

 

When stopping Policy Server, this one takes 3 minutes to stop and it reports an error:

  [22096/140016781313856][Fri May 27 2022 06:38:38][CServer.cpp:4667]
  [INFO][sm-Server-01950] Stopped main reactor.

  [22096/140016781313856][Fri May 27 2022 06:41:38][CServer.cpp:4705]
  [ERROR][sm-Server-04780]
  Shutdown has timed out, 'ManagementThread at smutilities' are still running.

Sometimes, it even crashes reporting the following stack:

  Core was generated by `smpolicysrv'.
  Program terminated with signal 6, Aborted.
  #0  0x00007f4d31831aa1 in pthread_kill () from /lib64/libpthread.so.0
  Missing separate debuginfos, use: debuginfo-install glibc-2.17-324.el7_9.x86_64 libgcc-4.8.5-44.el7.x86_64 libstdc++-4.8.5-44.el7.x86_64 sssd-client-1.16.5-10.el7_9.8.x86_64 zlib-1.2.7-19.el7_9.x86_64
  (gdb) ------------BEGIN WHERE--------------
  (gdb) #0  0x00007f4d31831aa1 in pthread_kill () from /lib64/libpthread.so.0
  #1  0x00007f4d374c3b3e in bt_abort() () from /opt/CA/siteminder/lib/libsmcommonutil.so
  #2  0x00007f4d2fdaca06 in ?? () from /lib64/libstdc++.so.6
  #3  0x00007f4d2fdaca33 in std::terminate() () from /lib64/libstdc++.so.6
  #4  0x00007f4d2fdad59f in __cxa_pure_virtual () from /lib64/libstdc++.so.6
  #5  0x00007f4d37983489 in CAgentMessageHandler::HandleClose(int) () from /opt/CA/siteminder/lib/libsmutilities.so
  #6  0x00007f4d379731c8 in TliReactor::RemoveHandler(CEventHandler*, int) () from /opt/CA/siteminder/lib/libsmutilities.so
  #7  0x00007f4d3798cf9b in AgentConnectionManager::CloseAll() () from /opt/CA/siteminder/lib/libsmutilities.so
  #8  0x00007f4d3798f72e in AgentConnectionManager::~AgentConnectionManager() ()
     from /opt/CA/siteminder/lib/libsmutilities.so
  #9  0x00007f4d3798f80f in CServer::~CServer() () from /opt/CA/siteminder/lib/libsmutilities.so
  #10 0x00000000004a18da in CSmPolicyServer::~CSmPolicyServer() ()
  #11 0x00000000004a7c57 in SmMainUTF8(int, char**) ()
  #12 0x00007f4d2f48a555 in __libc_start_main () from /lib64/libc.so.6
  #13 0x00000000004138d5 in _start ()
  (gdb) ------------END WHERE----------------

 

Environment

 

Policy Server 12.8SP4 on RedHat 7;

 

Resolution

 

Upgrade the Policy Server to 12.8SP7 when this one will be available to fix this issue.