Pivotal Knowledge Base

Follow

SSO memory error when deploying to Pivotal Cloud Foundry 1.12

Environment

Pivotal Cloud Foundry 1.12
Single Sign-On for PCF (Pivotal Cloud Foundry®) 1.4.x

Symptom

When deploying Single Sign-On (SSO) on PCF 1.12, the identity-service-broker job fails with the following error: 

2017-09-10T13:21:08.66-0400 [CELL/0] OUT Starting health monitoring of container
2017-09-10T13:40:08.74-0400 [APP/PROC/WEB/0] ERR Cannot calculate JVM memory configuration: There is insufficient memory remaining for heap. Memory limit 512M is less than allocated memory 681029K (-XX:ReservedCodeCacheSize=240M, -XX:MaxDirectMemorySize=10M, -XX:MaxMetaspaceSize=99641K, -XX:CompressedClassSpaceSize=18188K, -Xss1M * 300 threads)
2017-09-10T13:40:08.76-0400 [APP/PROC/WEB/0] OUT Exit status 1

Cause

SSO for PCF 1.4.x is not compatible with PCF 1.12. Before upgrading to the newer version of the tile, perform the steps in the section below.

Procedure

To work around this issue, please follow the steps below:

  1. Launch Apps Manager. Navigate to https://apps.{system-domain}.
  2. Login as an admin user.
  3. Navigate to the System org.
  4. Click identity-service-space.
  5. Click green-identity-service-broker app.
  6. Click the Route tab.
  7. Delete the green-p-identity.{system-domain} route.
  8. Add a p-identity.{system-domain} route.
  9. Click the Settings tab.
  10. Change the name of the app to identity-service-broker.
  11. Click the Overview tab.
  12. Change the Memory Limit from 512 MB to 1 GB.
  13. Click Scale App.

Note: If you do not perform all the steps above for the SSO Tile, you will not be able to upgrade to the newer version of the tile.

Comments

Powered by Zendesk