------ art_107481_6615089.1183579798334 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 7/3/07, Zoltan Dezso <maildeliverysubs / freemail.hu> wrote: > > Hi everyone, > > We are running apache with eruby to server .rhtml files. Every apache > process loads eruby, thus every access makes a huge dent on memory. We > have tried using mod_ruby, and while memory usage got better, we had > strange errors and performance didn't increase either. There is no > documentation on the web (i don't regard a non-functioning forum and a > jotted down bunch of notes from modruby.net documentation) and quite > frankly noone seems too eager to share information about this. > > Our config is > AddType application/x-httpd-eruby .rhtml > Action application/x-httpd-eruby /cgi-bin/eruby > > Tried mod_ruby with this too > RubyRequire apache/eruby-run > RubyRequire apache/erb-run > RubyRequire eruby > <Files *.rhtml> > SetHandler ruby-object > RubyHandler Apache::ERubyRun.instance > </Files> You don't say anything about the style of your application itself. Is it the kind of forms-driven site with a newly-developed domain model that is generally a good fit for Rails? Apart from a Japanese-language issue, you don't say what has guided your choice of a framework (or no framework). If you have really decided to generate your dynamic content from Ruby unassisted by a framework, then there are several high-performance deployment options for you to consider. I'd look at Kirk Haines's Swiftiply. ------ art_107481_6615089.1183579798334--