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 Backup Agent | backup-agent.thresholds.alert_if_above_mb |
backup-agent.thresholds.restart_if_above_mb | |
a9s Backup Monit | backup-monit.thresholds.alert_if_above_mb |
backup-monit.thresholds.restart_if_above_mb | |
a9s Backup Manager | anynines-backup-manager.thresholds.alert_if_above_mb |
anynines-backup-manager.thresholds.restart_if_above_mb | |
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 backup-service
and can be used as a base for your use case:
- type: replace
path: /properties/backup-monit/thresholds?
value:
alert_if_above_mb: 3500
restart_if_above_mb: 4096
- type: replace
path: /properties/anynines-backup-manager/thresholds?
value:
alert_if_above_mb: 1024
restart_if_above_mb: 2048