Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

dont remove cgi support + reasons

#2568

Please dont remove cgi support from rails or merb. CGI is considered slow, however when using modern operating system that caches disc reads in memory (eg. linux) its not really slow. It allows sharing of some resurces between aplications while not comprimizing security. Rails has huge memory footprint - >60MB, while for example PHP has 2,5MB memory foorprint. This makes almost impossible to deploy effeciently rails in shared enviroments for multiple users. CGI is one way to somehow deal with this flaws. And really it is not that slow as some ppl tend to belive if you use memory cacheing in os. Rails 2.3.2 does not work with cgi anymore

/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/cgi_process.rb:22:in __send__': You have a nil object when you didn't expect it! (NoMethodError) [Mon Apr 27 14:26:24 2009] [error] [client 77.253.108.34] The error occurred while evaluating nil.env_table

While 2.2.2 has no problems with it.

Reported by nand · April 27th, 2009 @ 01:43 PM

State: duplicate
Milestone: 2.x
Assigned to: nobody
Importance: none

Activity

  1. Max Lapshin
  2. nand
    nand

    mod_rails does not support setuid to allow unix permissions to be respected. Also it wont fix problem with 60MB instance size.

    April 27th, 2009 @ 03:08 PM

  3. Frederick Cheung
    Frederick Cheung
    • State changed from new to duplicate

    May 7th, 2009 @ 11:39 PM