summaryrefslogtreecommitdiff
path: root/conf/templates/DB_CONFIG.slapd.template.in
blob: f95bcbef33577263758f878bad5131806b8256c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
KOLAB_META_START
TARGET=@ldapserver_dir@/DB_CONFIG
PERMISSIONS=0640
OWNERSHIP=@ldapserver_usr@:@ldapserver_rgrp@
KOLAB_META_END
# (c) 2005 Klaraelvdalens Datakonsult AB
#     Written by Steffen Hansen <steffen@klaralvdalens-datakonsult.se>
#
# This program is Free Software under the GNU General Public License (>=v2).
# Read the file COPYING that comes with this packages for details.

# this file is automatically written by the Kolab config backend and should have the
# file mode 0640

set_cachesize   0       26214400        1
set_tmp_dir /dev/shm

#http://www.sleepycat.com/docs/api_c/env_set_lk_detect.html
#Set if the deadlock detector is to be run whenever 
#a lock conflict occurs, and specify what lock request(s) should be rejected.
#
# DB_LOCK_DEFAULT
# Use whatever lock policy was specified when the database environment 
# was created. If no lock policy has yet been specified, 
# set the lock policy to DB_LOCK_RANDOM.
set_lk_detect DB_LOCK_DEFAULT