apprise-api
apprise-api copied to clipboard
High memory usage
:lady_beetle: Describe the bug Official Docker container uses ~600+ MB of RAM baseline, no notifications or config.
:bulb: Screenshots and Logs
$ docker stats <container_id>
CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS
<id> apprise-<id> 0.05% 589.1MiB / 600MiB 98.19% 0B / 0B 0B / 8.19kB 28
Mounting a substitute gunicorn.conf.py with workers = 2 reduced usage to 120 MB. It would be great if the worker count could be overridden as a CLI arg or env var.
I believe i fixed this in the last merge request here.
You should be able to use APPRISE_WORKER_COUNT variable and set it to 2 to accomplish what you want.
Closing off this issue as it has been open for some time now