[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Slapd in RedHat 6.2



Please help me.

----- Original Message ----- 
From: "Lg" <gang_l@vinside.com>
To: <openldap-software@OpenLDAP.org>
Sent: Monday, July 03, 2000 3:13 PM
Subject: Slapd in RedHat 6.2


> Hello,
> 
>     I run openldap-stable-20000515 in RedHat 6.2 i386.I have some question about slapd.
> In OpenLDAP software FAQ,I found it is safe to run slapd without threads in Linux.
> However,slapd in my linux box often cost 99.9% CPU.When I change to slapd with threads,
> It often die.I can not get useful msg from log file.So anything wrong?Thank you very much.
> 
> Some information about my linux box is here.
> 
> Linux xxx 2.2.16-3smp #1 SMP Mon Jun 19 19:00:35 EDT 2000 i686 unknown
> 
> [root@xxx /root]# free
>              total       used       free     shared    buffers     cached
> Mem:       1036176     267960     768216      12836      23520      65384
> -/+ buffers/cache:     179056     857120
> Swap:      1052616       4056    1048560
> 
> OpenLDAP configuration:
> 
> ./configure --with-ldbm-api=gdbm --without-threads
> 
> slapd.conf:
> 
> #
> # See slapd.conf(5) for details on configuration options.
> # This file should NOT be world readable.
> #
> include  /etc/openldap/slapd.at.conf
> include  /etc/openldap/slapd.oc.conf
> 
> include  /etc/openldap/conf.oc.conf
> 
> schemacheck on
> #referral ldap://root.openldap.org/
> 
> pidfile  /var/lib/ldap/vinside/slapd.pid
> argsfile /var/lib/ldap/vinside/slapd.args
> 
> loglevel 256
> 
> access to *
>    by * none
> access to attr=userpassword
>           by self write
>           by * none
> access to *
>           by self write
>           by dn=".+" read
>           by * none
> 
> #######################################################################
> # ldbm database definitions
> #######################################################################
> 
> database ldbm
> suffix  "ou=People, o=VinSide, c=CN"
> rootdn  "cn=Manager, ou=People, o=VinSide, c=CN"
> rootpw  secret
> 
> directory /var/lib/ldap/vinside/People
> 
> index  uid,isOnline,gender,province,marital,ShuXiang,constellation,education,employment,hobby,interest,incoming eq
> index  emailAddress,nickName,dateOfBirth,school,speciality
> 
> index           default none
> 
> cachesize 50000
> dbcachesize     5000000
> dbcachenowsync  on
> 
> #replica  host=dir1.vinside:8389
> #  binddn="cn=Manager, ou=People, o=VinSide, c=CN"
> #  bindmethod=simple credentials=secret
> 
> #replogfile  /var/vinside/People/slapd.replog
> 
> lastmod  off
> 
> database ldbm
> suffix  "ou=Cluster, o=VinSide, c=CN"
> rootdn  "cn=Manager, ou=Cluster, o=VinSide, c=CN"
> rootpw  secret
> 
> directory /var/lib/ldap/vinside/Cluster
> 
> index           uid,mailName eq
> index           default none
> 
> cachesize 50000
> dbcachesize     5000000
> dbcachenowsync  on
> 
> #replogfile  /var/vinside/Cluster/slapd.replog
> 
> #replica  host=dir1.vinside:8389
> #  binddn="cn=Manager, ou=Cluster, o=VinSide, c=CN"
> #  bindmethod=simple credentials=secret
> 
> lastmod  off
> 
> database ldbm
> suffix  "ou=Group, o=VinSide, c=CN"
> rootdn  "cn=Manager, ou=Group, o=VinSide, c=CN"
> rootpw  secret
> 
> directory /var/lib/ldap/vinside/Group
> 
> index  club_id,club_Category_level_1,club_isGroup,club_allow_sub,club_Category_level_2,club_Category_level_3,mailName eq
> index  club_search_keyword
> index           default none
> 
> cachesize 1000
> dbcachesize     100000
> dbcachenowsync  on
> 
> #replogfile  /var/vinside/Group/slapd.replog
> 
> #replica  host=dir1.vinside:8389
> #  binddn="cn=Manager, ou=Group, o=VinSide, c=CN"
> #  bindmethod=simple credentials=secret
> 
> lastmod  off
> 
> database ldbm
> suffix  "ou=Conf, o=VinSide, c=CN"
> rootdn  "cn=Manager, ou=Conf, o=VinSide, c=CN"
> rootpw  secret
> 
> directory /var/lib/ldap/vinside/Conf
> 
> index           confid eq
> index           default none
> 
> cachesize 100
> dbcachesize     100000
> dbcachenowsync  on
> 
> #replogfile  /var/vinside/Conf/slapd.replog
> 
> #replica  host=dir1.vinside:8389
> #  binddn="cn=Manager, ou=Conf, o=VinSide, c=CN"
> #  bindmethod=simple credentials=secret
> 
> lastmod  off
> 
> Notes:
>     Because there is a great deal of entry in our project and ext2fs only supports 2G file,
>     We use three backend to store our data. Wrong?
>