Closed trink closed 9 years ago
Is this still happening? If so, is rsync being used to append to the log files? If yes, then the workaround might be to use rsync --inplace
; for more details please see this thread: https://mail.mozilla.org/pipermail/heka/2014-August/000172.html
This still happens occasionally but I haven't been keeping track of when or how often. The process on cron is Python opening the log file in append mode.
I'll make a concerted effort to track this down if it happens again. In theory it should be very simple to reproduce. I've also updated heka to 0.7.2 on the box. If it doesn't happen in the next week or so I'd say it's safe to close this issue.
Confirmed still happening. I'll work on a simple test to reproduce this.
It turns out the logstreamer was failing to read every other line from the file. However, I was never able to reproduce and it started working a few weeks ago (reason unknown), so I'd say it's safe to close this.
Apparently my sacrifice of 3 chickens and a goat to the Logstreamer gods was sufficient.
The FxA basic metrics cron job appends to its log file once a day, these appends are not detected until a Heka restart. (as per @whd)