On 02/02/2017 03:05 PM, Yann Ylavic wrote:
Hmm, Linux raises SIGBUS if an mmap is used after the underlying file has been truncated (see [1]).
See also https://bz.apache.org/bugzilla/show_bug.cgi?id=46688 .Niklas, just to clarify: you're not willfully truncating large files as they're being served, right? I *can* reproduce a SIGBUS if I start truncating files during my stress testing. But EnableMMAP's documentation calls that case out explicitly.
--Jacob
