I''m running Rails 0.13.1, Apache 1.3.33 and mod_fastcgi 2.4.2. When I first start up Apache and Rails in development mode, things seem very speedy, but gradually things get slower and slower. I noticed that I have a ruby18 process which starts at around 25MB (when I first start Apache) and eventually grows to 128MB as I use my Rails application. It doesn''t seem to be a problem in production mode. Is this a known problem?
James Earl said:> I''m running Rails 0.13.1, Apache 1.3.33 and mod_fastcgi 2.4.2. > > When I first start up Apache and Rails in development mode, things > seem very speedy, but gradually things get slower and slower. I > noticed that I have a ruby18 process which starts at around 25MB (when > I first start Apache) and eventually grows to 128MB as I use my Rails > application. It doesn''t seem to be a problem in production mode. > > Is this a known problem?I have seen issues like this in development mode. What version of the fcgi gem do you have? -Robby -- /****************************************************** * Robby Russell, Owner.Developer.Geek * PLANET ARGON, Open Source Solutions & Web Hosting * Portland, Oregon | p: 503.351.4730 | f: 815.642.4068 * www.planetargon.com | www.robbyonrails.com *******************************************************/
On 7/26/05, Robby Russell <robby-/Lcn8Y7Ot69QmPsQ1CNsNQ@public.gmane.org> wrote:> > James Earl said: > > I''m running Rails 0.13.1, Apache 1.3.33 and mod_fastcgi 2.4.2. > > > > When I first start up Apache and Rails in development mode, things > > seem very speedy, but gradually things get slower and slower. I > > noticed that I have a ruby18 process which starts at around 25MB (when > > I first start Apache) and eventually grows to 128MB as I use my Rails > > application. It doesn''t seem to be a problem in production mode. > > > > Is this a known problem? > > I have seen issues like this in development mode. What version of the fcgi > gem do you have?I''m running ruby-fcgi 0.8.6
David Heinemeier Hansson
2005-Jul-26 15:59 UTC
Re: Large memory usage in development mode with fcgi
> When I first start up Apache and Rails in development mode, things > seem very speedy, but gradually things get slower and slower. I > noticed that I have a ruby18 process which starts at around 25MB (when > I first start Apache) and eventually grows to 128MB as I use my Rails > application. It doesn''t seem to be a problem in production mode. > > Is this a known problem?Yeah, and we''re working on it. The next release will include a better fix for the memory leak in development mode. -- David Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain http://www.basecamphq.com -- Online project management http://www.backpackit.com -- Personal information manager http://www.rubyonrails.com -- Web-application framework
On 7/26/05, David Heinemeier Hansson <david.heinemeier-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > When I first start up Apache and Rails in development mode, things > > seem very speedy, but gradually things get slower and slower. I > > noticed that I have a ruby18 process which starts at around 25MB (when > > I first start Apache) and eventually grows to 128MB as I use my Rails > > application. It doesn''t seem to be a problem in production mode. > > > > Is this a known problem? > > Yeah, and we''re working on it. The next release will include a better > fix for the memory leak in development mode.That''s great! Thanks for the responses.