I'm running a fairly big job (~11 hours on a decent machine). It's crapped out on me after 7 hours one time and 5 hours another. It's writing formatted data to a big giant file (should be ~4 gigs when done)
I redirected output (not the data stuff...just some program messages) and error to a log file. Now, this log file should probably only be in the kb when complete. Since computers seem to write to files in chunks that size or larger (sometimes 32 kb, sometimes more) I don't expect the log file to contain anything until run is complete. Or, if it conks out unexpectedly, it should finish writing whatever was in buffer to the file and I should be able to read what the error was.
Unfortunately, it didn't do this. The log file is empty. The data file finishes in the middle of a line...which means to me that it's the end of last complete chunk being written from buffer, not the actual break point.
Other than the root user killing my process or some idiot turning off the machine (it's in another office, and I'm running this **** in background remotely) what the **** could be causing this?
I redirected output (not the data stuff...just some program messages) and error to a log file. Now, this log file should probably only be in the kb when complete. Since computers seem to write to files in chunks that size or larger (sometimes 32 kb, sometimes more) I don't expect the log file to contain anything until run is complete. Or, if it conks out unexpectedly, it should finish writing whatever was in buffer to the file and I should be able to read what the error was.
Unfortunately, it didn't do this. The log file is empty. The data file finishes in the middle of a line...which means to me that it's the end of last complete chunk being written from buffer, not the actual break point.
Other than the root user killing my process or some idiot turning off the machine (it's in another office, and I'm running this **** in background remotely) what the **** could be causing this?
Comment