[Samba] smbd looking for non existent files

Michael Wood esiotrot at gmail.com
Mon Sep 2 15:02:22 MDT 2013


Is the load the same even if you turn down the logging?

On 9/2/13, steve <steve at steve-ss.com> wrote:
> On Sun, 2013-08-25 at 12:37 +0200, Michael Wood wrote:
>> On 24 August 2013 22:39, steve <steve at steve-ss.com> wrote:
>>         On Sat, 2013-08-24 at 20:57 +0200, Michael Wood wrote:
>>         > Hi
>>         >
>>         > On 24 August 2013 19:05, steve <steve at steve-ss.com> wrote:
>>         >         Hi
>>         >         4.0.8 file server in a 4.0.8 domain
>>         >
>>         >         After a user logs in on a Linux client which is
>>         joined to the
>>         >         domain,
>>         >         smbd is constantly looking for files which don't
>>         exist:
>>         >
>>         >
>>         > smbd has no reason to look for those files unless the client
>>         asks for
>>         > them.
>>         >
>>         >
>>         > I suspect you just need to turn down the debug level a bit.
>>         >
>>         >         Here is the file server log after a user login to a
>>         Linux
>>         >         client has
>>         >         settled down:
>>         >         [2013/08/24 18:43:24.748511,
>>         >         3] ../source3/smbd/vfs.c:1140(check_reduced_name)
>>         >           check_reduced_name [steve2/.icons/gnome]
>>         [/home/users]
>>         >  [...]
>>
>>
>>         Hi
>>         But if I turn the log level down, it's only at 3, that doesn't
>>         stop it
>>         looking. Does it?
>>
>>
>> No, of course not.
>>
>>         As you say, steve2/.icons/gnome must be coming from the Linux
>>         client.
>>         Would it be correct to eliminate samba from this issue? My
>>         fear is that
>>         scaling this up by replacing windows boxes with Linux is going
>>         to grind
>>         the whole thing to a halt.
>>
>>
>> Since it's the client asking for those files, this will be no
>> different if you were running a Windows server.  Except that the
>> windows server will not log all the "file not found" messages.
>>
>>         Watching tail -f log.smbd is scary.
>>
>>
>> Then turn down the log level! :)  Turn it up again if you're having
>> problems, of course, but this just looks like normal stuff that you
>> should not need to worry about.
>
> Hi
>
> The problem is that each Linux client adds 0.7% to smbd. That's a
> constant load. I realise it's not a Samba issue. I'll have to either
> switch to another DE or revert the Linux boxes to xp.
>
> Steve
>
>
>


-- 
Michael Wood <esiotrot at gmail.com>


More information about the samba mailing list