Skip to content

Commit

Permalink
Increase the RAM available to the application
Browse files Browse the repository at this point in the history
Running `cf events find-data-beta | grep find-data-beta | wc -l` shows
that the find application has crashed 26 times in the last 2 hours. Each
crash is logged as `Exited with status 137 (out of memory)`.

This PR increases the amount of memory available to each instance to
reduce the number of crashes. Unfortunately if an application crashes
during a request, the inflight request will fail, rather than it
being re-routed to a live instance.  So this means users (or systems)
are seeing errors of some form or other.
  • Loading branch information
rossjones committed May 30, 2018
1 parent d97e64d commit 518f3a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion production-manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
applications:
- name: find-data-beta
instances: 8
memory: 256M
memory: 512M
buildpack: https://github.com/cloudfoundry/ruby-buildpack.git#v1.7.16
routes:
- route: find-data-beta.cloudapps.digital
Expand Down
2 changes: 1 addition & 1 deletion staging-manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
applications:
- name: find-data-beta-staging
instances: 4
memory: 256M
memory: 512M
buildpack: https://github.com/cloudfoundry/ruby-buildpack.git#v1.7.16
routes:
- route: find-data-beta-staging.cloudapps.digital
Expand Down

0 comments on commit 518f3a2

Please sign in to comment.