Hi I have a rails Rails 3.2.22.5, ruby ruby 2.2.0p0 application with passenger 5. I run my application with apache2.
When I make the login in the application, many passenger process start and the cpu go to 95%. When I make nothing in the application but I am still logged the cpu is 95%…I don’t know how this is possible.
I use a rvm.
So if I use the command
/usr/bin/passenger-config --ruby-command
I have that my path is
Command: /usr/local/rvm/gems/ruby-2.2.0/wrappers/ruby
Version: ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-linux]
To use in Apache: PassengerRuby /usr/local/rvm/gems/ruby-2.2.0/wrappers/ruby
To use in Nginx : passenger_ruby /usr/local/rvm/gems/ruby-2.2.0/wrappers/ruby
To use with Standalone: /usr/local/rvm/gems/ruby-2.2.0/wrappers/ruby /usr/bin/passenger start
The following Ruby interpreter was found first in $PATH:
Command: /usr/bin/ruby
Version: ruby 2.3.0p0 (2015-12-25) [x86_64-linux-gnu]
To use in Apache: PassengerRuby /usr/bin/ruby
To use in Nginx : passenger_ruby /usr/bin/ruby
To use with Standalone: /usr/bin/ruby /usr/bin/passenger start
So in my apache2 sites-enabled
PassengerRuby /usr/local/rvm/gems/ruby-2.2.0/wrappers/ruby
But I have this error…If I go to apache2 error.log
App 676 stderr: cannot load such file -- phusion_passenger
App 676 stderr: (
App 676 stderr: LoadError
App 676 stderr: )
App 676 stderr: from /usr/bin/passenger-config:27:in `<main>'
I don’t know if this is the problem how what is .
Help me !!!