Rainbows! Rack HTTP server user/dev discussion
 help / color / mirror / code / Atom feed
* Ruby 1.9 bug with Linux + large static files on 32-bit
@ 2010-06-26  2:39 Eric Wong
  0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2010-06-26  2:39 UTC (permalink / raw)
  To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw

Hi all,

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:


Eric Wong
Rainbows! mailing list - rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org
Do not quote signatures (like this one) or top post when replying

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-06-26  2:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-26  2:39 Ruby 1.9 bug with Linux + large static files on 32-bit Eric Wong

Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).