Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

[Samba] changing kickoff time

 
Goto page Previous  1, 2, 3
   Soft32 Home -> Linux -> Samba RSS
Next:  [RFC]cfq-iosched: improve hw_tag detection  
Author Message
Jeremy Allison

External


Since: May 02, 2007
Posts: 523



(Msg. 16) Posted: Wed Oct 28, 2009 3:20 am
Post subject: Re: [Samba] Lots of smbd processes and connections? [Login to view extended thread Info.]
Archived from groups: linux>samba (more info?)

On Tue, Oct 27, 2009 at 08:52:30PM -0500, Brian wrote:
> Sorry I don't think so....basically as you can see in my earlier
> post I tried a workaround by creating a share with the last character
> clipped off (in my case "roo"). Great news, the attempt to connect msgs
> are now gone, but my server is still being spammed
> I did some stats on my client with a "net statistics workstation"
> command and came up with:
>
> Bytes received 137,514 bytes/sec
> Server Message Blocks (SMBs) received 1,302 SMB blocks/sec
> Bytes transmitted 95,329 bytes/sec
> Server Message Blocks (SMBs) transmitted 1,302 SMB blocks/sec
>
> So the error msgs are gone, but the server is getting spammed with
> greater than 1000 SMB msg blocks per second while IDLE! I don't
> know what is "normal" but 1300 / sec sounds like a LOT!
> smbd is being a trooper though as it didn't drop one of them!
>
>
> Here is what top shows:
>
> last pid: 7417; load averages: 6.22, 6.27, 6.
> 39 processes: 7 running, 32 sleeping
> CPU: 4.0% user, 0.0% nice, 29.5% system, 1.4% interrupt, 65.0% idle
> Mem: 36M Active, 606M Inact, 183M Wired, 110M Buf, 162M Free
> Swap: 1902M Total, 1902M Free
>
> PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
> 6848 root 1 66 0 14652K 8128K CPU0 2 33:00 30.37% smbd

That's crazy. Collect a wireshark trace or up the smbd log
to level 10 for a few seconds using smbcontrol and tell me
what the client is doing to spam the server like that ?

Jeremy.
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Back to top
Login to vote
Brian

External


Since: Oct 17, 2009
Posts: 17



(Msg. 17) Posted: Wed Oct 28, 2009 7:20 am
Post subject: Re: [Samba] Lots of smbd processes and connections? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

http://66.190.9.142/vista-spam-1.log

http://66.190.9.142/vista-spam-2.log

Here is a few seconds worth in these two files. This is with the
workaround in place where I have a "roo" share setup on the server
so you will not see all those can't find service messages.

I have not had time to look at them. Not sure if I could pick anything
out of them or not.

The more I investigate the more I am convinced it is a client issue..

Another interesting tidbit of information. Last night I setup a new account
on the bsd box (non wheel account) and a matching account on the vista
box (non administrator) and after a quick try last night it would appear
the problem goes away (or had not started yet). I will duplicate
that experiment to make sure.

Brian




-----Original Message-----
From: Jeremy Allison [mailto:jra@samba.org]
Sent: Wednesday, October 28, 2009 12:54 AM
To: Brian
Cc: samba.TakeThisOut@lists.samba.org
Subject: Re: [Samba] Lots of smbd processes and connections?

On Tue, Oct 27, 2009 at 08:52:30PM -0500, Brian wrote:
> Sorry I don't think so....basically as you can see in my earlier
> post I tried a workaround by creating a share with the last character
> clipped off (in my case "roo"). Great news, the attempt to connect msgs
> are now gone, but my server is still being spammed
> I did some stats on my client with a "net statistics workstation"
> command and came up with:
>
> Bytes received 137,514 bytes/sec
> Server Message Blocks (SMBs) received 1,302 SMB blocks/sec
> Bytes transmitted 95,329 bytes/sec
> Server Message Blocks (SMBs) transmitted 1,302 SMB blocks/sec
>
> So the error msgs are gone, but the server is getting spammed with
> greater than 1000 SMB msg blocks per second while IDLE! I don't
> know what is "normal" but 1300 / sec sounds like a LOT!
> smbd is being a trooper though as it didn't drop one of them!
>
>
> Here is what top shows:
>
> last pid: 7417; load averages: 6.22, 6.27, 6.
> 39 processes: 7 running, 32 sleeping
> CPU: 4.0% user, 0.0% nice, 29.5% system, 1.4% interrupt, 65.0% idle
> Mem: 36M Active, 606M Inact, 183M Wired, 110M Buf, 162M Free
> Swap: 1902M Total, 1902M Free
>
> PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU
COMMAND
> 6848 root 1 66 0 14652K 8128K CPU0 2 33:00 30.37% smbd

