Skip to content
This repository has been archived by the owner on Jun 2, 2020. It is now read-only.

Commit

Permalink
Adjusted scaling policies thresholds. We can't hit 100% cpu utilizati…
Browse files Browse the repository at this point in the history
…on in Clifton, so the thresholds need to be lower than before. (#41)

Also increased the max_requests parameter in php-fpm, which defines the number of requests a child process serves before it gets killed. This alleviates the overhead of recreating process and shouldn't make memory leaks a problem
  • Loading branch information
felipeparaujo authored Mar 1, 2017
1 parent a376ad5 commit c886ad1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"fpm.start_servers": 32,
"fpm.min_spare_servers": 16,
"fpm.max_spare_servers": 48,
"fpm.max_requests": 50,
"fpm.max_requests": 500,

"nginx.worker_processes": 4,
"nginx.worker_connections": 1024
Expand Down

0 comments on commit c886ad1

Please sign in to comment.