[Samba] extremely high %CPU and TIME
Tom Ryan
tomryan at camlaw.rutgers.edu
Wed Nov 19 20:23:31 GMT 2003
Jeremy,
(gdb) bt
#0 0x08173176 in tdb_brlock ()
#1 0x0817349a in tdb_unlock ()
#2 0x0817517a in tdb_next_lock ()
#3 0x081752a6 in tdb_traverse ()
#4 0x08179de4 in print_queue_status ()
#5 0x0807a6de in api_DosPrintQGetInfo ()
#6 0x0807fdd8 in api_reply ()
#7 0x08077e03 in reply_trans ()
#8 0x080af1af in switch_message ()
#9 0x080af3a9 in construct_reply ()
#10 0x080af528 in process_smb ()
#11 0x080b01b4 in smbd_process ()
#12 0x0806ab4b in main ()
#13 0x420158f7 in __libc_start_main () from /lib/i686/libc.so.6
(gdb)
On Wed, 19 Nov 2003, Jeremy Allison wrote:
> On Wed, Nov 19, 2003 at 03:14:02PM -0500, Tom Ryan wrote:
> > I've kept looking for an answer to this to no avail.. any ideas?
> >
> > strace -p reveals
> >
> > fcntl64(14, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=684, len=1},
> > 0xbffff180) = 0
> > fcntl64(14, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=684, len=1},
> > 0xbffff150) = 0
>
> Ok, it's in a tdb call. Can you attach with gdb and get a stack backtrace ?
>
> Jeremy.
>
--
_______________________________________________________________________
Tom Ryan Voice: 856-225-6361
Consulting System Administrator Fax: 856-969-7900
Rutgers School of Law - Camden
More information about the samba
mailing list