-
Notifications
You must be signed in to change notification settings - Fork 152
Description
Controller Version
6.2.0.12
Describe the Bug
6.2 is using up a lot more memory than previous versions and is being OOM killed. Note that I'm using the J9 builds.
Yes - I realize this may well be a TPLink problem not a problem with this (excellent) Docker container. Listing it here for visibility and for whatever can be done on the Docker config side.
When I first started 6.2 my docker config included:
mem_limit: 768m
memswap_limit: 768m
This worked well with 6.1. It dropped me into a restart loop when I upgraded to 6.2. (exit code 137)
I removed the limits completely and the container started successfully. However - about 8-10 hours later, the container was again killed (OOM). (exit code 137)
(fwiw - I attempted a rollback to 6.1 by removing the LAST_VER file, but was unsuccessful. And broke my install.)
Expected Behavior
I would expect to not require more memory for the new version, or at minimum, not having a rapidly growing memory footprint.
Steps to Reproduce
Start a beta 6.2 J9 image on your docker server.
How You're Launching the Container
services:
omada-sdn:
container_name: omada
image: mbentley/omada-controller:beta-6.2-openj9
ulimits:
nofile:
soft: 4096
hard: 8192
stop_grace_period: 60s
environment:
- PUID=508
- PGID=508
- TZ=America/Chicago
- MANAGE_HTTP_PORT=8088
- MANAGE_HTTPS_PORT=8043
- PORTAL_HTTP_PORT=8088
- PORTAL_HTTPS_PORT=8043
- PORT_APP_DISCOVERY=27001
- PORT_DISCOVERY=29810
- PORT_MANAGER_V1=29811
- PORT_ADOPT_V1=29812
- PORT_UPGRADE_V1=29813
- PORT_MANAGER_V2=29814
- PORT_TRANSFER_V2=29815
- PORT_RTTY=29816
- PORT_DEVICE_MONITOR=29817
- SHOW_SERVER_LOGS=true
- SHOW_MONGODB_LOGS=false
- SSL_CERT_NAME="tls.crt"
- SSL_KEY_NAME="tls.key"
network_mode: host
# mem_limit: 768m
# memswap_limit: 768m
volumes:
- omada-data:/opt/tplink/EAPController/data
- omada-logs:/opt/tplink/EAPController/logs
restart: unless-stopped
volumes:
omada-data: null
omada-logs: null
networks: {}
Container Logs
exit with code 137
MongoDB Logs
Additional Context
No response