Hi Beshoy,
As the computer is always running, we don’t really have a reason for disconnecting the server. I will try closing the connection and seeing what happens; maybe some funny business is causing this issue .
I mostly asked as a sanity check. Also, while there’s no reason that you shouldn’t be able to run MWServer for that long, I’d never seen it done before, hence my interest.
In any case, I don’t think this issue could be related to the length of time MWServer has been running, because you just reproduced it with the latest night build. One question: Did you observe the data loss on the first run after launching MWServer? Or did it only begin after several runs?
I have also attached the output of the terminal command.
Thanks for that. The only thing that catches my eye there is that your iMac is running macOS 10.14 (aka 10.14.0) rather than 10.14.4. Apple’s scant release notes don’t note any bug fixes that seem relevant to this problem. However, just to cover all the bases, could you try upgrading to 10.14.4?
Also, have you observed the data loss problem on any other machines?
On my end, I tried running a long data collection on my Mac Pro, using a slightly-modified version of the RSVPDemo experiment that ships with MWorks. I ran for over an hour, ultimately generating over 800MB of data. During the run, the MWK2 file steadily grew in size, and later analysis didn’t reveal any missing events. This is only one data point, of course, but it at least establishes that things work as intended some of the time.
As a next step, I’m going to prepare a special build of MWorks that does detailed logging of what’s happening in the data-file writing code. I’ll then run this on all of my test machines, and I’ll ask you to install and run it on your iMac. Hopefully this will provide some insight in to the issue.
Thanks,
Chris