2.2.2 and oplocks and Word

Scott Moomaw scott at bridgewater.edu
Fri Oct 19 08:23:04 GMT 2001


On Fri, 19 Oct 2001, Gerald (Jerry) Carter wrote:

> On Fri, 19 Oct 2001, Gerald (Jerry) Carter wrote:
>
> > Try enabling "level2 oplocks" and see if the problem persists.
> > Although I do agree that this is a bug.  Just not sure where
> > the blame lies at the moment.
>
> Scrath that.  Still occurs with "level2 oplocks = yes"

I'm inclined to believe that the problem we saw with lots of TMP files
being created might be related to this.  FWIW, I've included the earlier
email snippet that detailed what we saw.  I believe that the method of
temporary file management used by some windows applications isn't yet 100%
supported in Samba.  I've left our system with oplocks disabled since this
problem occured so I don't have more info; however, I just wanted to throw
this into the mix since it seems (at least to me :-) to be somewhat
related.

Scott

>From scott at Bridgewater.EDU Fri Oct 19 11:21:09 2001
Date: Tue, 25 Sep 2001 11:45:16 -0400 (EDT)
From: Scott Moomaw <scott at Bridgewater.EDU>
To: Joe Meslovich <joe at Bridgewater.EDU>
Cc: jra at samba.org, samba-technical at samba.org, samba at samba.org
Subject: Re: large quantity of fsa*.tmp files

Here's a little more info on the problem.  It seems to be related to a
deployment of Command Antivirus 4.62 for Win2K.  I don't think that this
is just a coincidence because the problems began last night after the
antivirus software installation, and the problems affected different
clients and differents samba servers.  Different applications are
generating tmp filenames with different file prefixes.  We were able to
work around the problem by adding "oplocks = no" to the smb.conf of both
servers.  It appears that a file is created, closed, and createX then
fails with a file exists message.

Scott

On Tue, 25 Sep 2001, Joe Meslovich wrote:

> 	This morning we have run into a problem where we are getting
> thousands upon thousands of tmp files beginning with the letters fsa when
> users tried to save files in any of the Microsoft Office products. This
> occured on both a samba 2.0.6 system and a 2.2.1a (cvs Sept 6th). Below is
> an fragment of a log file from the 2.0.6 system. I do not have a log from
> the 2.2.1a system at this time. Does this problem ring a bell with anyone?
>
> [2001/09/25 10:07:04, 3] smbd/process.c:process_smb(615)
>   Transaction 48458 of length 128
> [2001/09/25 10:07:04, 3] smbd/process.c:switch_message(448)
>   switch message SMBntcreateX (pid 12858)
> [2001/09/25 10:07:04, 3] lib/doscalls.c:dos_ChDir(336)
>   dos_ChDir to /
> [2001/09/25 10:07:04, 3] lib/doscalls.c:dos_ChDir(336)
>   dos_ChDir to /export/admin
> [2001/09/25 10:07:04, 3] lib/util.c:unix_clean_name(608)
>   unix_clean_name [/president/ehylton/teefall01/fsa2C1E.tmp]
> [2001/09/25 10:07:04, 3] lib/util.c:unix_clean_name(608)
>   unix_clean_name [president/ehylton/teefall01/fsa2C1E.tmp]
> [2001/09/25 10:07:04, 3] smbd/error.c:error_packet(138)
>   error packet at line 840 cmd=162 (SMBntcreateX) eclass=1 ecode=80
> [2001/09/25 10:07:04, 3] smbd/error.c:error_packet(143)
>   error string = File exists
> [2001/09/25 10:07:04, 3] smbd/process.c:process_smb(615)
>   Transaction 48459 of length 128
> [2001/09/25 10:07:04, 3] smbd/process.c:switch_message(448)
>   switch message SMBntcreateX (pid 12858)
> [2001/09/25 10:07:04, 4] smbd/uid.c:become_user(181)
>   Skipping become_user - already user
> [2001/09/25 10:07:04, 3] lib/util.c:unix_clean_name(608)
>   unix_clean_name [/president/ehylton/teefall01/fsa2C1F.tmp]
> [2001/09/25 10:07:04, 3] lib/util.c:unix_clean_name(608)
>   unix_clean_name [president/ehylton/teefall01/fsa2C1F.tmp]
> [2001/09/25 10:07:04, 4] smbd/open.c:open_file_shared(988)
>   calling open_file with flags=0x0 flags2=0x500 mode=0777
> [2001/09/25 10:07:04, 2] smbd/open.c:open_file(583)
>   jclinedi opened file president/ehylton/teefall01/fsa2C1F.tmp read=Yes
> write=No
>  (numopen=2)
> [2001/09/25 10:07:04, 3] locking/locking_shm.c:shm_set_share_mode(456)
>   set_share_mode: Created share record for
> president/ehylton/teefall01/fsa2C1F.t
> mp (dev 17001c0 inode 71018)
> [2001/09/25 10:07:04, 3] locking/locking_shm.c:shm_set_share_mode(495)
>   set_share_mode: Created share entry for
> president/ehylton/teefall01/fsa2C1F.tm
> p with mode 0x20 pid=12858
>
> ----------------------------------------------------------------------------
> Joe Meslovich						joe at bridgewater.edu
> Associate Network/Systems Engineer	                College Box 499
> Tel: (540) 828 - 5343
>
>
>
>


------------------------------------------------------------------------
 Scott Moomaw, Network Administrator              Scott at Bridgewater.edu
 Bridgewater College, IT Center
 Bridgewater, VA  22812
 Phone (540) 828 - 8000  x5437              FAX:  (540) 828 - 5493







More information about the samba-technical mailing list