Open mschout opened 6 years ago
just to emphasize: I'm talking about a mounted NFS drive. (so not local disk)
Five years later, this smells like a problem we're having.
Edit: apparently it only happens on the live box, and the file system being written is "local" whatever that means in the cloud.
@davehodg sadly, the way Log::Dispatch::FileRotate
works requires a lot of locking. If it is an option, maybe consider an alternative like Log::Dispatch::File::Stamped
which does not require any locks whatsoever and the code is very simple.
I realize this is not a perfect answer, and it would be nice if FileRotate
worked perfectly. But this particular bug is rather difficult to diagnose without a reliable way to reproduce it and possibility of broken lock semantics on differnt filesystems and environments :(
This is academic as I no longer work there. And no, it's not reproducible, it just turns up in logs in the middle of the night. Your suspicion of NFS is probably a good one. Feel free to ignore me now :)
https://rt.cpan.org/Ticket/Display.html?id=41065