Configure existing apps which are set to unlimited log rate limits before updating the space/org quota plan
search cancel

Configure existing apps which are set to unlimited log rate limits before updating the space/org quota plan

book

Article ID: 421845

calendar_today

Updated On:

Products

VMware Tanzu Platform - Cloud Foundry

Issue/Introduction

If you update a quota plan with a log rate limit to a space/org containing apps that are already configured to send an unlimited number of logs to Loggregator, you see an error similar to the following example:

Setting space quota quota-name to space space-name as admin...
Current usage exceeds new quota values. The space(s) being assigned this quota contain apps running with an unlimited log rate limit.
FAILED

or

Updating org quota quota-name as admin...

Current usage exceeds new quota values. This quota is applied to org 'org-name' which contains apps running with an unlimited log rate limit.

FAILED

 

Resolution

Before you can update a quota plan to the space/org, you must configure each app in the space/org with a log rate limit that is lower than the log rate limit specified in the quota plan.

 

To update the log rate limit for an app in the space/org to which you want to assign a quota plan:

  1. Run:
    cf scale -l LOG-RATE-LIMIT APP-NAME
    Where:
    • LOG-RATE-LIMIT is the log rate limit in bytes per second that you want to configure for the app.
    • APP-NAME is the name of the app for which you want to configure a log rate limit.

 

After you have configured a log rate limit for each app in the space/org, follow the procedures