Skip to main content
Version: 47.0.0

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:

ComponentProperty
a9s Backup Agentbackup-agent.thresholds.alert_if_above_mb
backup-agent.thresholds.restart_if_above_mb
a9s Backup Monitbackup-monit.thresholds.alert_if_above_mb
backup-monit.thresholds.restart_if_above_mb
a9s Backup Manageranynines-backup-manager.thresholds.alert_if_above_mb
anynines-backup-manager.thresholds.restart_if_above_mb
a9s Service Brokeranynines_service_broker.thresholds.alert_if_above_mb
anynines_service_broker.thresholds.restart_if_above_mb
a9s Deployeranynines_bosh_deployer.thresholds.alert_if_above_mb
anynines_bosh_deployer.thresholds.restart_if_above_mb
Elasticsearch SPIelasticsearch-spi.thresholds.alert_if_above_mb
elasticsearch-spi.thresholds.restart_if_above_mb
PostgreSQL SPIpostgresql-spi.thresholds.alert_if_above_mb
postgresql-spi.thresholds.restart_if_above_mb
RabbitMQ SPIrabbitmq-spi.thresholds.alert_if_above_mb
rabbitmq-spi.thresholds.restart_if_above_mb
Redis SPIredis-spi.thresholds.alert_if_above_mb
redis-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
MySQL SPI (a9s MariaDB < 10.6)mysql-spi.thresholds.alert_if_above_mb
mysql-spi.thresholds.restart_if_above_mb
MongoDB SPImongodb-spi.thresholds.alert_if_above_mb
mongodb-spi.thresholds.restart_if_above_mb
LogMe SPIlogme-spi.thresholds.alert_if_above_mb
logme-spi.thresholds.restart_if_above_mb
CF Billingcf_billing.thresholds.alert_if_above_mb
cf_billing.thresholds.restart_if_above_mb
CF Billing Workercf_billing_worker.thresholds.alert_if_above_mb
cf_billing_worker.thresholds.restart_if_above_mb
a9s Invoicesa9s-invoices.thresholds.alert_if_above_mb
a9s-invoices.thresholds.restart_if_above_mb
a9s Invoices Workera9s-invoices-worker.thresholds.alert_if_above_mb
a9s-invoices-worker.thresholds.restart_if_above_mb
Samenesssameness.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