Ruby 1.9 bug with Linux + large static files on 32-bit
normalperson at yhbt.net
Fri Jun 25 22:39:17 EDT 2010
Since Rainbows! 0.92.0, static file serving performance was improved
under Linux (and possibly Solaris) under 1.9 by using IO.copy_stream.
Unfortunately, I've noticed large files (>4G) can get truncated.
(2-4G files just end up falling back to a read+write loop in C).
There's a trivial patch for the issue here:
More information about the rainbows-talk