That's crazy. Collect a wireshark trace or up the smbd log
to level 10 for a few seconds using smbcontrol and tell me
what the client is doing to spam the server like that ?

Jeremy.

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Back to top
Login to vote
Brian

External


Since: Oct 17, 2009
Posts: 17



(Msg. 18) Posted: Wed Oct 28, 2009 5:20 pm
Post subject: Re: [Samba] Lots of smbd processes and connections? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

OK Progress, MAYBE!?

I know my web server is inaccessible, but let's move on from that...
that is an issue for another day.

At a log level 3, currently, I get the following sequence repeating
itself about 164 times per second. In that sequence it appears to
be closing 2 directories with incrementing fnum's

So what is smbd/reply.c:reply_close(4343) close directory fnum=xxxx?

that is about the only thing that changes besides the
transaction number.

I'm not sure where the pattern starts/stop but the following is
CLEARLY repeating itself at a high rate of speed.

Brian



[2009/10/28 15:46:50, 3] smbd/trans2.c:call_trans2findfirst(1926)
call_trans2findfirst: dirtype = 16, maxentries = 1366,
close_after_first=1, close_if_end = 1 requires_resume_key = 1
level = 0x104, max_data_bytes = 16384
[2009/10/28 15:46:50, 3] smbd/dir.c:dptr_create(518)
creating new dirptr 256 for path ./, expect_close = 1
[2009/10/28 15:46:50, 3] smbd/process.c:process_smb(1576)
Transaction 801277 of length 92 (0 toread)
[2009/10/28 15:46:50, 3] smbd/process.c:switch_message(1393)
switch message SMBntcreateX (pid 11443) conn 0x20c5d030
[2009/10/28 15:46:50, 3] smbd/sec_ctx.c:set_sec_ctx(324)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/10/28 15:46:50, 3] smbd/process.c:process_smb(1576)
Transaction 801278 of length 45 (0 toread)
[2009/10/28 15:46:50, 3] smbd/process.c:switch_message(1393)
switch message SMBclose (pid 11443) conn 0x20c5d030
[2009/10/28 15:46:50, 3] smbd/reply.c:reply_close(4343)
close directory fnum=7062
[2009/10/28 15:46:50, 3] smbd/process.c:process_smb(1576)
Transaction 801279 of length 92 (0 toread)
[2009/10/28 15:46:50, 3] smbd/process.c:switch_message(1393)
switch message SMBntcreateX (pid 11443) conn 0x20c5c030
[2009/10/28 15:46:50, 3] smbd/sec_ctx.c:set_sec_ctx(324)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/10/28 15:46:50, 3] smbd/process.c:process_smb(1576)
Transaction 801280 of length 45 (0 toread)
[2009/10/28 15:46:50, 3] smbd/process.c:switch_message(1393)
switch message SMBclose (pid 11443) conn 0x20c5c030
[2009/10/28 15:46:50, 3] smbd/reply.c:reply_close(4343)
close directory fnum=7063
[2009/10/28 15:46:50, 3] smbd/process.c:process_smb(1576)
Transaction 801281 of length 112 (0 toread)
[2009/10/28 15:46:50, 3] smbd/process.c:switch_message(1393)
switch message SMBtrans2 (pid 11443) conn 0x20c5c030


