Sun Java System Calendar Server 6.3 Administration Guide

4.7 Configuring Periodic Deadlock Checking for the Berkeley in Calendar Server Version 6.3

You can configure the Calendar Server to periodically check for deadlocks in the Berkeley databases.

It is possible for the Berkeley databases to get into a deadlocked state, thus preventing access to them. To detect this state as early as possible, enable periodic checking for deadlocks.

ProcedureTo Enable Periodic Checking of Berkeley Databases for Deadlocks

  1. Log in as an administrator with permission to change the configuration.

  2. Change to the /etc/opt/SUNWics5/cal/config directory.

  3. Save your old ics.conf file by copying and renaming it.

  4. Edit the parameter shown in the following table:

    local.caldb.deadlock.autodetect

    Periodically checks if the Berkeley database is in a deadlock state and, if so, instructs the database to reset. The default value is “no” (not enabled).

  5. Save the file as ics.conf.

  6. Restart Calendar Server.

    cal-svr-base/SUNWics5/cal/sbin/start-cal

Troubleshooting

For information about how to reset Berkeley databases once deadlocked, see 22.5.2 Detecting Database Corruption22.5.1.2 List of Available Tools in the Troubleshooting chapter.