Karim 'Kasi Mir' Senoucci
2002-Oct-16 12:20 UTC
[Samba] Problems w/long file access times (samba2.2.5 & WinXP pro) (fwd)
Hello all, we're currently having problems with Windows XP machines that have *very* long file access times for files that are located on our linux-based samba server (samba 2.2.5 / linux 2.4.18). This happens with all kinds of files, with all kinds of programs, including Office97, text editors, develoment environments, etc. Sometimes - the incidents itself seems to be random and is not reproducible so far - a program freezes after a file to be opened or saved is selected; depending on the program, it either - returns after a minute or so claiming the operation has failed, only to load/save the file successfully anyway most of the time, or - loads/saves the file as requested and unfreezes the program after up to 60 seconds. This only happens with our WinXP clients; the two legacy Win98 machines still in use don't ever complain about anything. I read something about oplock problems in an older mail on one of the samba mailing lists and tried tinkering with the parameters to no avail. Below, I include my smb.conf; a debug logs are available on request. Any help or insight into the matter is appreciated. Thanks Kasi Mir -------------- next part -------------- [global] workgroup = DY username map = /etc/samba/smb.usermap force unknown acl user = yes debuglevel = 10 encrypt passwords = yes preserve case = yes os level = 65 domain admin group = root mw mk fb ks mk security = user printing = bsd printcap name = /etc/printcap domain master = yes domain logons = yes preferred master = yes max log size = 100000 oplocks = yes time server = yes hosts allow = 10.0.2.0/255.255.255.0 remote announce = 10.0.2.255/DY logon home = \\double\home\.config\%m logon path = \\double\home\.config\%m auto services = netlogon logon script = %U.bat ;socket options = IPTOS_LOWDELAY TCP_NODELAY interfaces = 10.0.2.200/255.255.255.0 oplock break wait time = 10 server string = Zentralserver [home] path = /home/%u browseable = yes create mode = 0770 directory mode = 0770 read only = no force group = users csc policy = disable ... [grafix] path = /fileserver/gfx browseable = yes create mode = 0770 directory mode = 0770 read only = no force group = users [prg] path = /server2/prg browseable = yes create mode = 0770 directory mode = 0770 read only = no force group = users [install] path = /server2/install browseable = yes create mode = 0770 directory mode = 0770 read only = no force group = users [technik] path = /server2/technik browseable = yes create mode = 0770 directory mode = 0770 read only = no force group = technik ... [printers] comment = All Printers browseable = yes printable = yes public = yes read only = yes create mode = 0700 directory = /tmp [netlogon] path = /fileserver/script browseable = no read only = yes write list = mw admin users = mw ...
Ben Griffith
2002-Oct-16 12:42 UTC
[Samba] Problems w/long file access times (samba2.2.5 & WinXP pro) (fwd)
-----[ on 10/16/02 02:21:12 PM +0200 kasi.mir@melzone.de wrote ]-----> This only happens with our WinXP clients; the two legacy Win98 machines > still in use don't ever complain about anything. I read something about > oplock problems in an older mail on one of the samba mailing lists and > tried tinkering with the parameters to no avail.I saw delayed access to Samba shares with WinXP until I turned off the WebClient service that runs on WinXP. It was trying to access the Samba server over port 80 and waiting for timeouts until then using the expected NetBIOS ports. After disabling the WebClient service on my XP machines, they accessed the Samba shares normally. As an administrator on the XP machine type services.msc into the "run" dialog. Then look for WebClient and stop or disable the service. See if this makes any difference. --Ben-- ----------------------- Ben Griffith bgriffit@email.unc.edu -----------------------