GenerationIP

Just for you

  • Increase font size
  • Default font size
  • Decrease font size
Home Documentation System Documentation Howto install ruby on rails with mod_passenger - Example & Tips and Tricks

Howto install ruby on rails with mod_passenger - Example & Tips and Tricks

E-mail Print PDF
User Rating: / 2
PoorBest 
Article Index
Howto install ruby on rails with mod_passenger
Installation of GEMS & Dependencies
Passenger & Mod_passenger installation
Configuration of Apache & mod_passenger
Example & Tips and Tricks
All Pages

Create a simple rails application

rails testapp

Tips and Tricks

Passenger Command Line :

#passenger-status
----------- General information -----------
max      = 3
count    = 1
active   = 0
inactive = 1
Waiting on global queue: 0

----------- Domains -----------
/var/www/www.website.com/current:
PID: 12568   Sessions: 0    Processed: 3       Uptime: 7m 14s

This command line provide you the status on passenger.

#passenger-memory-stats
-------------- Apache processes --------------
PID    PPID  Threads  VMSize    Private  Name
----------------------------------------------
7397   1     1        207.7 MB  0.2 MB   /usr/sbin/httpd
11723  7397  1        207.7 MB  0.3 MB   /usr/sbin/httpd
11724  7397  1        207.7 MB  0.3 MB   /usr/sbin/httpd
11725  7397  1        207.7 MB  0.3 MB   /usr/sbin/httpd
11726  7397  1        207.7 MB  0.3 MB   /usr/sbin/httpd
11727  7397  1        207.7 MB  0.3 MB   /usr/sbin/httpd
11728  7397  1        207.7 MB  0.3 MB   /usr/sbin/httpd
11729  7397  1        207.7 MB  0.3 MB   /usr/sbin/httpd
11730  7397  1        207.7 MB  0.3 MB   /usr/sbin/httpd
### Processes: 9
### Total private dirty RSS: 2.53 MB

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

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

--------- Passenger processes ----------
PID    Threads  VMSize    Private  Name
----------------------------------------
11718  9        16.6 MB   0.3 MB   /usr/lib64/ruby/gems/1.8/gems/passenger-2.2.5/ext/apache2/ApplicationPoolServerExecutable 9 /usr/lib64/ruby/gems/1.8/gems/passenger-2.2.5/bin/passenger-spawn-server  /usr/bin/ruby  /tmp/passenger.7397
11719  2        49.4 MB   7.9 MB   Passenger spawn server
12566  1        200.6 MB  51.5 MB  Passenger ApplicationSpawner: /var/www/www.website.com/current
12568  1        204.4 MB  53.3 MB  Rails: /var/www/
www.website.com/current
### Processes: 4
### Total private dirty RSS: 113.02 MB

This command line give you the memory status for each passenger process.

RELATED ARTICLES

Installing ruby on rails with apache 2 and passenger on FreeBSD



Last Updated on Saturday, 30 January 2010 22:43  

Share this article:

Add to: Mr. Wong Add to: Webnews Add to: Icio Add to: Oneview Add to: Kledy.de Social Bookmarking Add to:  FAV!T Social Bookmarking Add to: Favoriten.de Add to: Seekxl Add to: Social Bookmark Portal Add to: BoniTrust Add to: Power-Oldie Add to: Bookmarks.cc Add to: Newskick Add to: Newsider Add to: Linksilo Add to: Readster Add to: Yigg Add to: Linkarena Add to: Digg Add to: Del.icoi.us Add to: Reddit Add to: Jumptags Add to: Upchuckr Add to: Simpy Add to: StumbleUpon Add to: Slashdot Add to: Netscape Add to: Furl Add to: Yahoo Add to: Blogmarks Add to: Diigo Add to: Technorati Add to: Newsvine Add to: Blinkbits Add to: Ma.Gnolia Add to: Smarking Add to: Netvouz Add to: Folkd Add to: Spurl Add to: Google Add to: Blinklist Information