On Wed, Apr 06, 2005 at 03:50:27PM -0700, James Affeld wrote:
> 
> So to recap:  I need to dig information out of a
> running process smbd, which does not have any children
> spawned, and find out what it is doing/trying to do.
> 
> Thanks for any pointers.

I'm attaching a patch for a bug in 3.0.13 than can cause a 
spinning smbd (it's already in svn). But to check if this is the
cause you can use strace -p <pid>.

Jeremy.
--- smbd/dir.c  2005-03-23 12:30:27.000000000 -0800
+++ /home/jeremy/src/samba3.0/source/smbd/dir.c 2005-04-06 18:57:46.157484483 
-0700
@@ -602,7 +603,7 @@
                return False;
        }
 
-       while (SearchDir(dptr->dir_hnd, name, poffset) == True) {
+       if (SearchDir(dptr->dir_hnd, name, poffset)) {
                if (is_visible_file(dptr->conn, dptr->path, name, pst, True)) {
                        return True;
                }
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to