- edited description
Ram usage
Is it normal that the amount of ram used continues to increase over time?
Yesterday it had reached 756MB and I had to restart it because I was afraid it would crash my server.
This is my docker-compose files:
version: '3'
services:
mailserver:
image: analogic/poste.io
container_name: mailserver
restart: always
ports:
- "25:25"
environment:
- LETSENCRYPT_EMAIL=mymail@gmail.com
- LETSENCRYPT_HOST=mysuddomain.domain.com
- VIRTUAL_HOST=mysuddomain.domain.com
- HTTPS=OFF
- VIRTUAL_PORT=80
- DISABLE_CLAMAV=TRUE
- DISABLE_ROUNDCUBE=TRUE
- DISABLE_RSPAMD=TRUE
volumes:
- ./data/mailserver:/data
networks:
default:
external:
name: nginx-proxy
The emails and the virtualhosts works well, my only question is whether it is normal for the used ram to grow over time.
Does this docker need to be restarted periodically?
Thank you
Comments (2)
-
reporter -
From reading other posts, it looks like there’s a memory leak somewhere, most probably in the Poste.IO code that manages the Haraka or one of it’s Javascript plugins.
2021-05-20 22:16:55.488108500 [INFO] [-] [redis] connected to redis://127.0.0.1:6379 2021-05-20 22:17:02.184034500 [DEBUG] [-] [watch] psubscribed to result-* 2021-05-20 22:17:02.184391500 [ERROR] [-] [server] watch plugin ran callback multiple times - ignoring subsequent calls 2021-05-20 22:17:02.185009500 [ERROR] [-] [server] Error 2021-05-20 22:17:02.185019500 at callback (/usr/lib/node_modules/Haraka/plugins.js:483:34) 2021-05-20 22:17:02.185024500 at /usr/lib/node_modules/Haraka/node_modules/haraka-plugin-watch/index.js:273:5 2021-05-20 22:17:02.185028500 at RedisClient.<anonymous> (/usr/lib/node_modules/Haraka/node_modules/haraka-plugin-redis/index.js:183:13) 2021-05-20 22:17:02.185033500 at RedisClient.emit (events.js:314:20) 2021-05-20 22:17:02.185037500 at subscribe_unsubscribe (/usr/lib/node_modules/Haraka/node_modules/redis/index.js:671:14) 2021-05-20 22:17:02.185042500 at return_pub_sub (/usr/lib/node_modules/Haraka/node_modules/redis/index.js:729:9) 2021-05-20 22:17:02.185046500 at RedisClient.return_reply (/usr/lib/node_modules/Haraka/node_modules/redis/index.js:761:9) 2021-05-20 22:17:02.185051500 at JavascriptRedisParser.returnReply (/usr/lib/node_modules/Haraka/node_modules/redis/index.js:137:18) 2021-05-20 22:17:02.185055500 at JavascriptRedisParser.execute (/usr/lib/node_modules/Haraka/node_modules/redis-parser/lib/parser.js:544:14) 2021-05-20 22:17:02.185060500 at Socket.<anonymous> (/usr/lib/node_modules/Haraka/node_modules/redis/index.js:218:27) 2021-05-20 22:17:17.053066500 [INFO] [-] [limit] Disconnected from redis://127.0.0.1:6379/4
- Log in to comment