Memory Limit Thresholds
You are able to set memory limit thresholds for the jobs of the different components in the a9s Data Service Framework. You can configure two thresholds per job:
- alert_if_above_mb: The job will alert if memory is above this threshold
- restart_if_above_mb: The job will restart if memory is above this threshold
Per default the property alert_if_above_mb is set to 2250 and restart_if_above_mb to 2450.
Configuration Properties
There are the following properties defined for the different components:
Component | Property |
---|---|
a9s Service Broker | anynines_service_broker.thresholds.alert_if_above_mb |
anynines_service_broker.thresholds.restart_if_above_mb | |
a9s Deployer | anynines_bosh_deployer.thresholds.alert_if_above_mb |
anynines_bosh_deployer.thresholds.restart_if_above_mb | |
LogMe 2 SPI | logme2-spi.thresholds.alert_if_above_mb |
logme2-spi.thresholds.restart_if_above_mb | |
MariaDB SPI (a9s MariaDB >= 10.6) | mariadb-spi.thresholds.alert_if_above_mb |
mariadb-spi.thresholds.restart_if_above_mb | |
MongoDB SPI | mongodb-spi.thresholds.alert_if_above_mb |
mongodb-spi.thresholds.restart_if_above_mb | |
MySQL SPI (a9s MariaDB < 10.6) | mysql-spi.thresholds.alert_if_above_mb |
mysql-spi.thresholds.restart_if_above_mb | |
PostgreSQL SPI | postgresql-spi.thresholds.alert_if_above_mb |
postgresql-spi.thresholds.restart_if_above_mb | |
RabbitMQ SPI | rabbitmq-spi.thresholds.alert_if_above_mb |
rabbitmq-spi.thresholds.restart_if_above_mb | |
Redis®* SPI | redis-spi.thresholds.alert_if_above_mb |
redis-spi.thresholds.restart_if_above_mb | |
Valkey SPI | monit.thresholds.alert_if_above_mb |
monit.thresholds.restart_if_above_mb | |
CF Billing | cf_billing.thresholds.alert_if_above_mb |
cf_billing.thresholds.restart_if_above_mb | |
CF Billing Worker | cf_billing_worker.thresholds.alert_if_above_mb |
cf_billing_worker.thresholds.restart_if_above_mb | |
a9s Invoices | a9s-invoices.thresholds.alert_if_above_mb |
a9s-invoices.thresholds.restart_if_above_mb | |
a9s Invoices Worker | a9s-invoices-worker.thresholds.alert_if_above_mb |
a9s-invoices-worker.thresholds.restart_if_above_mb | |
Sameness | sameness.thresholds.alert_if_above_mb |
sameness.thresholds.restart_if_above_mb |
Configuration
To change the thresholds you can use an Ops file that sets these properties.
The following example Ops file changes the default values for the anynines-bosh-deployer
and can be used as a base for your use case:
- type: replace
path: /properties/anynines_bosh_deployer/thresholds?
value:
alert_if_above_mb: 3500
restart_if_above_mb: 4096
*Redis is a registered trademark of Redis Ltd. Any rights therein are reserved to Redis Ltd. Any use by anynines GmbH is for referential purposes only and does not indicate any sponsorship, endorsement or affiliation between Redis and anynines GmbH.