Hi, I have a dir with more than 16000 files in it. If I klick with MS-Explorer on this Dir to see which files are in it, smbd opens every file and so it takes some seconds to show this Dir! (and CPU usage is at 100%). the logfile says smbd do this for every file: [2003/11/18 16:06:58, 2] smbd/open.c:open_file(246) USERX opened file /path/to/file.txt read=Yes write=No (numopen=1) Is this behavior normal? Can I avoid this with conf-settings? Thanks in advance Markus Wenke
Hi, I have a dir with more than 16000 files in it. If I klick with MS-Explorer on this Dir to see which files are in it, smbd opens every file and so it takes some seconds to show this Dir! (and CPU usage is at 100%). the logfile says smbd do this for every file: [2003/11/18 16:06:58, 2] smbd/open.c:open_file(246) USERX opened file /path/to/file.txt read=Yes write=No (numopen=1) Is this behavior normal? Can I avoid this with conf-settings? Thanks in advance Markus Wenke
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Markus Wenke wrote: | Hi, | | I have a dir with more than 16000 files in it. | If I klick with MS-Explorer on this Dir to see | which files are in it, smbd opens every file and | so it takes some seconds to show this Dir! | (and CPU usage is at 100%). We only do what the client asks us to. This is probably explorer.exe looking for icon. - -- cheers, jerry - ---------------------------------------------------------------------- Hewlett-Packard ------------------------- http://www.hp.com SAMBA Team ---------------------- http://www.samba.org GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc "If we're adding to the noise, turn off this song" --Switchfoot (2003) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE/ukkeIR7qMdg1EfYRAvRFAJ4mPDjAESkdxttp8C0ar0FFHR8pZQCeJtVf /JVaPqlnG2Z5yohc//riKSY=2nzd -----END PGP SIGNATURE-----
On Tue, Nov 18, 2003 at 04:26:19PM +0100, Markus Wenke wrote:> Hi, > > I have a dir with more than 16000 files in it. > If I klick with MS-Explorer on this Dir to see which files are in it, > smbd opens every file and so it takes some seconds to show this Dir! > (and CPU usage is at 100%). > > the logfile says smbd do this for every file: > > [2003/11/18 16:06:58, 2] smbd/open.c:open_file(246) > USERX opened file /path/to/file.txt read=Yes write=No (numopen=1) > > > Is this behavior normal?Yes. Explorer is reading each file for thumbnail etc. info.> Can I avoid this with conf-settings?No. Don't have a directory with more than 16000 files. That's a silly way to organise things. Jeremy.