[Samba] Lots of smbd processes and connections?

Brian bbayorgeon at charter.net
Sat Oct 31 00:18:43 MDT 2009


Well, my log attachments didn't go through so I posted to bugzilla here

https://bugzilla.samba.org/show_bug.cgi?id=6862


> -----Original Message-----
> From: Brian [mailto:bbayorgeon at charter.net]
> Sent: Saturday, October 31, 2009 12:27 AM
> To: 'samba at lists.samba.org'
> Cc: 'Jeremy Allison'
> Subject: RE: [Samba] Lots of smbd processes and connections?
> 
> Well, it was all a delusion.  The problem is not fixed - it has
> returned.  I have attached to this email 3 files with level 10 logs.
> I'm not sure if the attachments will pass to the samba list or not, but
> I will try.  If not I will resend with the content in the email.
> 
> the files are:
> 
> "smbd start to first rep"
> 
> is the log from the time the smdb process restarts until the appearance
> of the first loop repetition.
> 
> "rep 1"
> 
> is the log of first repetition of things after the server has
> initialized and the session established with the client.
> 
> "rep 2"
> 
> is the basically the same as the rep1
> 
> it goes on and on.....
> 
> 
> > No, your trace doesn't look anything like his problem (I just
> looked).
> > Your trace shows a DFS referral request for a truncated network path,
> > not a repeating findfirst pattern.
> >
> > Jeremy.
> 
> Jeremy, if you take a look at the logs (lvl 10 this time) you will see
> that the first reference to the truncated service name (roo) occurs in
> conjunction with dfs...so I postulate that it is the same problem Matt
> is having.
>
> Brian





> -----Original Message-----
> From: Brian [mailto:bbayorgeon at charter.net]
> Sent: Saturday, October 31, 2009 12:27 AM
> To: 'samba at lists.samba.org'
> Cc: 'Jeremy Allison'
> Subject: RE: [Samba] Lots of smbd processes and connections?
> 
> Well, it was all a delusion.  The problem is not fixed - it has
> returned.  I have attached to this email 3 files with level 10 logs.
> I'm not sure if the attachments will pass to the samba list or not, but
> I will try.  If not I will resend with the content in the email.
> 
> the files are:
> 
> "smbd start to first rep"
> 
> is the log from the time the smdb process restarts until the appearance
> of the first loop repetition.
> 
> "rep 1"
> 
> is the log of first repetition of things after the server has
> initialized and the session established with the client.
> 
> "rep 2"
> 
> is the basically the same as the rep1
> 
> it goes on and on.....
> 
> 
> > No, your trace doesn't look anything like his problem (I just
> looked).
> > Your trace shows a DFS referral request for a truncated network path,
> > not a repeating findfirst pattern.
> >
> > Jeremy.
> 
> Jeremy, if you take a look at the logs (lvl 10 this time) you will see
> that the first reference to the truncated service name (roo) occurs in
> conjunction with dfs...so I postulate that it is the same problem Matt
> is having.
> 
> [2009/10/30 19:31:29, 10] smbd/trans2.c:call_trans2getdfsreferral(7325)
>   call_trans2getdfsreferral
> [2009/10/30 19:31:29, 10] smbd/msdfs.c:parse_dfs_path(108)
>   parse_dfs_path: temp = |OLDJUNK\roo| after trimming \'s [2009/10/30
> 19:31:29, 10] smbd/msdfs.c:parse_dfs_path(133)
>   parse_dfs_path: hostname: OLDJUNK
> 
> 
> 
> 
> 
> 
> 
> > -----Original Message-----
> > From: samba-bounces at lists.samba.org [mailto:samba-
> > bounces at lists.samba.org] On Behalf Of Brian
> > Sent: Thursday, October 29, 2009 12:17 AM
> > To: samba at lists.samba.org
> > Subject: Re: [Samba] Lots of smbd processes and connections?
> >
> > This also fits with my earlier effort to add a new user on the
> windoze
> > and bsd side which didn't have all the links back and forth.  That
> > effort with the new user didn't produce all the spamming.
> >
> >
> > > -----Original Message-----
> > > From: samba-bounces at lists.samba.org On Behalf Of Brian
> > >
> > > Well don't hold me to it, but I may have solved it!
> > >
> > > Was trying to reproduce it but that failed....grrr Will keep trying
> > > after all this...for the benefit of all
> > >
> > > anywho....here is / was the thing
> > >
> > > my homes is set to
> > >
> > > [homes]
> > >    comment = Home directory for %u on %h
> > >    browseable = no
> > >    writable = yes
> > >    path = /usr/home/%u/Documents
> > >    valid users = %S
> > >
> > > I had /usr/home/root as a symbolic link pointing back to /root
> > >
> > > then I had /root/Documents as a symbolic link pointing to
> > > /usr/samba-shares/file-server3/root/Documents
> > >
> > > should be ok?  at least I thought so
> > >
> > > well so far so good (crosses fingers) I deleted the /usr/home/root
> > > symbolic link to /root and made a real directory there named root,
> > > then I created a symbolic link there named Documents to
> > > /usr/samba-shares/file-server3/Documents
> > >
> > > ohh and if ya missed it I moved
> > > /usr/samba-shares/file-server3/root/Documents
> > > to /usr/samba-shares/file-server3/Documents
> > >
> > > and also somewhere in there I renamed "old root home" to "old-root-
> > > home"
> > >
> > > BAMMM near as I can tell no one is spamming any more
> > >
> > > Yawns! time will tell if I fixed it, but would sure like to
> > > reproduce it!
> > >
> > >
> > >
> > >
> > >
> > > > -----Original Message-----
> > > > From: Jeremy Allison [mailto:jra at samba.org]
> > > > Sent: Wednesday, October 28, 2009 11:33 PM
> > > > To: Brian
> > > > Cc: samba at lists.samba.org; 'Jeremy Allison'; 'Matthew Dickinson'
> > > > Subject: Re: [Samba] Lots of smbd processes and connections?
> > > >
> > > > On Wed, Oct 28, 2009 at 07:48:10PM -0500, Brian wrote:
> > > > > Not that a matters, remember I have my non-working work around
> > > > > in place where I inserted a "roo" share.  It may change things
> > > > > because I am not getting that recurring " couldn't find service
> > > > > roo" anymore which was looking for a truncated service name.
> > > > > DFS problems does however sound like a different ball
> game...IDK
> > > >
> > > > If you're not using DFS then try setting "host msdfs = no" and
> > > > rebooting the clients. I'm guessing this may make a difference.
> > > >
> > > > Jeremy.
> > >
> > > --
> > > To unsubscribe from this list go to the following URL and read the
> > > instructions:  https://lists.samba.org/mailman/options/samba
> >
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  https://lists.samba.org/mailman/options/samba



More information about the samba mailing list