Memory limit configuration for Smart ID services
This article is new for Smart ID 26.04.
This article describes how to set memory limits for docker services.
Overview
Smart ID now supports optional memory limits for all docker services. This allows administrators to control the maximum amount of memory each service is allowed to consume, helping to prevent any single service from using excessive system resources.
By default, no memory limits are applied, so existing deployments are not affected.
Each service has a corresponding configuration variable in the smartid.env file. These variables are commented out (disabled) by default. When uncommented and set to a value (for example, 3g for 3 gigabytes), the service will be restricted to that amount of memory. If a variable is not set, the service runs without any memory constraint, preserving the current behavior.
Configure memory limit
To apply a memory limit to a service, open smartid.env, find the relevant line, remove the # comment character, and set the desired value.
Example:
Before(no limit):
#POSTGRES_MEM_LIMIT=3gAfter (limit applied):
POSTGRES_MEM_LIMIT=3g
Values use standard docker memory notation: 512m (megabytes), 1g (gigabytes), 2g, etc.
Available settings
General
Setting | Service |
|---|---|
| PostgreSQL Database |
| Traefik Reverse Proxy |
Digital Access
Setting | Service |
|---|---|
| Policy Service |
| Administration Service |
| Authentication Service |
| Distribution Service |
| Access Point |
Identity Manager
Setting | Service |
|---|---|
| Operator |
| Admin |
| Tenant |
| Database Update Tool |
| Mobile Iron |
Connectors
Setting | Service |
|---|---|
| Ariad Next Connector |
| OSIP Connector |
| Workspace One Connector |
| Entra ID Connector |
Messaging
Setting | Service |
|---|---|
| Hermod Messaging Service |
Smart ID Self-Service
Setting | Service |
|---|---|
| Smart ID Self-Service Portal |
Physical Access
Setting | Service |
|---|---|
| SCIM API |
| RabbitMQ |
| Maintenance |
| ARX |
| Omnis |
| Integra |
| iSecure |
| RCOM5 |
| RCO |
| Salto |
| Siport |
| Unilock |
| Unison |
| SiPass |
| Demo |
| Interflex |
| Kaba Exos |
| Babylon |
All settings are disabled by default. No action is required to maintain current behavior.
To remove a memory limit after enabling it, comment the line out again by adding # at the beginning.