Slapd 2.3.24 on 98 to 100 percent most of the time ...

Feczák Szabolcs feczo at siodigit.hu
Sat Aug 26 04:44:31 UTC 2006


FreeBSD cstech.hu 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May  8 
07:00:26 UTC 2005     
root at portnoy.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

It kills the machine, and I have no idea why. Close after restart it 
operates
normally later on starts eating up the processor time although the load 
remains
under 2. Queries still returning data, but slows down the whole machine.

slapd.conf :


include         /usr/local/etc/openldap/schema/core.schema
include         /usr/local/etc/openldap/schema/cosine.schema
include         /usr/local/etc/openldap/schema/cyrus.schema
include         /usr/local/etc/openldap/schema/dyngroup.schema
include         /usr/local/etc/openldap/schema/eduorg.schema
include         /usr/local/etc/openldap/schema/eduperson.schema
include         /usr/local/etc/openldap/schema/inetorgperson.schema
include         /usr/local/etc/openldap/schema/maildrop.schema
include         /usr/local/etc/openldap/schema/kerberosobject.schema
include         /usr/local/etc/openldap/schema/nis.schema
include         /usr/local/etc/openldap/schema/openldap.schema
include         /usr/local/etc/openldap/schema/sendmail.schema
include         /usr/local/etc/openldap/schema/squirrelmail.schema
include         /usr/local/etc/openldap/schema/uoa.schema
include         /usr/local/etc/openldap/schema/uoademouser.schema
include         /usr/local/etc/openldap/schema/uoamailrecipient.schema
include         /usr/local/etc/openldap/schema/uoasendmail.schema
include         /usr/local/etc/openldap/schema/rfc2739.schema
include         /usr/local/etc/openldap/schema/horde.schema

pidfile         /var/run/openldap/slapd.pid
argsfile        /var/run/openldap/slapd.args

modulepath      /usr/local/libexec/openldap
moduleload      back_bdb
database        bdb

suffix          "dc=cstech,dc=hu"
rootdn          "cn=manager,dc=cstech,dc=hu"
rootpw          {SSHA}-----------------------------

access to *
        by dn="cn=admin,ou=people,dc=cstech,dc=hu" write
        by * read

access to *
        by * write

directory       /var/db/openldap-data
index   objectClass     eq

nsswitch.conf :

group: files ldap
group_compat: nis
hosts: files dns
networks: files
passwd: files ldap
nasswd_compat: nis
shells: files


ports installed:

nss_ldap-1.250, oniguruma-2.5.2, openjade-1.3.2_7, 
openldap-client-2.3.24, openldap-server-2.3.25, openssl-0.9.8b_1, 
p5-Archive-Tar-1.29, p5-Archive-Zip-1.16, p5-Authen-SASL-2.10_1, 
p5-BerkeleyDB-0.27_3, p5-Compress-Zlib-1.41, p5-Convert-ASN1-0.20, 
p5-Convert-BinHex-1.119, p5-Convert-TNEF-0.17, p5-Convert-UUlib-1.06, 1, 
p5-Crypt-PasswdMD5-1.3, p5-DBD-Pg-1.49, p5-DBI-1.50, p5-Digest-1.15, 
p5-Digest-HMAC-1.01, p5-Digest-MD5-2.36, p5-Digest-SHA1-2.11, 
p5-File-Temp-0.16_4, p5-GSSAPI-0.21, p5-Geography-Countries-1.4, 
p5-HTML-Parser-3.54, p5-HTML-Tagset-3.10, p5-IO-Multiplex-1.08, 
p5-IO-Socket-INET6-2.51_1, p5-IO-Socket-SSL-0.97, p5-IO-String-1.08, 
p5-IO-Zlib-1.04_1, p5-IO-stringy-2.110, p5-IP-Country-2.21, 
p5-MIME-Base64-3.07, p5-MIME-Tools-5.420, 2, 
p5-Mail-SpamAssassin-3.1.1_4, p5-Mail-Tools-1.74, p5-Net-1.19, 1, 
p5-Net-DNS-0.57, p5-Net-IP-1.24, p5-Net-SSLeay-1.30_1, 
p5-Net-Server-0.93_1, p5-Net-XWhois-0.90_3, p5-PathTools-3.18, 
p5-Pod-Parser-1.34, p5-Scalar-List-Utils-1.18, 1, p5-Socket6-0.19, 
p5-Storable-2.15, p5-Term-ReadKey-2.30, p5-Test-Harness-2.60, 
p5-Time-HiRes-1.87, 1, p5-URI-1.35, p5-Unix-Syslog-0.100, 
p5-XML-NamespaceSupport-1.09_1, p5-XML-SAX-0.14, p5-gettext-1.05_1, 
p5-libwww-5.805, p5-perl-ldap-0.33, pam_ldap-1.8.0, pcre-6.6_1, 
pdflib-6.0.3, pear-1.4.6, pear-Auth-1.2.4, pear-Auth_SASL-1.0.1_1, 
pear-Cache-1.5.4_1, pear-DB-1.7.6, 1, pear-Date-1.4.6, pear-File-1.2.2, 
1, pear-File_Passwd-1.1.6, pear-HTTP_Request-1.3.0, pear-Log-1.9.3, 
pear-Mail-1.1.9, pear-Mail_Mime-1.3.1, pear-Net_SMTP-1.2.7, 
pear-Net_Sieve-1.1.2, pear-Net_Socket-1.0.6, pear-Net_URL-1.0.14, 
pear-SOAP-0.9.1, pear-XML_Parser-1.2.7, pear-XML_Serializer-0.16.0, 
pear-XML_Util-1.1.1, pecl-PDO-1.0.3, pecl-fileinfo-1.0.3, 
pecl-zip-1.3.1, perl-5.8.8, php5-5.1.4, php5-ctype-5.1.4, 
php5-dom-5.1.4, php5-ftp-5.1.4, php5-gd-5.1.4, php5-gettext-5.1.4, 
php5-iconv-5.1.4, php5-imap-5.1.4, php5-ldap-5.1.4, php5-mbstring-5.1.4, 
php5-mcrypt-5.1.4, php5-mysql-5.1.4, php5-openssl-5.1.4, 
php5-pcre-5.1.4, php5-session-5.1.4, php5-xml-5.1.4, php5-zlib-5.1.4, 
phpldapadmin-1.0.1, 1, pkgconfig-0.20_2, png-1.2.8_3, portaudit-0.5.11, 
portupgrade-2.0.1_1, 1, postfix-2.2.10_1, 1, postgresql-client-8.1.4, 
postgresql-server-8.1.4_1, pure-ftpd-1.0.21_1, python-2.4.3, 
razor-agents-2.81, recode-3.6_6, rpm2cpio-1.2_2, ruby-1.8.4_8, 1, 
ruby18-bdb1-0.2.2, screen-4.0.2_3, sgmlformat-1.7_2, sudo-1.6.8.12_1,
t1lib-5.1.0_1, 1, texinfo-4.8_3, tidy-lib-051026_2, turba-2.1.1,
unarj-2.65_1, unrar-3.60.b4, 3, unzip-5.52_2, unzoo-4.4, vim-lite-6.4.9,
webcpp-0.8.4, xmlcatmgr-2.2, zoo-2.10.1_2, zsh-4.3.2

I have tried to put higher logging level on slapd, no success to see 
anything suspicious ...

Any ideas what can be the problem ?


More information about the freebsd-questions mailing list