[2009/10/28 15:46:50, 3] smbd/trans2.c:call_trans2findfirst(1926)
call_trans2findfirst: dirtype = 16, maxentries = 1366,
close_after_first=1, close_if_end = 1 requires_resume_key = 1
level = 0x104, max_data_bytes = 16384
[2009/10/28 15:46:50, 3] smbd/dir.c:dptr_create(518)
creating new dirptr 256 for path ./, expect_close = 1
[2009/10/28 15:46:50, 3] smbd/process.c:process_smb(1576)
Transaction 801282 of length 92 (0 toread)
[2009/10/28 15:46:50, 3] smbd/process.c:switch_message(1393)
switch message SMBntcreateX (pid 11443) conn 0x20c5d030
[2009/10/28 15:46:50, 3] smbd/sec_ctx.c:set_sec_ctx(324)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/10/28 15:46:50, 3] smbd/process.c:process_smb(1576)
Transaction 801283 of length 45 (0 toread)
[2009/10/28 15:46:50, 3] smbd/process.c:switch_message(1393)
switch message SMBclose (pid 11443) conn 0x20c5d030
[2009/10/28 15:46:50, 3] smbd/reply.c:reply_close(4343)
close directory fnum=7064
[2009/10/28 15:46:50, 3] smbd/process.c:process_smb(1576)
Transaction 801284 of length 92 (0 toread)
[2009/10/28 15:46:50, 3] smbd/process.c:switch_message(1393)
switch message SMBntcreateX (pid 11443) conn 0x20c5c030
[2009/10/28 15:46:50, 3] smbd/sec_ctx.c:set_sec_ctx(324)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/10/28 15:46:50, 3] smbd/process.c:process_smb(1576)
Transaction 801285 of length 45 (0 toread)
[2009/10/28 15:46:50, 3] smbd/process.c:switch_message(1393)
switch message SMBclose (pid 11443) conn 0x20c5c030
[2009/10/28 15:46:50, 3] smbd/reply.c:reply_close(4343)
close directory fnum=7065
[2009/10/28 15:46:50, 3] smbd/process.c:process_smb(1576)
Transaction 801286 of length 112 (0 toread)
[2009/10/28 15:46:50, 3] smbd/process.c:switch_message(1393)
switch message SMBtrans2 (pid 11443) conn 0x20c5c030



> -----Original Message-----
> From: Jeremy Allison [mailto:jra@samba.org]
> Sent: Wednesday, October 28, 2009 12:41 PM
>
> > -----Original Message-----
> > From: samba-bounces.RemoveThis@lists.samba. On Behalf Of Brian
> > Sent: Wednesday, October 28, 2009 7:09 AM
>
> > http://66.190.9.142/vista-spam-1.log
> >
> > http://66.190.9.142/vista-spam-2.log
> >
> > Here is a few seconds worth in these two files. This is with the
> > workaround in place where I have a "roo" share setup on the server
> > so you will not see all those can't find service messages.
>
> I can't get access to these files. I'm getting "connection timed out".
>
> > The more I investigate the more I am convinced it is a client issue..
> >
> > Another interesting tidbit of information. Last night I setup a new
> account
> > on the bsd box (non wheel account) and a matching account on the
> vista
> > box (non administrator) and after a quick try last night it would
> appear
> > the problem goes away (or had not started yet). I will duplicate
> > that experiment to make sure.
>
> Please keep the list up to date with your progress.
>
> Jeremy.

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Back to top
Login to vote
Jeremy Allison

External


Since: May 02, 2007
Posts: 523



(Msg. 19) Posted: Wed Oct 28, 2009 7:20 pm
Post subject: Re: [Samba] Lots of smbd processes and connections? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Wed, Oct 28, 2009 at 04:50:32PM -0500, Brian wrote:
> OK Progress, MAYBE!?
>
> I know my web server is inaccessible, but let's move on from that...
> that is an issue for another day.
>
> At a log level 3, currently, I get the following sequence repeating
> itself about 164 times per second. In that sequence it appears to
> be closing 2 directories with incrementing fnum's
>
> So what is smbd/reply.c:reply_close(4343) close directory fnum=xxxx?
>
> that is about the only thing that changes besides the
> transaction number.
>
> I'm not sure where the pattern starts/stop but the following is
> CLEARLY repeating itself at a high rate of speed.

Not enough detail. Get a log level 10 plus a wireshark trace please.

Jeremy.
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Back to top
Login to vote
Matthew Dickinson

External


Since: Oct 07, 2009
Posts: 9



(Msg. 20) Posted: Wed Oct 28, 2009 7:20 pm
Post subject: Re: [Samba] Lots of smbd processes and connections? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 10/28/09 6:21 PM, "Jeremy Allison" <jra RemoveThis @samba.org> wrote:
> Not enough detail. Get a log level 10 plus a wireshark trace please.
>
> Jeremy.

