[Samba] Caching
Jim Morris
jim at morris-world.com
Wed Dec 11 18:08:00 GMT 2002
On Wed, 2002-12-11 at 11:28, KaZeR wrote:
> thanks for your reply :)
Unfortunately - I didn't know I had sent anything! I had a inadvertent
key sequence while typing, and closed the window, and ultimately had to
kill the mail program. So what I sent was incomplete....
> ok, so have you got an idea to solution this problem? this problem is
> concerning a server sharing a front office application with three clients
> (under Win). The caching of files makes client having incompletes datas..
This sounds like the CLIENTS are caching the data, rather than the
server.
I would try an initial test of disapling OPLOCKS on the share in
question:
[sharename]
oplocks = no
This may impact overall performance, but will at least tell you if
oplocks by the clients are the issue. If you determine oplocks to be
the issue, you can disable them on specific files or filename patterns.
You don't say what application is involved here, or what OS the clients
are running. File locking options and share modes can also be a factor,
but in any case, it all depends on what type of application you are
using, and you have not provided that critical detail. Is this a
database application, using shared files? If so, what database is used?
Access? dBASE (.DBF files), etc....
You could try (globally or on the share):
locking = yes
strict locking = yes
share modes = yes
dos filetime resolution = yes
Good luck!
--
/-----------------------------------------------
| Jim Morris | Email: Jim at Morris-World.com
| | AIM: JFM2001
\-----------------------------------------------
More information about the samba
mailing list