mneethiraj opened a new pull request, #1198:
URL: https://github.com/apache/ranger/pull/1198
## What changes were proposed in this pull request?
Reduced memory use for Ranger core Docker containers by standardizing on 256
MB JVM heap per service (configurable via `.env`).
- added per-service RANGER_*_MAX_HEAP variables in `.env` (admin, usersync,
tagsync, pdp, kms, audit ingestor/dispatcher).
- RANGER_ADMIN_MAX_HEAP
- RANGER_USERSYNC_MAX_HEAP
- RANGER_TAGSYNC_MAX_HEAP
- RANGER_PDP_MAX_HEAP_SIZE
- RANGER_KMS_MAX_HEAP
- RANGER_AUDIT_INGESTOR_MAX_HEAP
- RANGER_AUDIT_DISPATCHER_MAX_HEAP
- docker-compose passes these env vars into each container
- updated service start scripts to read heap from env when set; otherwise
keep existing defaults (1g for core services)
- optional metaspace tuning via RANGER_JVM_METASPACE /
RANGER_JVM_MAX_METASPACE
## How was this patch tested?
Verified that all Ranger services startup successfully with 256mb max-heap.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]