Skip to content

Commit

Permalink
Reduce process pool size to remediate memory issues. (#5862)
Browse files Browse the repository at this point in the history
  • Loading branch information
icarito authored and jywarren committed Jun 14, 2019
1 parent 591b5ff commit ab4fddf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion containers/docker-compose-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ services:
ports:
- "127.0.0.1:4001:4001"
build: ..
command: /bin/bash -c "sleep 5 && /usr/local/bundle/bin/passenger start --max-request-queue-size 200 --max-pool-size 7 --min-instances 7 -p 4001"
command: /bin/bash -c "sleep 5 && /usr/local/bundle/bin/passenger start --max-request-queue-size 200 --max-pool-size 4 --min-instances 4 -p 4001"
environment:
- RAILS_ENV=${RAILS_ENV}
- SECRET_KEY_BASE=${SECRET_KEY_BASE}
Expand Down

0 comments on commit ab4fddf

Please sign in to comment.