[Samba] Files on samba share not updated quickly enough

Volker Lendecke Volker.Lendecke at SerNet.DE
Tue Mar 17 19:20:29 GMT 2009

On Tue, Mar 17, 2009 at 11:46:37AM -0700, as wrote:
> I have set up a samba share between 2 linux machines, where the server
> updates a file (latest.txt, 200bytes) at 15 Hz. My problem is that the
> client does not get the latest version of this file latest.txt when it
> reads this file every 100ms or so. It seems to be updating the file
> once a second. For instance, when I check for the contents of the file
> latest.txt every 100ms, the same contents are printed for 10 checks
> although the actual file has changed almost every time I check it. It
> seems to be a cache problem (I really don't need cache - I would like
> to turn it off if it is not a problem, but I don't know how to do it.
> Any help will be appreciated.

Have you tried "oplocks = no"?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/20090317/a484750e/attachment.bin

More information about the samba mailing list