Date: Mon, 4 Aug 2003 12:12:19 -0400 From: "Robin P. Blanchard" <Robin.Blanchard@gactr.uga.edu> To: <stable@freebsd.org> Subject: Thread woes after 4.7 - 4.8 upgrade Message-ID: <EE3D3FBAFFCAED448C21C398FDAD91AC237510@EBE1.gc.nat>
next in thread | raw e-mail | index | archive | help
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 = <repeats 22 times>}} writefds =3D {fds_bits =3D {0 <repeats 32 times>}} 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 ---------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EE3D3FBAFFCAED448C21C398FDAD91AC237510>