Questions tagged [phusion]
128 questions
88
votes
7 answers
Slow initial server startup when using Phusion Passenger and Rails
To jump on the band-wagon of Phusion Passenger we've setup a staging server for a small rails app to test things out.
So far it has been very nice to use, it makes installing/configuring and deploying apps a breeze. The problem is the site we're…

tsdbrown
- 5,038
- 3
- 36
- 40
20
votes
4 answers
modrails - rogue ruby processes consuming 100% cpu
I'm having ruby instances from mod_rails go "rogue" -- these processes are no longer listed in passenger-status and utilize 100% cpu.
Other than installing god/monit to kill the instance, can anyone give me some advice on how to prevent this? I…

lamplighter
- 303
- 3
- 7
14
votes
7 answers
is mod_rails or Phusion Passenger finally the answer to Ruby on Rails Deployment?
I read from some books that Phusion Passenger is the answer to easy Ruby on Rails deployment. But my friend said that first there was Apache + bunch of Mongrels, and then lighttpd, and then nginx, and now Passenger, and it seems endless...
he also…

nonopolarity
- 146,324
- 131
- 460
- 740
11
votes
6 answers
How to limit Phusion Passenger memory usage?
Is there a way to limit the amount of memory Phusion Passenger uses when serving up your app?
My host comes by and kills the process after I get a bunch of traffic and so I end up serving up blank pages. Is there anything I can do to say "hey don't…

joebob
- 143
- 1
- 8
10
votes
2 answers
Is using phusion/baseimage still worth it?
My question is simple: why use phusion/baseimage?
I've read the site. I've been all over it. It's marketed as better than base, ultraslim built specifically for Docker. With that said: then why aren't official builds using it by…

guice
- 976
- 4
- 11
- 31
7
votes
3 answers
Errno::ECONNRESET: Connection reset by peer in Rails using rest-client
We have a Ruby on Rails application and this has a "search" functionality (search for some company). From browser user key-in some name and hit search and this search make an rest api call to outside system and get us some search results.
We are…

Pavan
- 79
- 1
- 1
- 3
6
votes
2 answers
Phusion Passenger Not Working on Apache
UPDATE: When entering 'passenger-memory-stats' I'm showing:
---Passenger processes---
Processes: 0
How do I troubleshoot this? Why would passenger not be starting even though I added it in httpd.conf and restart apache?
I'm having trouble getting…

Walter
- 173
- 2
- 12
5
votes
1 answer
Handling hundreds of simultaneous requests in rails
I am writing a ruby on rails application and one of the most important featuers of the website is live voting. We fully expect that we will get 10k voting requests in as little as 1 minutes. Along with other requests that means we could be getting a…

Mike D
- 207
- 2
- 8
5
votes
2 answers
Passenger slow at startup and after some seconds of idle time
I'm currently facing a problem with Passenger (4.0.18) in combination with a simple Rails 4.0.0 application.
Problem is, that after starting apache, the first request is extremely slow ( usually 30.x seconds). The following requests are really fast…

McSlow
- 69
- 6
5
votes
5 answers
How do I clear the cache of Ruby Phusion Passenger in Ubuntu?
I've tried restarting apache and the cached pages still appear, so there must be a folder someplace. I don't have a 'public/cache', so what other places should I look? Is there a URL flag that could trigger this effect as well?

Adam
- 7,800
- 2
- 25
- 24
4
votes
2 answers
Setting up Passenger Phusion on Ubuntu 11.04
I'm furious with anyone that's ever said anything equatable to "deploying ruby on rails applications is a snap." No. It's not. It's the hardest thing I've ever had to do and I develop operating systems.
Whew. Now that that's out. I finally got…

user823596
- 341
- 1
- 6
- 8
4
votes
1 answer
Passenger+Nginx+Docker app setup
TL;DR = Cannot get Passenger/Nginx to call our application from Django. "passenger-status" does not show proper Application Group that is shown in our currently live non-Docker server.
Trying to convert a live and running Passenger+Nginx+Django…

Jim
- 103
- 2
- 9
4
votes
2 answers
How can I stop phusion passenger standalone?
I don't know how to stop phusion passenger standalone. I have 2 instances running one at port 8000 and other at 8001. Can anybody give me idea how can I stop passenger on each proxy. cause I just need one at 8001. And because there are two…

Asish Bhattarai
- 482
- 1
- 4
- 13
4
votes
1 answer
Phusion Passenger 2.2.2 crashes often
I deployed an rails(2.3.2) app on Passenger 2.2.2.
It crashes sometimes.
There's the error message.
Passenger encountered the following error:
The application spawner server exited unexpectedly: Broken pipe
Exception class:…

Sam Kong
- 5,472
- 8
- 51
- 87
3
votes
1 answer
Passenger does not recognize application: Message from Phusion: End time can not be before or equal to begin time
I am receiving this error from the log inside /var/log/httpd/error_log. Which is posted below:
/var/log/httpd/error_log
[ E 2020-02-12 18:58:36.8946 2418/Ta age/Cor/Con/CheckoutSession.cpp:276 ]: [Client 2-1] Cannot checkout session because a…

Paulo Veras
- 43
- 1
- 6