PingDirectory

Configuring maximum shutdown time

The PingDirectory server provides an option for administrators to set a maximum time for a shutdown process to take.

Before you begin

During shutdown, some database checkpointing and cleaning threads might remain active even after the default time period on systems with large or busy database backends. If checkpointing or cleaning is aborted prematurely, it can lead to significantly longer startup times for the PingDirectory server. When a shutdown process is initiated, the server begins stopping all of its internal components and waits up to 5 minutes for all threads to complete before exiting.

About this task

Use the dsconfig tool to configure the maximum shutdown time to allow database operations to complete.

Steps

  • To increase the maximum shutdown time for your system, choose from one of the following options.

    Choose from:

    • Run the dsconfig tool.

      The following command increases the maximum shutdown time from 5 minutes to 6 minutes. The command allows time values of w (weeks), d (days), h (hours), m (minutes), s (seconds), ms (milliseconds).

      Include the LDAP or LDAPS connection parameters, such as host name, port, bindDN, and bindDN password, with the dsconfig command.

      $ bin/dsconfig set-global-configuration-prop --set "maximum-shutdown-time:6 m"
    • Change the maximum-shutdown-time property using the dsconfig tool in interactive mode. From the main menu, select Global Configuration, and then select the option to display advanced properties.