Is manual DB recovery required after successful restart of RHDS following a crash?

Solution Unverified - Updated -

Issue

  • This morning the server crashed for a third time, but now I see lots of terrible error messages in the error log of RHDS, which we don't see with the 'usual' out of memory problems, as then it's just the Linux kernel killing the ns-slapd process.
  • We have lots of these in the Directory Server error log:

    [19/Sep/2013:09:11:29 +0200] - PR_Accept() failed, Netscape Portable Runtime error -5971 (Process open FD table is full.)
    
  • Then after a while:

    [19/Sep/2013:09:11:29 +0200] - libdb: /var/lib/dirsrv/slapd-<instance>/db/log.0000012499: log file unreadable: Too many open files
    [19/Sep/2013:09:11:29 +0200] - libdb: PANIC: Too many open files
    [19/Sep/2013:09:11:29 +0200] - libdb: PANIC: fatal region error detected; run recovery
    [19/Sep/2013:09:11:29 +0200] - PR_Accept() failed, Netscape Portable Runtime error -5971 (Process open FD table is full.)
    [19/Sep/2013:09:11:29 +0200] - Serious Error---Failed to trickle, err=-30974 (DB_RUNRECOVERY: Fatal error, run data base recovery)
    [19/Sep/2013:09:11:29 +0200] - PR_Accept() failed, Netscape Portable Runtime error -5971 (Process open FD table is full.)
    [19/Sep/2013:09:11:29 +0200] - libdb: PANIC: fatal region error detected; run recovery
    [19/Sep/2013:09:11:29 +0200] - Serious Error---Failed in deadlock detect (aborted at 0x0), err=-30974 (DB_RUNRECOVE RY: Fatal error, run database recovery)
    [19/Sep/2013:09:11:29 +0200] - PR_Accept() failed, Netscape Portable Runtime error -5971 (Process open FD table is full.)
    [19/Sep/2013:09:11:29 +0200] - libdb: PANIC: fatal region error detected; run recovery
    [19/Sep/2013:09:11:29 +0200] - FATAL ERROR at idl_new.c (1); server stopping as database recovery needed.
    [19/Sep/2013:09:11:29 +0200] - PR_Accept() failed, Netscape Portable Runtime error -5971 (Process open FD table is full.)
    [19/Sep/2013:09:18:13 +0200] - Config Warning: - nsslapd-maxdescriptors: invalid value "8192", maximum file descriptors must range from 1 to 4096 (the current process limit).  Server will use a setting of 4096.
    [19/Sep/2013:09:18:13 +0200] - 389-Directory/1.2.11.15 B2013.053.2333 starting up
    [19/Sep/2013:09:18:14 +0200] - Detected Disorderly Shutdown last time Directory Server was running, recovering data base.
    [19/Sep/2013:09:19:56 +0200] - slapd started.  Listening on All Interfaces port 389 for LDAP requests
    [19/Sep/2013:09:19:56 +0200] - Listening on All Interfaces port 636 for LDAPS requests
    
  • Can you let us know if we need to check more with this database, it looks like some recovery was already done when restarting.

Environment

  • Red Hat Directory Server (RHDS) 9.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content