How to disable Policy Server automatic restart after the crash?

Document ID : KB000024366
Last Modified Date : 14/02/2018
Show Technical Document Details

Summary:

Some customers may wish to not have their policy server be restarted automatically if a crash occurs, so the cause of the crash can be identified before bringing the process back online.  We will be covering here how to achieve that.

Background:  

A watchdog process called “smexec” watches over the policy server process, by default restarting the process if it abnormally terminates, up to 5 times in succession before deeming that the process cannot be started successfully.

Environment:  

All supported Single Sign-On (formerly SiteMinder) policy server versions

Instructions: 

To control how many times the smexec process will try to bring the policy server process back up, you can modify the “siteminder.conf” file located at “<policy server installation directory>/config”.  Replace <policy server installation directory> with the directory that the policy server was installed to, on your system.  Inside the “siteminder.conf” file, locate the line which says:

SMEXEC_RESTART_THRESHOLD=5

Adjust this value to the number of times smexec should attempt to restart the policy server process if it terminates, or set it to 0 to instruct smexec to not attempt restarting the policy server at all.