Disk alerts

Setup Disk Usage Alerts

Each service instance node comes with the a9s Parachute component. This component monitors ephemeral and persistent disk usage. If one of these disk usages reaches the configured threshold of 80%, the a9s Parachute stops all processes on that node. Once the processes gets stopped, a9s Parachute logs the following messages to its log directory:

Limit reached for: persistent disk


Limit reached for: ephemeral disk

How to restart stopped instances

To restart a stopped instance, the user can use the cf update-service command to set the max_disk_threshold custom parameter. All values between 0 and 100 are allowed. Updating the instance does two things, at first the limit is set to the new value and the instance will be restarted. To set the value to 90% do the following:

$ cf update-service <SERVICE_NAME> -c '{"max_disk_threshold": "90"}'

The update will take some minutes until the service is restarted.

IMPORTANT: This is only a temporary solution. The nodes will be stopped when the threshold is reached again. For a long term solution the service instance must be updated to a bigger plan.