[Samba] Problem with 3.0.10 and 3.0.11 with 1 smbd process using
99% cpu
John C. Hennessy
jchennessy at hnkts.net
Tue Mar 1 20:07:25 GMT 2005
Just to let everyone know I was able to fix the problem. I cleaned out
the tdb files which appearntly had been corrupted.
-John
John C. Hennessy wrote:
> I've been having problems since updating to samba 3.0.10 on Debian 3.1
> Below is the output of ltrace and gdb on the offending smbd process.
> I tried upgrading to 3.0.11 and the problem still exists. Anyone have
> any suggestions?
>
>
> [ltrace output]
> After about 20 seconds on the processes ltrace loops this
>
> iconv(0x82cecc8, 0xbffff218, 0xbffff21c, 0xbffff220, 0xbffff224) = -1
> __errno_location() = 0x403ac560
> iconv(0x82cecc8, 0, 0, 0, 0) = 0
> __errno_location() = 0x403ac560
> iconv(0x82cecc8, 0xbffff218, 0xbffff21c, 0xbffff220, 0xbffff224) = -1
> __errno_location() = 0x403ac560
> iconv(0x82cecc8, 0, 0, 0, 0) = 0
> __errno_location() = 0x403ac560
> iconv(0x82cecc8, 0xbffff218, 0xbffff21c, 0xbffff220, 0xbffff224) = -1
> __errno_location() = 0x403ac560
> iconv(0x82cecc8, 0, 0, 0, 0) = 0
> __errno_location() = 0x403ac560
> iconv(0x82cecc8, 0xbffff218, 0xbffff21c, 0xbffff220, 0xbffff224) = -1
> __errno_location() = 0x403ac560
> iconv(0x82cecc8, 0, 0, 0, 0) = 0
> __errno_location() = 0x403ac560
>
> [gdb backtrace]
> Attaching to program: /usr/sbin/smbd, process 10657
> <snip>
> 0x40202cf9 in memcpy () from /lib/tls/libc.so.6
> (gdb) bt
> #0 0x40202cf9 in memcpy () from /lib/tls/libc.so.6
> #1 0x081ac059 in tdb_set_lock_alarm ()
> #2 0x081ac20d in tdb_set_lock_alarm ()
> #3 0x081ad49b in tdb_exists ()
> #4 0x081ad6e3 in tdb_traverse ()
> #5 0x081b4a79 in pjob_delete ()
> #6 0x081b4f61 in pjob_delete ()
> #7 0x081a450b in message_dispatch ()
> #8 0x081b5186 in start_background_queue ()
> #9 0x081ffd62 in main ()
> (gdb)
>
> John C. Hennessy
> President/CTO
> HNK Technology Solutions, Inc.
>
>
>
More information about the samba
mailing list