Displaying 1 result from an estimated 1 matches for "mod_sec_download".
2006 Dec 21
6
Rails'' send_file, Mongrel, and *gasp* memory
...when they had cancelled the download (I
haven''t tested whether the memory would still be consumed after they
completed the download). This has become apparent recently as the app
has been used for larger files (150MB and upwards). As a fix I''ve
delegated file serving to lighttpd + mod_sec_download, not quite as
convenient but probably better in the long run anyway.
So the problem is solved, but I was just wondering why this happened in
the first place; according to the Rails docs, send_file buffers the
response in order to not tie up memory. However, this was clearly not
happening -- is thi...