I''m running the latest stable versions of ruby, rails, lighttpd, and fastcgi under freebsd 5.4. Over time the fastcgi processes grow and grow even though they are just running the same controllers and views over and over. THe data being pulled from the database is miniscule, just testing data (1-5 rows per query). If I startup lighttpd and fastcgi then click on every link in my application so that all the views and controllers are in memory, fastcgi uses about 30 mb. about 16 hours later it''s up to 80. With certain actions, like AJAX calls, I can be running top and watch the processes grow in size after every request. Any ideas on where to look first? Chris
snacktime wrote:>I''m running the latest stable versions of ruby, rails, lighttpd, and >fastcgi under freebsd 5.4. Over time the fastcgi processes grow and >grow even though they are just running the same controllers and views >over and over. THe data being pulled from the database is miniscule, >just testing data (1-5 rows per query). > >If I startup lighttpd and fastcgi then click on every link in my >application so that all the views and controllers are in memory, >fastcgi uses about 30 mb. about 16 hours later it''s up to 80. > >With certain actions, like AJAX calls, I can be running top and watch >the processes grow in size after every request. > >Any ideas on where to look first? > >Chris >_______________________________________________ >Rails mailing list >Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >http://lists.rubyonrails.org/mailman/listinfo/rails > > > > >Are you running in development mode? It has a memory leak. Try production mode. Jack