タグ

Railsとapacheに関するnorisuke3のブックマーク (1)

  • mod_xsendfile

    railsでmongrelのメモリ使用量がすごいことになる問題(*1)について調べてる過程で、「send_fileじゃなくてx-sendfileを使え」という話を見つけたので入れてみました。 mongrelでsend_fileは特に問題があるようです。これで直ればいいなぁ。 If you use Mongrel, you’ll quickly notice that the :stream option doesn’t seem to make any difference in memory usage and your mongrel process stubbornly doesn’t want to let go of that memory once the file has been sent. This is a very, very bad thing. (Send fil

    mod_xsendfile
  • 1