Before ----- Passenger processes ----- PID VMSize Private Name ------------------------------- 14530 16.6 MB 0.5 MB /opt/ruby-enterprise-1.8.7-20090928/lib/ruby/gems/1.8/gems/passenger-2.2.7/ext/apache2/ApplicationPoolServerExecutable 0 /opt/ruby-enterprise-1.8.7-20090928/lib/ruby/gems/1.8/gems/passenger-2.2.7/bin/passenger-spawn-server /opt/ruby-enterprise-1.8.7-20090928/bin/ruby /tmp/passenger.14523 14531 100.8 MB 8.8 MB Passenger spawn server 22565 191.2 MB 7.7 MB Passenger ApplicationSpawner: /services/apache/example.com 22567 193.3 MB 7.8 MB Rails: /services/apache/example.com ### Processes: 4 ### Total private dirty RSS: 24.75 MB
after 1 picture ----- Passenger processes ----- PID VMSize Private Name ------------------------------- 14530 16.6 MB 0.5 MB /opt/ruby-enterprise-1.8.7-20090928/lib/ruby/gems/1.8/gems/passenger-2.2.7/ext/apache2/ApplicationPoolServerExecutable 0 /opt/ruby-enterprise-1.8.7-20090928/lib/ruby/gems/1.8/gems/passenger-2.2.7/bin/passenger-spawn-server /opt/ruby-enterprise-1.8.7-20090928/bin/ruby /tmp/passenger.14523 14531 100.8 MB 8.8 MB Passenger spawn server 22565 191.2 MB 17.9 MB Passenger ApplicationSpawner: /services/apache/example.com 22567 286.0 MB 82.9 MB Rails: /services/apache/example.com ### Processes: 4 ### Total private dirty RSS: 110.11 MB picture 2 ----- Passenger processes ------ PID VMSize Private Name -------------------------------- 14530 16.6 MB 0.5 MB /opt/ruby-enterprise-1.8.7-20090928/lib/ruby/gems/1.8/gems/passenger-2.2.7/ext/apache2/ApplicationPoolServerExecutable 0 /opt/ruby-enterprise-1.8.7-20090928/lib/ruby/gems/1.8/gems/passenger-2.2.7/bin/passenger-spawn-server /opt/ruby-enterprise-1.8.7-20090928/bin/ruby /tmp/passenger.14523 14531 100.8 MB 8.8 MB Passenger spawn server 22565 191.2 MB 23.3 MB Passenger ApplicationSpawner: /services/apache/example.com 22567 317.6 MB 120.0 MB Rails: /services/apache/example.com ### Processes: 4 ### Total private dirty RSS: 152.59 MB Best regards, Trausti On Tue, Dec 1, 2009 at 11:31 AM, Peter De Berdt <peter.de.be...@pandora.be> wrote: > > On 01 Dec 2009, at 10:39, Trausti Thor Johannsson wrote: > > Thats all, I just updated passenger to 2.2.7 but > > just by uploading one picture, private memory grows from 10.5 MB to > 81.5 (with picture size 1.5 MB) and with next picture 118 MB > > I never ever use find(:all). This is beyond ridiculous. There has to > be something I am doing wrong. > > What do your passenger-memory-stats show if I may ask (before and after > uploading)? > > Best regards > > Peter De Berdt > > -- > > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-t...@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.