This project is archived and is in readonly mode.
dont remove cgi support + reasons
Reported by nand | April 27th, 2009 @ 01:43 PM | in 2.x
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.
Comments and changes to this ticket
-
nand April 27th, 2009 @ 03:08 PM
mod_rails does not support setuid to allow unix permissions to be respected. Also it wont fix problem with 60MB instance size.
-
Frederick Cheung May 7th, 2009 @ 11:39 PM
- State changed from new to duplicate
duplicate of #2434
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>