I'm running apache2/passenger with a Ruby on Rails 3 app and I have an issue with RAM usage on my VPS. Here's the passenger status

Anyone could give me some hints about how to tune the server performance? I have 2GB RAM on it.

[root@IT152 htdocs]# passenger-memory-stats

--------- Apache processes ----------
PID    PPID   VMSize   Private  Name
-------------------------------------
11162  1      30.2 MB  0.0 MB   /usr/sbin/apache2 -k start
11163  11162  20.4 MB  0.0 MB   /usr/sbin/fcgi-pm -k start
11182  11162  32.9 MB  1.3 MB   /usr/sbin/apache2 -k start
11183  11162  37.9 MB  0.2 MB   /usr/sbin/apache2 -k start
11184  11162  33.4 MB  3.3 MB   /usr/sbin/apache2 -k start
11192  11162  33.3 MB  2.9 MB   /usr/sbin/apache2 -k start
11193  11162  31.2 MB  0.3 MB   /usr/sbin/apache2 -k start
11196  11162  33.0 MB  2.6 MB   /usr/sbin/apache2 -k start
11198  11162  33.5 MB  3.3 MB   /usr/sbin/apache2 -k start
11200  11162  32.9 MB  2.4 MB   /usr/sbin/apache2 -k start
11201  11162  31.3 MB  0.4 MB   /usr/sbin/apache2 -k start
11705  11162  31.1 MB  0.5 MB   /usr/sbin/apache2 -k start
11707  11162  33.1 MB  2.9 MB   /usr/sbin/apache2 -k start
11759  11162  31.3 MB  0.4 MB   /usr/sbin/apache2 -k start
11760  11162  31.2 MB  0.3 MB   /usr/sbin/apache2 -k start
11765  11162  33.1 MB  2.8 MB   /usr/sbin/apache2 -k start
11766  11162  32.0 MB  1.4 MB   /usr/sbin/apache2 -k start
11767  11162  31.2 MB  0.3 MB   /usr/sbin/apache2 -k start
11769  11162  31.2 MB  0.3 MB   /usr/sbin/apache2 -k start
11771  11162  31.3 MB  0.2 MB   /usr/sbin/apache2 -k start
12567  11162  31.2 MB  0.4 MB   /usr/sbin/apache2 -k start
12702  11162  30.9 MB  0.4 MB   /usr/sbin/apache2 -k start
### Processes: 22
### Total private dirty RSS: 26.81 MB


-------- Nginx processes --------

### Processes: 0
### Total private dirty RSS: 0.00 MB


------ Passenger processes ------
PID    VMSize     Private   Name
---------------------------------
2670   1159.4 MB  239.2 MB  Rack: /var/www/virtual/traslochi-online.it/htdocs
11166  4.0 MB     0.0 MB    PassengerWatchdog
11169  14.9 MB    0.1 MB    PassengerHelperAgent
11171  15.5 MB    0.3 MB    Passenger spawn server
11176  9.0 MB     0.0 MB    PassengerLoggingAgent
12549  83.8 MB    67.2 MB   Rack: /var/www/virtual/traslochi-online.it/htdocs
### Processes: 6
### Total private dirty RSS: 306.80 MB
link|improve this question
1  
What problem are you having? That output lists about 330 MB used, which should be no issue on a system with 2 GB. – Shane Madden Sep 8 '11 at 18:25
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.