[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Solaris Shared memory setup
- To: Openldap-software@OpenLDAP.org
- Subject: Solaris Shared memory setup
- From: Scott Walker <scott.walker@magma.ca>
- Date: Thu, 12 Aug 2004 16:58:21 -0400
- Cc: Quanah Gibson-Mount <quanah@stanford.edu>
- In-reply-to: <9ECB5F7654AE8366588BFE1D@cadabra-dsl.stanford.edu>
- Organization: Magma Communications Ltd.
- References: <40EF5210.50806@realss.com> <0B1B20F749556499A3D51608@cadabra-dsl.stanford.edu> <40F008F8.3020808@realss.com> <9ECB5F7654AE8366588BFE1D@cadabra-dsl.stanford.edu>
- User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
Group/Quanah,
I am hoping someone can point me in the right direction
or show me a standard /etc/system setup for giving openldap
1GB of shared memory. (OL 2.2.13 / BDB 4.2.52)
I currently have this in /etc/system:
* shared mem setup for slapd
set shmsys:shminfo_shmmax=0x40000000
And in slapd.conf:
#DB1
shm_key 1
#DB2
shm_key 2
Not sure if it is working correctly though, looks as if
openldap is consuming about 256megs of memory but in the
heap region...
Here are my DB_configs is this will help:
##### DB1
#Set cachesize to 80MB
set_cachesize 0 67108864 0
#Set maximum memory log region 2MB
set_lg_regionmax 1048576
#Set buffer size to 2MB - amount of logging
#information have been written to this cache it will be flushed to disk.
set_lg_bsize 2097152
set_lg_dir /ldap-data/db1
set_lk_max_locks 2000
set_lk_max_lockers 2000
set_lk_max_objects 2000
##### DB2
#Set cachesize to 1GB
set_cachesize 0 1073741824 0
#Set maximum memory log region 2MB
set_lg_regionmax 1048576
#Set buffer size to 2MB - amount of logging
#information have been written to this cache it will be flushed to disk.
set_lg_bsize 2097152
set_lg_dir /ldap-data/db2
set_lk_max_locks 2000
set_lk_max_lockers 2000
set_lk_max_objects 2000
Thanks for any info.
Scott