Репозитории ALT
S: | 2.6.4-alt1 |
5.1: | 2.3.43-alt2.3 |
4.1: | 2.3.41-alt3.M41.3 |
4.0: | 2.3.35-alt1.M40.1 |
3.0: | 2.2.27-alt1.1 |
Группа :: Система/Серверы
Пакет: openldap
Главная Изменения Спек Патчи Исходники Загрузить Gear Bugs and FR Repocop
# $OpenLDAP: pkg/ldap/servers/slapd/DB_CONFIG,v 1.1.2.4 2007/12/18 11:51:46 ghenry Exp $
# Example DB_CONFIG file for use with slapd(8) BDB/HDB databases.
#
# See the Oracle Berkeley DB documentation
# <http://www.oracle.com/technology/documentation/berkeley-db/db/ref/env/db_config.html>
# for detail description of DB_CONFIG syntax and semantics.
#
# Hints can also be found in the OpenLDAP Software FAQ
# <http://www.openldap.org/faq/index.cgi?file=2>
# in particular:
# <http://www.openldap.org/faq/index.cgi?file=1075>
# Note: most DB_CONFIG settings will take effect only upon rebuilding
# the DB environment.
# Set in-memory database cache
# one 64 Mb cache
set_cachesize 0 67108864 1
# Set directory to use for transaction logs (relative to chroot):
#set_lg_dir /var/lib/ldap/dblogs
# Data Directory
#set_data_dir db
# Transaction Log settings
set_lg_regionmax 262144
# Set in-memory transaction log cache (1MB)
set_lg_bsize 1048576
# Set max transaction log file size, must be >= 4*lg_bsize (10MB)
set_lg_max 10485760
# Note: special DB_CONFIG flags are no longer needed for "quick"
# slapadd(8) or slapindex(8) access (see their -q option).
# autoremove unused transaction logs from log directory (see set_lg_dir)
set_flags DB_LOG_AUTOREMOVE
# man slapd-hdb for 'dbnosync' description
#set_flags DB_TXN_NOSYNC