Re: [Samba] smbd looking for non existent files
On Sun, 2013-08-25 at 12:37 +0200, Michael Wood wrote: On 24 August 2013 22:39, steve st...@steve-ss.com wrote: On Sat, 2013-08-24 at 20:57 +0200, Michael Wood wrote: Hi On 24 August 2013 19:05, steve st...@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 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] smbd looking for non existent files
Is the load the same even if you turn down the logging? On 9/2/13, steve st...@steve-ss.com wrote: On Sun, 2013-08-25 at 12:37 +0200, Michael Wood wrote: On 24 August 2013 22:39, steve st...@steve-ss.com wrote: On Sat, 2013-08-24 at 20:57 +0200, Michael Wood wrote: Hi On 24 August 2013 19:05, steve st...@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 esiot...@gmail.com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] smbd looking for non existent files
On Mon, 2013-09-02 at 23:02 +0200, Michael Wood wrote: Is the load the same even if you turn down the logging? Yes, but don't rely on the 0.7%. It's a constant load but not exact. I'm getting the figures by running 'top'. e.g. 18 clients produce a constant load of 16%. I can see where you're coming from. If I log to the file rather than tail -f in real time it's a bit better, but you need a lot of clients to be able to notice it. I've started replacing LXDE with KDE. It's slower, but we'll be able to have all the clients connected at once. I've also tried asking on my distro list. Nada. 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 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] smbd looking for non existent files
On 24 August 2013 22:39, steve st...@steve-ss.com wrote: On Sat, 2013-08-24 at 20:57 +0200, Michael Wood wrote: Hi On 24 August 2013 19:05, steve st...@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. -- Michael Wood esiot...@gmail.com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] smbd looking for non existent files
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: 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] [2013/08/24 18:43:24.751496, 3] ../source3/smbd/vfs.c:1270(check_reduced_name) check_reduced_name: steve2/.icons/gnome reduced to /home/users/steve2/.icons/gnome [2013/08/24 18:43:24.753922, 3] ../source3/smbd/trans2.c:5399(call_trans2qfilepathinfo) call_trans2qfilepathinfo: SMB_VFS_LSTAT of steve2/.icons/gnome failed (No such file or directory) [2013/08/24 18:43:24.755239, 3] ../source3/smbd/error.c:82(error_packet_set) NT error packet at ../source3/smbd/trans2.c(5401) cmd=50 (SMBtrans2) NT_STATUS_OBJECT_NAME_NOT_FOUND [2013/08/24 18:43:24.760257, 3] ../source3/smbd/process.c:1794(process_smb) Transaction 1113 of length 122 (0 toread) [2013/08/24 18:43:24.761808, 3] ../source3/smbd/process.c:1397(switch_message) switch message SMBtrans2 (pid 1122) conn 0xb8f54520 [2013/08/24 18:43:24.770442, 3] ../source3/smbd/trans2.c:5291(call_trans2qfilepathinfo) call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 512 [2013/08/24 18:43:24.774313, 3] ../source3/smbd/vfs.c:1140(check_reduced_name) check_reduced_name [steve2/.icons/hicolor] [/home/users] [2013/08/24 18:43:24.777104, 3] ../source3/smbd/vfs.c:1270(check_reduced_name) check_reduced_name: steve2/.icons/hicolor reduced to /home/users/steve2/.icons/hicolor [2013/08/24 18:43:24.780783, 3] ../source3/smbd/trans2.c:5399(call_trans2qfilepathinfo) call_trans2qfilepathinfo: SMB_VFS_LSTAT of steve2/.icons/hicolor failed (No such file or directory) [2013/08/24 18:43:24.785670, 3] ../source3/smbd/error.c:82(error_packet_set) NT error packet at ../source3/smbd/trans2.c(5401) cmd=50 (SMBtrans2) NT_STATUS_OBJECT_NAME_NOT_FOUND [2013/08/24 18:43:24.791477, 3] ../source3/smbd/process.c:1794(process_smb) Transaction 1114 of length 128 (0 toread) [2013/08/24 18:43:24.796225, 3] ../source3/smbd/process.c:1397(switch_message) switch message SMBtrans2 (pid 1122) conn 0xb8f54520 [2013/08/24 18:43:24.798960, 3] ../source3/smbd/trans2.c:5291(call_trans2qfilepathinfo) file server: [global] workgroup = HH3 realm = HH3.SITE security = ADS kerberos method = secrets and keytab username map = /home/steve/smbmap log level = 3 [users] path = /home/users read only = No smbmap: !Administrator = HH3\Administrator Client: [global] workgroup = HH3 realm = HH3.SITE security = ADS kerberos method = system keytab Tested with sssd and nslcd. (yes, it's the same with winbind) Why is smbd looking for files which don't exist? Is there a cache I should clear? Cheers, Steve -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] smbd looking for non existent files
Hi On 24 August 2013 19:05, steve st...@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] [...] file server: [global] workgroup = HH3 realm = HH3.SITE security = ADS kerberos method = secrets and keytab username map = /home/steve/smbmap log level = 3 [users] path = /home/users read only = No smbmap: !Administrator = HH3\Administrator Client: [global] workgroup = HH3 realm = HH3.SITE security = ADS kerberos method = system keytab Tested with sssd and nslcd. (yes, it's the same with winbind) Why is smbd looking for files which don't exist? Is there a cache I should clear? Cheers, Steve -- Michael Wood esiot...@gmail.com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] smbd looking for non existent files
On Sat, 2013-08-24 at 20:57 +0200, Michael Wood wrote: Hi On 24 August 2013 19:05, steve st...@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? 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. Watching tail -f log.smbd is scary. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba