[Mongrel] [WARNING] don't use ruby-sendfile
mongrel at philip.pjkh.com
Thu Aug 3 12:34:41 EDT 2006
> Okay. So send file is bad and has been removed. Correct me if Iam wrong ,
> but if you have apache installed and proxying through it, you dont really
> need sendfile . is that assumption correct?
Depends on how you're proxying I think... If you pass everything to
mongrel, well, everything will get handled by mongrel. If you hadd those
re-write rules that check file existence thatn probably not as important.
We're running 0.3.13 on centos with sendfile doing a *lot* of traffic, and
not seeing any issues... although I wouldn't be surprised if sendfile was
never being activated as we've got those rewrite rules in place for
> On 8/3/06, Coda Hale <coda.hale at gmail.com> wrote:
>> On 8/3/06, Zed Shaw <zedshaw at zedshaw.com> wrote:
>> > > You may want to nudge Coda to update his post  - I'd never heard of
>> > > sendfile until I read that, and it's often referred to in the
>> > > community.
>> > >
>> > > 
>> > Thanks, contacted him. That seems to be the source.
>> Sorry for the problems--I figured it was a decent CYA maneuver if my
>> proxying config let stuff through (which it did, at first), but I
>> haven't experienced any problems with it. Either way, my post has been
>> updated with the current recommendation to stay the hell away from
>> Thanks for the heads-up, Zed.
>> Coda Hale
>> Mongrel-users mailing list
>> Mongrel-users at rubyforge.org
More information about the Mongrel-users