From owner-freebsd-stable@FreeBSD.ORG Mon Aug 4 09:12:25 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B27F537B405 for ; Mon, 4 Aug 2003 09:12:25 -0700 (PDT) Received: from mail.gactr.uga.edu (mail.gactr.uga.edu [128.192.37.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2E1643FE1 for ; Mon, 4 Aug 2003 09:12:20 -0700 (PDT) (envelope-from Robin.Blanchard@gactr.uga.edu) Received: (qmail 52617 invoked from network); 4 Aug 2003 16:12:19 -0000 Received: from unknown (HELO ex.gactr.uga.edu) ([10.10.11.21]) (envelope-sender ) by mail.servers.gactr.gc.nat (qmail-ldap-1.03) with SMTP for ; 4 Aug 2003 16:12:19 -0000 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 Date: Mon, 4 Aug 2003 12:12:19 -0400 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Thread woes after 4.7 - 4.8 upgrade Thread-Index: AcNaoy4HNBEo8Fp6RE6MeLeQXt9OVQ== From: "Robin P. Blanchard" To: Subject: Thread woes after 4.7 - 4.8 upgrade X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Aug 2003 16:12:26 -0000 Since upgrading our openldap (v1.2.13) server to 4.8-STABLE from = 4.7-STABLE, we've noticed that the slapd server increasingly eats up memory, before dieing and coredumping after about 15 minutes. I rebuilt the package = (via ports), post-upgrade, to see if that fixed the problem and no dice. I've rebuilt libc_r and the pkg with debugging symbols, yielding the = following: # gdb ./slapd.static ./slapd.core <...snip...> Core was generated by `slapd'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/local/lib/libldap.so.1...done. Reading symbols from /usr/local/lib/liblber.so.1...done. Reading symbols from /usr/lib/libcrypt.so.2...done. Reading symbols from /usr/lib/libwrap.so.3...done. Reading symbols from /usr/lib/libc_r.so.4...done. Reading symbols from /usr/libexec/ld-elf.so.1...done. #0 0x2811a781 in _spinlock_debug () from /usr/lib/libc_r.so.4 (gdb) bt full #0 0x2811a781 in _spinlock_debug () from /usr/lib/libc_r.so.4 No symbol table info available. #1 0x2811e726 in _pthread_mutex_lock (mutex=3D0x80b99d4) at /usr/src/lib/libc_r/uthread/uthread_mutex.c:445 curthread =3D (struct pthread *) 0x8075800 ret =3D 0 #2 0x8067576 in ldap_pvt_thread_mutex_lock (mutex=3D0x80b99d4) at thr_posix.c:165 mutex =3D (ldap_pvt_thread_mutex_t *) 0x1 #3 0x804b832 in slapd_daemon (port=3D0x185) at daemon.c:344 from =3D {sin_len =3D 16 '\020', sin_family =3D 2 '\002', = sin_port =3D 34822, sin_addr =3D {s_addr =3D 420088330}, sin_zero =3D = "\000\000\000\000\000\000\000"} hp =3D (struct hostent *) 0x1 len =3D 16 client_name =3D 0x28174ce0 "mail.servers.gactr.gc.nat" client_addr =3D 0x2817ae80 "10.10.10.25" port =3D (void *) 0x1 ber =3D {ber_buf =3D 0x0, ber_ptr =3D 0x0, ber_end =3D 0x0, = ber_sos =3D 0x0, ber_tag =3D 0, ber_len =3D 0, ber_usertag =3D 0, ber_options =3D 0 = '\000',=20 ber_rwptr =3D 0x0, ber_encode_translate_proc =3D 0, = ber_decode_translate_proc =3D 0} i =3D 2 tcps =3D 5 ns =3D 1040 addr =3D {sin_len =3D 0 '\000', sin_family =3D 2 '\002', = sin_port =3D 34049, sin_addr =3D {s_addr =3D 0}, sin_zero =3D = "\000\000\000\000\000\000\000"} readfds =3D {fds_bits =3D {32, 0, 0, 0, 0, 0, 0, 0, 0, 65536, 0 = }} writefds =3D {fds_bits =3D {0 }} fp =3D (FILE *) 0x26980 on =3D 1 #4 0x280e22cc in _thread_start () at /usr/src/lib/libc_r/uthread/uthread_create.c:311 curthread =3D (struct pthread *) 0x80b99d4 #5 0x0 in ?? () No symbol table info available. (gdb)=20 --------------------------------------- Robin P. Blanchard Systems Integration Specialist Georgia Center for Continuing Education fon: 706.542.2404 <|> fax: 706.542.6546 ---------------------------------------