Kevin Sylvestre
Kevin Sylvestre

Reputation: 38062

Passenger Max Requests on Heroku

It it possible to setup Passenger to use a PassengerMaxRequests on Heroku? From what I can tell, Heroku requires the passenger configuration to happen within a Procfile like so:

web: bundle exec passenger start -p $PORT --max-pool-size 4

I tried --max-requests but get an invalid option exception. It also doesn't appear under heroku start --help. Any way to get this parameter (or any of the other parameters from the docs) working with a Procfile?

Upvotes: 0

Views: 619

Answers (1)

Will
Will

Reputation: 2961

It looks like you should follow the Passenger Standalone Advanced Configuration guide, and create an nginx config file (not apache), since it seems the standalone passenger actually just comes with nginx.

passenger start --nginx-config-template nginx.conf.erb

And then you should be able to set passenger_max_requests

Upvotes: 1

Related Questions