[Samba] smbd processes 99% cpu and end-user locks up (good gdb attached)

Gerald (Jerry) Carter jerry at samba.org
Wed Oct 19 15:54:43 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Nathan Vidican wrote:

| Thanks, makes sense... so I waited for another (locked up)
| pid, and did  a `gdb /usr/samba/sbin/smbd <pid>` , and
| got a (hopefully useful) gdb output. I have atatched
| the output here, along with the logfile of the
| user which the smbd process belonged to when it happened.

Looks like the OpenLDAP client libs are stuck in a select()
call.  What version of OL are you using?  Is there a newer version you
could try?



(gdb) bt
#0  0x0000000801cdc1dc in select () from /lib/libc.so.6
#1  0x000000080097ab45 in ldap_result () from
/usr/local/lib/libldap-2.2.so.7
#2  0x000000080097f32b in ldap_sasl_bind_s () from
/usr/local/lib/libldap-2.2.so.7
#3  0x000000080097f830 in ldap_simple_bind_s () from
/usr/local/lib/libldap-2.2.so.7
#4  0x00000000006bc278 in smbldap_connect_system (ldap_state=0x90eb48,
ldap_struct=0x991200) at lib/smbldap.c:780
#5  0x00000000006bc787 in smbldap_open (ldap_state=0x90eb48) at
lib/smbldap.c:860






cheers, jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDVmxCIR7qMdg1EfYRAsfeAJ9qzQGJoJ/v9mHJNRP8JPa5jr5iowCfW7wF
N7SfAtnlJBizThAQP87QpDw=
=qBu1
-----END PGP SIGNATURE-----


More information about the samba mailing list