Type : System
Operating System :REDHAT and CENTOS
Ruby on rails is a open-source framework very powerful and useful to optimse the development and productivity
Mod_passenger is use to run rails application via APACHE.
Requirement :
Before the install the installation of Ryby on rails with mod_passenger you need to install some packges.
If you want to use SVN with ruby for capistrano for example, you have to install subversion
yum install subversion
If your application need to access to a mysql server, you have to install the lib to enable the mysql ruby dependency.
yum install mysql-devel
For the installation of passenger, you need to install the compilation tools like GCC and the devel code for http and apr-util
yum install gcc gcc-c++ libstdc++ httpd-devel apr-util-devel
Installation of Ruby
On redhat or centos you have the base for the installation of ruby but the version of ruby is limit to 1.8.5 for the moment.
yum install ruby ruby-devel ruby-libs ruby-irb ruby-rdoc subversion-ruby
Installation of GEMS
I recommend to use the archive version instead of the rpm. You can found some rpm for rubygems and dependencies but if you use it you have to follow it.
wget http://rubyforge.org/frs/download.php/60719/rubygems-1.3.5.zip
ls -al
unzip rubygems-1.3.5.zip
cd rubygems-1.3.5
ls -al
ruby setup.rb
gem update
gem
gem help command
gem update --system
cd ..
rm -Rf rubygems-1.3.5
Installation of dependencies
- Base dependencies
The installation of rails could take a long time and a lot of ressources
gem install rails --include-dependencies --no-rdoc --no-ri
gem install capistrano --include-dependencies --no-rdoc --no-ri
gem install mongrel --include-dependencies --no-rdoc --no-ri
- Mysql dependency
For mysql, if you have the RUBY version > at 1.8.6, you can install this dependence by gems like that :
gem install mysql -- --with-mysql-config=/usr/bin/mysql_config
If you have ruby version >1.8.6 use this way to install mysql dependency
rpm -i ftp://mirror.switch.ch/pool/1/mirror/epel/5/x86_64/ruby-mysql-2.7.3-1.el5.x86_64.rpm
Installation of passenger
For the installation of passenger, you can use the GEM install, but if you want to use a RPM Package use this SRPMS
gem install passenger
Installation of mod_passenger
passenger-install-apache2-module
Welcome to the Phusion Passenger Apache 2 module installer, v2.2.5.
This installer will guide you through the entire installation process. It
shouldn't take more than 3 minutes in total.
Here's what you can expect from the installation process:
1. The Apache 2 module will be installed for you.
2. You'll learn how to configure Apache.
3. You'll learn how to deploy a Ruby on Rails application.
Don't worry if anything goes wrong. This installer will advise you on how to
solve any problems.
Press Enter to continue, or Ctrl-C to abort.
Now you have to press 1 to install and compile the mod_passenger
--------------------------------------------
Checking for required software...
* GNU C++ compiler... found at /usr/bin/g++
* Ruby development headers... found
* OpenSSL support for Ruby... found
* RubyGems... found
* Rake... found at /usr/bin/rake
* Apache 2... found at /usr/sbin/httpd
* Apache 2 development headers... found at /usr/sbin/apxs
* fastthread... found
* Apache Portable Runtime (APR) development headers... found at /usr/bin/apr-1-config
* Apache Portable Runtime Utility (APU) development headers... found at /usr/bin/apu-1-config
--------------------------------------------
Compiling and installing Apache 2 module...
cd /usr/lib64/ruby/gems/1.8/gems/passenger-2.2.5
/usr/bin/ruby -S /usr/bin/rake clean apache2
# /usr/bin/ruby -S /usr/bin/rake clean apache2
(in /usr/lib64/ruby/gems/1.8/gems/passenger-2.2.5)
rm -rf ext/apache2/libboost_oxt.a ext/apache2/libboost_oxt
rm -rf ext/apache2/libpassenger_common.a ext/apache2/ApplicationPoolServerExecutable ext/apache2/libpassenger_common
rm -rf ext/apache2/Configuration.o ext/apache2/Bucket.o ext/apache2/Hooks.o ext/apache2/mod_passenger.o ext/apache2/mod_passenger.so
rm -rf ext/nginx/libboost_oxt.a ext/nginx/libboost_oxt
rm -rf ext/nginx/libpassenger_common.a ext/nginx/libpassenger_common
rm -rf ext/nginx/HelperServer
rm -rf test/libboost_oxt.a test/libboost_oxt
rm -rf test/libpassenger_common.a test/ApplicationPoolServerExecutable test/libpassenger_common
rm -rf test/oxt/oxt_test_main test/oxt/*.o test/CxxTests test/*.o
rm -r pkg
cd ext/phusion_passenger && make clean
rm -f ext/phusion_passenger/Makefile
mkdir -p ext/apache2/libpassenger_common
g++ -Iext -Iext/common -fPIC -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-1 -I/usr/include/apr-1 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing -I/usr/include/httpd -D_REENTRANT -I/usr/local/include -Wall -g -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -o ext/apache2/libpassenger_common/Utils.o -c ext/common/Utils.cpp
g++ -Iext -Iext/common -fPIC -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-1 -I/usr/include/apr-1 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing -I/usr/include/httpd -D_REENTRANT -I/usr/local/include -Wall -g -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -o ext/apache2/libpassenger_common/Logging.o -c ext/common/Logging.cpp
g++ -Iext -Iext/common -fPIC -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-1 -I/usr/include/apr-1 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing -I/usr/include/httpd -D_REENTRANT -I/usr/local/include -Wall -g -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -o ext/apache2/libpassenger_common/SystemTime.o -c ext/common/SystemTime.cpp
g++ -Iext -Iext/common -fPIC -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-1 -I/usr/include/apr-1 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing -I/usr/include/httpd -D_REENTRANT -I/usr/local/include -Wall -g -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -o ext/apache2/libpassenger_common/CachedFileStat.o -c ext/common/CachedFileStat.cpp
g++ -Iext -Iext/common -fPIC -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-1 -I/usr/include/apr-1 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing -I/usr/include/httpd -D_REENTRANT -I/usr/local/include -Wall -g -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -o ext/apache2/libpassenger_common/Base64.o -c ext/common/Base64.cpp
mkdir -p ext/apache2/libpassenger_common
rm -rf ext/apache2/libpassenger_common.a
ar cru ext/apache2/libpassenger_common.a ext/apache2/libpassenger_common/*.o
ranlib ext/apache2/libpassenger_common.a
mkdir -p ext/apache2/libboost_oxt/boost
g++ -Iext -fPIC -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-1 -I/usr/include/apr-1 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing -I/usr/include/httpd -D_REENTRANT -I/usr/local/include -Wall -g -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -o ext/apache2/libboost_oxt/boost/exceptions.o -c ext/boost/src/pthread/exceptions.cpp
g++ -Iext -fPIC -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-1 -I/usr/include/apr-1 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing -I/usr/include/httpd -D_REENTRANT -I/usr/local/include -Wall -g -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -o ext/apache2/libboost_oxt/boost/thread.o -c ext/boost/src/pthread/thread.cpp
g++ -Iext -fPIC -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-1 -I/usr/include/apr-1 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing -I/usr/include/httpd -D_REENTRANT -I/usr/local/include -Wall -g -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -o ext/apache2/libboost_oxt/boost/once.o -c ext/boost/src/pthread/once.cpp
mkdir -p ext/apache2/libboost_oxt/oxt
g++ -Iext -fPIC -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-1 -I/usr/include/apr-1 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing -I/usr/include/httpd -D_REENTRANT -I/usr/local/include -Wall -g -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -o ext/apache2/libboost_oxt/oxt/system_calls.o -c ext/oxt/system_calls.cpp
g++ -Iext -fPIC -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-1 -I/usr/include/apr-1 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing -I/usr/include/httpd -D_REENTRANT -I/usr/local/include -Wall -g -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -o ext/apache2/libboost_oxt/oxt/tracable_exception.o -c ext/oxt/tracable_exception.cpp
g++ -Iext -fPIC -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-1 -I/usr/include/apr-1 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing -I/usr/include/httpd -D_REENTRANT -I/usr/local/include -Wall -g -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -o ext/apache2/libboost_oxt/oxt/backtrace.o -c ext/oxt/backtrace.cpp
g++ -Iext -fPIC -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-1 -I/usr/include/apr-1 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing -I/usr/include/httpd -D_REENTRANT -I/usr/local/include -Wall -g -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -o ext/apache2/libboost_oxt/oxt/thread.o -c ext/oxt/thread.cpp
mkdir -p ext/apache2/libboost_oxt/boost ext/apache2/libboost_oxt/oxt
rm -rf ext/apache2/libboost_oxt.a
ar cru ext/apache2/libboost_oxt.a ext/apache2/libboost_oxt/boost/*.o ext/apache2/libboost_oxt/oxt/*.o
ranlib ext/apache2/libboost_oxt.a
g++ ext/common/ApplicationPoolServerExecutable.cpp -o ext/apache2/ApplicationPoolServerExecutable -Iext -Iext/common -fPIC -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-1 -I/usr/include/apr-1 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing -I/usr/include/httpd -D_REENTRANT -I/usr/local/include -Wall -g -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS ext/apache2/libpassenger_common.a ext/apache2/libboost_oxt.a -lpthread
gcc -Iext -Iext/common -fPIC -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-1 -I/usr/include/apr-1 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing -I/usr/include/httpd -D_REENTRANT -I/usr/local/include -Wall -g -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -o ext/apache2/mod_passenger.o -c ext/apache2/mod_passenger.c
g++ -Iext -Iext/common -fPIC -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-1 -I/usr/include/apr-1 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing -I/usr/include/httpd -D_REENTRANT -I/usr/local/include -Wall -g -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -o ext/apache2/Configuration.o -c ext/apache2/Configuration.cpp
g++ -Iext -Iext/common -fPIC -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-1 -I/usr/include/apr-1 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing -I/usr/include/httpd -D_REENTRANT -I/usr/local/include -Wall -g -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -o ext/apache2/Bucket.o -c ext/apache2/Bucket.cpp
g++ -Iext -Iext/common -fPIC -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-1 -I/usr/include/apr-1 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing -I/usr/include/httpd -D_REENTRANT -I/usr/local/include -Wall -g -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -o ext/apache2/Hooks.o -c ext/apache2/Hooks.cpp
g++ -shared ext/apache2/Configuration.o ext/apache2/Bucket.o ext/apache2/Hooks.o ext/apache2/mod_passenger.o -fPIC -o ext/apache2/mod_passenger.so -fPIC -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-1 -I/usr/include/apr-1 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing -I/usr/include/httpd -D_REENTRANT -I/usr/local/include -Wall -g -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS ext/apache2/libpassenger_common.a ext/apache2/libboost_oxt.a -fPIC -lapr-1 -laprutil-1 -lpthread
cd ext/phusion_passenger && /usr/bin/ruby extconf.rb
creating Makefile
cd ext/phusion_passenger && make
gcc -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I/usr/lib64/ruby/1.8/x86_64-linux -I. -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -fno-strict-aliasing -fPIC -c native_support.c
gcc -shared -L"/usr/lib64" -o native_support.so native_support.o -lruby
--------------------------------------------
The Apache 2 module was successfully installed.
Please edit your Apache configuration file, and add these lines:
LoadModule passenger_module /usr/lib64/ruby/gems/1.8/gems/passenger-2.2.5/ext/apache2/mod_passenger.so
PassengerRoot /usr/lib64/ruby/gems/1.8/gems/passenger-2.2.5
PassengerRuby /usr/bin/ruby
After you restart Apache, you are ready to deploy any number of Ruby on Rails
applications on Apache, without any further Ruby on Rails-specific
configuration!
Press ENTER to continue.
--------------------------------------------
Deploying a Ruby on Rails application: an example
Suppose you have a Ruby on Rails application in /somewhere. Add a virtual host
to your Apache configuration file, and set its DocumentRoot to
/somewhere/public, like this:
<VirtualHost *:80>
ServerName www.yourhost.com
DocumentRoot /somewhere/public # <-- be sure to point to 'public'!
</VirtualHost>
And that's it! You may also want to check the Users Guide for security and
optimization tips and other useful information:
/usr/lib64/ruby/gems/1.8/gems/passenger-2.2.5/doc/Users guide Apache.html
Enjoy Phusion Passenger, a product of Phusion (www.phusion.nl) :-)
http://www.modrails.com/
Phusion Passenger is a trademark of Hongli Lai & Ninh Bui.
Configuration of mod_passenger with apache
- Config apache
Configure apache to enable the module and the application
vim /etc/httpd/conf.d/mod_passenger.conf
LoadModule passenger_module /usr/lib64/ruby/gems/1.8/gems/passenger-2.2.5/ext/apache2/mod_passenger.so
PassengerRoot /usr/lib64/ruby/gems/1.8/gems/passenger-2.2.5
PassengerRuby /usr/bin/ruby
vim /etc/httpd/conf.d/vhost.conf
NameVirtualHost *:80
#Section to define the rails application on apache
<VirtualHost *:80>
ServerName apphostname
DocumentRoot /var/www/appfolder/current/public
ErrorLog /var/log/httpd/app-error.log
RailsEnv development
<Directory /var/www/appfolder/>
Options Indexes +FollowSymLinks
AllowOverride None
Order deny,allow
allow from all
</Directory>
</VirtualHost>
#Section to imit the access on server-status and server-info
<VirtualHost *:80>
ServerName hostnameofthe server
<Location /server-info>
SetHandler server-status
Order deny,allow
Deny from all
allow from youripsite
</Location>
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
allow from youripsite
</Location>
</VirtualHost>
- Mod_passenger parametters :
- Module Name: mod_passenger.c
- Content handlers: yes
- Configuration Phase Participation: Create Directory Config, Merge Directory Configs, Create Server Config, Merge Server Configs
- Request Phase Participation: Map to Storage, Fixups, Content Handlers
- Module Directives:
- PassengerRoot - The Passenger root folder.
- PassengerLogLevel - Passenger log verbosity.
- PassengerRuby - The Ruby interpreter to use.
- PassengerMaxPoolSize - The maximum number of simultaneously alive application instances.
- PassengerMaxInstancesPerApp - The maximum number of simultaneously alive application instances a single application may occupy.
- PassengerPoolIdleTime - The maximum number of seconds that an application may be idle before it gets terminated.
- PassengerUseGlobalQueue - Enable or disable Passenger's global queuing mode mode.
- PassengerUserSwitching - Whether to enable user switching support.
- PassengerDefaultUser - The user that Rails/Rack applications must run as when user switching fails or is disabled.
- PassengerTempDir - The temp directory that Passenger should use.
- PassengerMaxRequests - The maximum number of requests that an application instance may process.
- PassengerHighPerformance - Enable or disable Passenger's high performance mode.
- PassengerEnabled - Enable or disable Phusion Passenger.
- PassengerStatThrottleRate - Limit the number of stat calls to once per given seconds.
- PassengerRestartDir - The directory in which Passenger should look for restart.txt.
- PassengerAppRoot - The application's root directory.
- PassengerUploadBufferDir - The directory in which upload buffer files should be placed.
- PassengerResolveSymlinksInDocumentRoot - Whether to resolve symlinks in the DocumentRoot path
- PassengerAllowEncodedSlashes - Whether to support encoded slashes in the URL
- RailsBaseURI - Reserve the given URI to a Rails application.
- RailsAutoDetect - Whether auto-detection of Ruby on Rails applications should be enabled.
- RailsAllowModRewrite - Whether custom mod_rewrite rules should be allowed.
- RailsEnv - The environment under which a Rails app must run.
- RailsSpawnMethod - The spawn method to use.
- RailsFrameworkSpawnerIdleTime - The maximum number of seconds that a framework spawner may be idle before it is shutdown.
- RailsAppSpawnerIdleTime - The maximum number of seconds that an application spawner may be idle before it is shutdown.
- RackBaseURI - Reserve the given URI to a Rack application.
- RackAutoDetect - Whether auto-detection of Rack applications should be enabled.
- RackEnv - The environment under which a Rack app must run.
- PassengerWSGIAutoDetect - Whether auto-detection of WSGI applications should be enabled.
- RailsRuby - Deprecated option.
- RailsMaxPoolSize - Deprecated option.
- RailsMaxInstancesPerApp - Deprecated option
- RailsPoolIdleTime - Deprecated option.
- RailsUserSwitching - Deprecated option.
- RailsDefaultUser - Deprecated option.
- RailsSpawnServer - Obsolete option.
-
- 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
#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
RELATED ARTICLES
Installing ruby on rails with apache 2 and passenger on FreeBSD
















































