How much memory should my rails stack be consuming?
Posted
by
Hamish
on Server Fault
See other posts from Server Fault
or by Hamish
Published on 2010-10-01T09:20:56Z
Indexed on
2011/11/26
9:57 UTC
Read the original article
Hit count: 307
I am running my own webserver on a 384MB VPS from Slicehost to serve two Ruby on Rails applications on separate Virtual Hosts. I am running Phusion Passenger with Apache2. The following is the contents of my Passenger.conf
<IfModule passenger_module>
PassengerRoot /opt/ruby-enterprise-1.8.6-20090610/lib/ruby/gems/1.8/gems/passenger-2.2.11 PassengerLogLevel 0 PassengerRuby /usr/local/bin/ruby PassengerUserSwitching on PassengerDefaultUser nobody PassengerMaxPoolSize 3 PassengerMaxInstancesPerApp 2 PassengerPoolIdleTime 300
# Ruby on Rails Options
RailsAutoDetect on RailsSpawnMethod smart
NameVirtualHost *:80
If i do a 'top' on my server I have 314MB used on average, this seems like too much? Am I mistaken and if not what possible steps can I take to reduce the Memory usage?
Thanks!
© Server Fault or respective owner