Since it might be the same problem I'm having, I have those available on the
bugzilla page ( https://bugzilla.samba.org/show_bug.cgi?id=6782)

Matthew


--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Back to top
Login to vote
Jeremy Allison

External


Since: May 02, 2007
Posts: 523



(Msg. 21) Posted: Wed Oct 28, 2009 7:20 pm
Post subject: Re: [Samba] Lots of smbd processes and connections? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Wed, Oct 28, 2009 at 06:37:03PM -0500, Matthew Dickinson wrote:
>
>
>
> On 10/28/09 6:21 PM, "Jeremy Allison" <jra DeleteThis @samba.org> wrote:
> > Not enough detail. Get a log level 10 plus a wireshark trace please.
> >
> > Jeremy.
>
> Since it might be the same problem I'm having, I have those available on the
> bugzilla page ( https://bugzilla.samba.org/show_bug.cgi?id=6782)

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.
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Back to top
Login to vote
Brian

External


Since: Oct 17, 2009
Posts: 17



(Msg. 22) Posted: Wed Oct 28, 2009 9:20 pm
Post subject: Re: [Samba] Lots of smbd processes and connections? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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

I will make that level 10 and wireshark trace available....

Can I attach those to an email to the samba list or should
I post to bugzilla?





> -----Original Message-----
> From: Jeremy Allison [mailto:jra@samba.org]
> Sent: Wednesday, October 28, 2009 7:17 PM
> To: Matthew Dickinson
> Cc: Jeremy Allison; Brian; samba.DeleteThis@lists.samba.org
> Subject: Re: [Samba] Lots of smbd processes and connections?
>
> On Wed, Oct 28, 2009 at 06:37:03PM -0500, Matthew Dickinson wrote:
> >
> >
> >
> > On 10/28/09 6:21 PM, "Jeremy Allison" <jra.DeleteThis@samba.org> wrote:
> > > Not enough detail. Get a log level 10 plus a wireshark trace
> please.
> > >
> > > Jeremy.
> >
> > Since it might be the same problem I'm having, I have those available
> on the
> > bugzilla page ( https://bugzilla.samba.org/show_bug.cgi?id=6782)
>
> 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.

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Back to top
Login to vote
Jeremy Allison

External


Since: May 02, 2007
Posts: 523



(Msg. 23) Posted: Thu Oct 29, 2009 3:25 am
Post subject: Re: [Samba] Lots of smbd processes and connections? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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
Back to top
Login to vote
Brian

External


Since: Oct 17, 2009
Posts: 17



(Msg. 24) Posted: Thu Oct 29, 2009 3:25 am
Post subject: Re: [Samba] Lots of smbd processes and connections? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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 DeleteThis @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@samba.org]
> > Sent: Wednesday, October 28, 2009 11:33 PM
> > To: Brian
> > Cc: samba DeleteThis @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
Back to top
Login to vote
Brian

External


Since: Oct 17, 2009
Posts: 17



(Msg. 25) Posted: Thu Oct 29, 2009 3:25 am
Post subject: Re: [Samba] Lots of smbd processes and connections? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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@samba.org]
> Sent: Wednesday, October 28, 2009 11:33 PM
> To: Brian
> Cc: samba RemoveThis @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
Back to top
Login to vote
Matthew Dickinson

External


Since: Oct 07, 2009
Posts: 9



(Msg. 26) Posted: Thu Oct 29, 2009 1:20 pm
Post subject: Re: [Samba] Lots of smbd processes and connections? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 10/28/09 11:33 PM, "Jeremy Allison" <jra RemoveThis @samba.org> wrote:

> 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.

This hasn't made any difference for me, I'm still getting the "couldn't find
serviced" truncated message

Matthew


--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Back to top
Login to vote
Jeremy Allison

External


Since: May 02, 2007
Posts: 523



(Msg. 27) Posted: Thu Oct 29, 2009 5:20 pm
Post subject: Re: [Samba] Lots of smbd processes and connections? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Thu, Oct 29, 2009 at 12:03:16PM -0500, Matthew Dickinson wrote:
>
> On 10/28/09 11:33 PM, "Jeremy Allison" <jra.RemoveThis@samba.org> wrote:
>
> > 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.
>
> This hasn't made any difference for me, I'm still getting the "couldn't find
> serviced" truncated message

Did you reboot the client ? Until you do it'll still think
the Samba server is a dfs host.

Jeremy.
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Back to top
Login to vote
Matthew Dickinson

External


Since: Oct 07, 2009
Posts: 9



(Msg. 28) Posted: Thu Oct 29, 2009 7:20 pm
Post subject: Re: [Samba] Lots of smbd processes and connections? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 10/29/09 4:20 PM, "Jeremy Allison" <jra.RemoveThis@samba.org> wrote:
>
> Did you reboot the client ? Until you do it'll still think
> the Samba server is a dfs host.

The one client I tested was rebooted (it affects all of the 50 or so client
machines that I run) - I'll look tomorrow into disabling DFS via group
policy also on the client side (if that's possible even).

Matthew


--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Back to top
Login to vote
Brian

External


Since: Oct 17, 2009
Posts: 17



(Msg. 29) Posted: Sat Oct 31, 2009 3:20 am
Post subject: Re: [Samba] Lots of smbd processes and connections? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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@charter.net]
> Sent: Saturday, October 31, 2009 12:27 AM
> To: 'samba@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@charter.net]
> Sent: Saturday, October 31, 2009 12:27 AM
> To: 'samba@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 DeleteThis @lists.samba.org [mailto:samba-
> > bounces DeleteThis @lists.samba.org] On Behalf Of Brian
> > Sent: Thursday, October 29, 2009 12:17 AM
> > To: samba DeleteThis @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 DeleteThis @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@samba.org]
> > > > Sent: Wednesday, October 28, 2009 11:33 PM
> > > > To: Brian
> > > > Cc: samba DeleteThis @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

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Back to top
Login to vote
Brian

