From 518f3a23f6fa6e14075452da2f9146a43792abed Mon Sep 17 00:00:00 2001 From: Ross Jones Date: Wed, 30 May 2018 15:35:53 +0100 Subject: [PATCH] Increase the RAM available to the application 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. --- production-manifest.yml | 2 +- staging-manifest.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/production-manifest.yml b/production-manifest.yml index 704b6f1f..e1f2bc41 100644 --- a/production-manifest.yml +++ b/production-manifest.yml @@ -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 diff --git a/staging-manifest.yml b/staging-manifest.yml index 0e5f74a2..7aef8c02 100644 --- a/staging-manifest.yml +++ b/staging-manifest.yml @@ -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