Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

vatter69

macrumors 6502a
Original poster
Feb 4, 2013
602
593
I'm using a program to parse a logfile that puts out audio commands in real time. The program runs under Windows and i access the folder on the Mac via a mounted smb share from Windows. It all works fine, the issue is, that the Mac (tried different versions of Montery) is not updating the file in realtime.

So for example, on timestamp 00:01 a new entry is written in the logfile, in the SMB share it's visible at 00:10. Which of course defeats the purpose of the realtime log parsing.

Any ideas - or suggestions?
 
I'm just guessing, but it sounds like perhaps the SMB protocol is buffering the writes for efficiency. I looked at the man page for nsmb.conf but didn't see anything related to buffering, though, so I may be way off base.

Hopefully someone who understands the protocol better will chime in!
 
Thanks for the reply. That's my guess as well. And i went the same route - trying to see if there is any switch/config where i could stop that behaviour ;)

Maybe someone with more knowledge has a better understanding and can help.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.