From: Robert Wagner Date: 2003-03-21T05:48:11+09:00 Subject: Re: eRuby/mod_ruby hosting proposal At 05:39 21.03.03 +0900, you wrote: >On Thu, 20 Mar 2003 06:14:53 -0800, George Jempty wrote: > > > I successfully installed mod_ruby on a virtual private server free > > trial yesterday, and I'm wondering.... > > > > Would there be any interest in "nonProfit" eRuby/mod_ruby webHosting? > > I can get 2 Gig storage and 100 Gig transfer for $40/month. I figure > > this could support a couple dozen accounts at 50MB storage and 3 Gig > > transfer, your domain or my subdomain, at a charge of $5 per quarter, > > just to cover expenses. > >I think this would be a great service. I'm curious as to how you'd handle >the needs for web server restarts ... especially when this sounds like >it would be more of a developmental server. I've found that, when developing >applications, I have to restart the web server more often when creating >mod_ruby apps than I have with others (mod_python, php). > >Good luck! >--frank i'm also very interested how to deal with those problems: [mod_ruby faq] Why are changes to my library not reflected in the server? mod_ruby scripts share the Ruby interpreter. So a library is loaded once, require does not load the library later. Please restart Apache like this: # apachectl restart Or use load instead of require for debugging. apachectl restart causes memory leaks. Currently, Ruby API does not provide a way to free memory that has been allocated by the interpreter. So mod_ruby can't free memory on apachectl graceful. Please stop and start Apache for the time being. # apachectl restart --robert