Package: slapd Version: 2.2.23-5 Severity: important The slapd almost stops working while a CPU consuming process like the one started by
echo 3^33333333 | bc & is running on the same machine. That is: a query (e.g. querying a passwd database by pam_ldap) which is answered immediately (i.e. less than 1 second) if no such process is running in parallel can take more than half an hour. One can reduce it to a few minutes by increasing the priority of slapd to the maximum. If one kills the CPU consuming process, the query is answered immediately. The bug is completely reproducible, and I have also reproduced it with the newest version openldap-stable-20050429.tgz from www.openldap.org (compiled with "--enable-crypt"). Only when I compile with the configure option "--with-threads=no", everything is ok, but the slurpd needs threads. With threads, also the test 17 performed by "make test" fails if a CPU consuming process is running in parallel. I have reproduced the bug on the following architectures/kernel versions (always with Debian Sarge): Opteron/2.6.7, Opteron/2.6.11, Athlon/2.6.8, Pentium 4/2.6.8. With Debian Woody on Pentium 4/2.6.7, everything works, also with FreeBSD. With kind regards Ulrich Hermisson -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.8-2-386 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=ISO-8859-1) (ignored: LC_ALL set to de_DE) Versions of packages slapd depends on: ii coreutils [fileutils] 5.2.1-2 The GNU core utilities ii debconf 1.4.30.13 Debian configuration management sy ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an ii libdb4.2 4.2.52-18 Berkeley v4.2 Database Libraries [ ii libiodbc2 3.52.2-3 iODBC Driver Manager ii libldap-2.2-7 2.2.23-5 OpenLDAP libraries ii libltdl3 1.5.6-6 A system independent dlopen wrappe ii libperl5.8 5.8.4-8 Shared Perl library ii libsasl2 2.1.19-1.5 Authentication abstraction library ii libslp1 1.0.11a-2 OpenSLP libraries ii libssl0.9.7 0.9.7e-3 SSL shared libraries ii libwrap0 7.6.dbs-8 Wietse Venema's TCP wrappers libra ii perl [libmime-base64-perl] 5.8.4-8 Larry Wall's Practical Extraction ii psmisc 21.5-1 Utilities that use the proc filesy -- debconf information: slapd/fix_directory: true * shared/organization: math.uni-bielefeld.de slapd/upgrade_slapcat_failure: slapd/backend: BDB * slapd/allow_ldap_v2: true slapd/no_configuration: false slapd/move_old_database: true slapd/suffix_change: false slapd/slave_databases_require_updateref: slapd/dump_database_destdir: /var/backups/slapd-VERSION slapd/autoconf_modules: true * slapd/domain: math.uni-bielefeld.de slapd/password_mismatch: slapd/invalid_config: true slapd/upgrade_slapadd_failure: slapd/dump_database: when needed slapd/purge_database: false -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]