External


Since: Oct 17, 2009
Posts: 17



(Msg. 30) Posted: Sat Oct 31, 2009 3:20 am
Post subject: Re: [Samba] Lots of smbd processes and connections? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hello Helmut

I don't understand your comment

I think you said

You meant message posted on 10/31/09 with subject "[Samba] Lots of smbd
processes and connections?"


If that is accurate, then yes, I ws referring to that post

> -----Original Message-----
> From: Helmut Hullen [mailto:Hullen@t-online.de]
> Sent: Saturday, October 31, 2009 2:08 AM
> To: bbayorgeon.RemoveThis@charter.net
> Subject: Re: [Samba] Lots of smbd processes and connections?
>
> Hallo, Brian,
>
> Du meintest am 31.10.09 zum Thema Re: [Samba] Lots of smbd processes
> and connections?:
>
> > 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@charter.net]
> >> Sent: Saturday, October 31, 2009 12:27 AM
> >> To: 'samba@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@charter.net]
> >> Sent: Saturday, October 31, 2009 12:27 AM
> >> To: 'samba@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(73
> >> 25) 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.RemoveThis@lists.samba.org [mailto:samba-
> >>> bounces.RemoveThis@lists.samba.org] On Behalf Of Brian
> >>> Sent: Thursday, October 29, 2009 12:17 AM
> >>> To: samba.RemoveThis@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.RemoveThis@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@samba.org]
> >>>>> Sent: Wednesday, October 28, 2009 11:33 PM
> >>>>> To: Brian
> >>>>> Cc: samba.RemoveThis@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
>
>
> Don't top post - please!
> Don't full quote - please! (My full quote is just a bad example)
> Thank you!
>
>
> Viele Gruesse!
> Helmut

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Back to top
Login to vote
Display posts from previous:   
Related Topics:
[Samba] Questions on LDAP Attibutes "Logon Time" "Logoff T.. - My question is how can I turn on the feature to update the Logon Time, and Logoff time fields in LDAP. They are always...

[Samba] Syncing time for non-Admin logons? - net time \sup.. - I have in my smb.conf file the following entries: time server = yes and logon script = startup.bat Where logon..

[Samba] Bug - The Time stamp in Samba is 11 hours behind t.. - Hi. Please help me how to resolve a Samba bug The Time stamp in Samba is 11 hours behind time stamp in Linux on..

[Samba] Samba 3 PDC with LDAP - Error when changing user p.. - Hi all! I've a Samba 3 PDC with LDAP backend. When I join domain from a WinXP machine, the machine account is added in....

[Samba] big problem changing permissions on samba with win.. - Hi there, I have Redhat 7.1 + samba 2.07 Suse 8.2 + samba 2.28 I am not able to change any permissions on samba....

[Samba] Changing from samba 2-2.8a to 3.1 with ldap? - Hi, I am trying to upgrade from old samba to new one, I replaced the samba.schema for open-ldap, changed the smb.conf....
       Soft32 Home -> Linux -> Samba All times are: Pacific Time (US & Canada) (change)
Goto page Previous  1, 2, 3
Page 2 of 3

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]