[Samba] Files on samba share not updated quickly enough

as rmctodd at gmail.com
Tue Mar 17 20:31:19 GMT 2009


> Have you tried "oplocks = no"?
>
>
>  Volker
>

Yes. I tried with oplocks = no option. There is no change in the
status. I am using this script to update the latest.txt file and I've
attached the corresponding output.

while [[ 1 ]]; do date +%H:%M:%S:%N > latest.txt; date +%H:%M:%S:%N ;
sleep 0.07s; done

13:11:14:513173232
13:11:14:588513935
13:11:14:663778637
13:11:14:739044080
13:11:14:814301658
13:11:14:889642454
13:11:14:964972251
13:11:15:040227305
13:11:15:115474815

The corresponding script and output on the client side is

while [[ 1 ]]; do echo `date +%H:%M:%S:%N`: `cat
/mnt/gnode1/latest.txt` ; sleep 0.1s; done

13:11:16:203937190: 13:11:13:005819552
13:11:16:310620831: 13:11:13:005819552
13:11:16:417328506: 13:11:14:135155742
13:11:16:524336505: 13:11:14:135155742
13:11:16:631038219: 13:11:14:135155742
13:11:16:737723614: 13:11:14:135155742
13:11:16:844418840: 13:11:14:135155742
13:11:16:951090321: 13:11:14:135155742
13:11:17:057833620: 13:11:14:135155742
13:11:17:164582597: 13:11:14:135155742
13:11:17:271157849: 13:11:14:135155742
13:11:17:377872676: 13:11:15:038496125
13:11:17:484839236: 13:11:15:038496125
13:11:17:591585854: 13:11:15:038496125
13:11:17:698156931: 13:11:15:038496125
13:11:17:804788559: 13:11:15:038496125


More information about the samba mailing list