[Samba] smbd processes 99% cpu and end-user locks up (good gdb
attached)
Nathan Vidican
nvidican at wmptl.com
Wed Oct 19 16:19:39 GMT 2005
I've got openldap-2.2.27 installed via FreeBSD ports-collection; made from
source on this machine, I can quite easily swap it out for another version, any
suggestions? - OpenLDAP.org lists 2.2.26 as the most 'stable' version, I have
tried newer ones with little success before.
Do I need to re-compile samba after updating openldap? Does samba include
updated source files/libraries from openldap, or does it just access system
openldap libs as it appaears in the gdb output (ie: upgrade
/usr/local/lib/libldap-2.2.so.7 vs upgrading openldap+samba too)
Gerald (Jerry) Carter wrote:
> -----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-----
>
>
--
Nathan Vidican
nvidican at wmptl.com
Windsor Match Plate & Tool Ltd.
http://www.wmptl.com/
More information about the samba
mailing list