Questions tagged [phusion]

128 questions
0
votes
1 answer

Phusion Baseimage vs. Phusion Passenger (Can I install NGINX easily on baseimage?)

Building a Phusion+NGINX+Gunicorn+Django web stack inside docker container, doccumenting on github. I have the container running with django and gunicorn. I would like to set up an NGINX reverse proxy. Originally, my plan was just to add something…
ThisGuyCantEven
  • 1,095
  • 12
  • 21
0
votes
1 answer

telegraf disk-input does not write to output in phusion/baseimage

Just used telegraf and influxdb with some other plugins. But the output of [[inputs.disk]] is not sent to the influx-database, although the telegraf-cli prints the series: root@99a3dda91f0e:/# telegraf --config /etc/telegraf/telegraf.conf --test *…
0
votes
1 answer

Javascript Date gives wrong Timezone in Karma test

Somehow after a Docker image rebuild, I started having problems with javascript timezone problem. It used to work, but after a Docker image update, somehow the resulting Date object does not obey the TZ setting anymore. As the result, our timezone…
Andy
  • 1,231
  • 1
  • 15
  • 27
0
votes
1 answer

'Passenger 'command does not show running instance

I'm running my webserver using Passenger Standalone. I've been restarting the app as required after changes using passenger-config restart-app, which seems to work fine. If I run passenger-status, I see: version : 5.0.30 Date : 2017-02-13…
Kgrover
  • 2,106
  • 2
  • 36
  • 54
0
votes
1 answer

How could I run nginx-naxsi in baseimage?

I had try baseimage 0.9.19 (Ubuntu 16.04) & 0.9.18 (Ubuntu 14.04). 0.9.18 got: apt-get purge nginx-* apt-get install nginx-naxsi The following packages have unmet dependencies: nginx-naxsi : Depends: nginx-common (= 1:1.6.3-8.5.0.7~trusty1) but…
zx1986
  • 880
  • 2
  • 12
  • 18
0
votes
1 answer

Ruby on Rails application could not be started

I'm trying to deploy some changes, and I just cannot see them as the URL I got sends me on a Phusion error page "Ruby on Rails application could not be started". When I check the logs, I get something like this: Exception ArgumentError in…
fbiville
  • 8,407
  • 7
  • 51
  • 79
0
votes
1 answer

Using ActionController::Live is sleep required?

I followed the Rails reference to stream some data to the client. Is the Sleep necessary since I have seen the usage of Sleep everywhere? Does Rails internally use Sleep in Live to stream data?
0
votes
2 answers

How do I get Nginx and Phusion Passenger to maintain sessions between two Rails instances?

I'm using Nginx with Phusion Passenger to run a Rails app on an EC2 CentOS machine. I have a pretty standard set up with Nginx, Rails, Phusion Passenger and SSL (I think). My nginx.conf is below. So far it has worked out fine except that every time…
zaizhuang
  • 317
  • 2
  • 7
0
votes
2 answers

Phusion Passenger Standalone: Listen on two ports?

Is there a way to configure phusion passenger to listen on two ports, directing all traffic to a single application (multiple node.js processes)?
Michael Allan Jackson
  • 4,217
  • 3
  • 35
  • 45
0
votes
1 answer

Passenger and Node.js: Is there a way to route to a specific instance?

Assuming passenger has started many instances of your node.js app and given the output from passenger-status --show=xml, is there a way to curl a specific instance? Example output from passenger-status --show=xml: $ sudo passenger-status…
Michael Allan Jackson
  • 4,217
  • 3
  • 35
  • 45
0
votes
2 answers

Fedora + Apache + Phusion passenger + Rails shows default apache page (always)

Even though there is a huge amount of information about this subject I'm still stuck at the apache default page shown by the server. The worse part is that everything seems to work properly. I've installed everything using dnf, even the ruby…
AronNeewart
  • 461
  • 6
  • 18
0
votes
1 answer

PassengerSpawnMethod "smart" doesn't reduce memory footprint?

Our Rails 3.2 application (Ruby 2.1.5) sits behind Passenger (4.0.59) and uses the default spawn method, which the Passenger docs stipulate is "smart". Smart spawning is claimed to shave about 33% off the per-process memory footprint. I was curious…
jph
  • 2,181
  • 3
  • 30
  • 55
0
votes
1 answer

Apache + Passenger fails to run in a container?

I can run my application locally on my machine, but when I take the entire directory and move it into a container, it fails to run. It's a fairly simple Rails app - locally in runs using Thin, but in my Docker container it runs using Apache and…
aronchick
  • 6,786
  • 9
  • 48
  • 75
0
votes
1 answer

Permission denied to ruby version using PassengerRuby

I'm serving three Ruby on Rails apps on one server, two of which are running on the system default ruby 2.0, and one running on ruby 2.2. For the latter I have set the PassengerRuby in my VirtualHost as follows:
GerryDevine
  • 111
  • 1
  • 9
0
votes
0 answers

Phusion-Passenger 4 creating more ( 200 + ) process than max pool size

we are running application on passenger 4 and the configuration settings are PassengerMaxPoolSize 40 PassengerMaxInstancesPerApp 40 PassengerPoolIdleTime 150 PassengerMaxRequests 1500 PassengerBufferResponse on PassengerSpawnMethod…
Neel
  • 145
  • 7
1 2 3
8 9