Bug#1014037: mailman3-web: Possible memory leak: uwsgi OOMs after a few weeks
> "Pierre-Elliott" == Pierre-Elliott Bécue writes: Pierre-Elliott> Having the same kind of setup for the past 6 years, I Pierre-Elliott> never had such an issue. Since increasing the size of the VM and the last Mailman3 upgrade, I haven't seen the issue. -- Dr Peter Chubbhttps://trustworthy.systems/ Trustworthy Systems GroupCSE, UNSW Core hours: Mon 8am-3pm; Wed: 8am-5pm; Fri 8am-12pm.
Bug#1014037: mailman3-web: Possible memory leak: uwsgi OOMs after a few weeks
Control: tags -1 +moreinfo Hi, Peter Chubb wrote on 29/06/2022 at 03:11:15+0200: > Package: mailman3-web > Version: 0+20200530-2 > Severity: normal > > Dear Maintainer, > > I have a mailman3 system backed by PostGRES, exim4, and nginx; > and it is set up and works properly. However, the uwsgi process > keeps growing and growing until the system OOMs. typically > after two to three weeks. > > I added more RAM (the system now has 3Gb) but that postponed > but did not fix the problem. As a workaround I now restart > the mailman3 service once a day. > > -- System Information: > Debian Release: bookworm/sid > APT prefers stable-updates > APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'stable') > Architecture: amd64 (x86_64) > > Kernel: Linux 5.17.0-3-cloud-amd64 (SMP w/1 CPU thread; PREEMPT) > Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE not > set > Shell: /bin/sh linked to /usr/bin/dash > Init: systemd (via /run/systemd/system) > LSM: AppArmor: enabled > > Versions of packages mailman3-web depends on: > ii dbconfig-sqlite3 2.0.21 > ii debconf [debconf-2.0] 1.5.79 > ii init-system-helpers1.63 > ii lsb-base 11.2 > ii python33.9.8-1 > hi python3-django-hyperkitty 1.3.4-4 > ii python3-django-postorius 1.3.5-1 > ii python3-psycopg2 2.9.2-2 > ii python3-whoosh 2.7.4+git6-g9134ad92-5 > ii ucf3.0043 > ii uwsgi-core 2.0.20-4+b2 > ii uwsgi-plugin-python3 2.0.20-4+b2 > > Versions of packages mailman3-web recommends: > ii nginx 1.20.2-2 > ii nginx-core [nginx] 1.20.2-2+b1 > > Versions of packages mailman3-web suggests: > ii postgresql 14+241 Having the same kind of setup for the past 6 years, I never had such an issue. Do you have more intel? -- PEB signature.asc Description: PGP signature
Bug#1014037: mailman3-web: Possible memory leak: uwsgi OOMs after a few weeks
Hi, I'm pretty sure I'm seeing this too. I'm running it under apache2 and with mariadb. After a week or so uwsgi was using about 7% RAM on an 8G machine. I restarted mailman3-web and that went back to 1%. One day later it is up to 1.2%; I guess it will keep growing and I will also have to regularly restart mailman3-web. Is it easy to switch the mailman3-web package to run under gunicorn? Cheers, Andy
Bug#1014037: mailman3-web: Possible memory leak: uwsgi OOMs after a few weeks
Package: mailman3-web Version: 0+20200530-2 Severity: normal Dear Maintainer, I have a mailman3 system backed by PostGRES, exim4, and nginx; and it is set up and works properly. However, the uwsgi process keeps growing and growing until the system OOMs. typically after two to three weeks. I added more RAM (the system now has 3Gb) but that postponed but did not fix the problem. As a workaround I now restart the mailman3 service once a day. -- System Information: Debian Release: bookworm/sid APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 5.17.0-3-cloud-amd64 (SMP w/1 CPU thread; PREEMPT) Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages mailman3-web depends on: ii dbconfig-sqlite3 2.0.21 ii debconf [debconf-2.0] 1.5.79 ii init-system-helpers1.63 ii lsb-base 11.2 ii python33.9.8-1 hi python3-django-hyperkitty 1.3.4-4 ii python3-django-postorius 1.3.5-1 ii python3-psycopg2 2.9.2-2 ii python3-whoosh 2.7.4+git6-g9134ad92-5 ii ucf3.0043 ii uwsgi-core 2.0.20-4+b2 ii uwsgi-plugin-python3 2.0.20-4+b2 Versions of packages mailman3-web recommends: ii nginx 1.20.2-2 ii nginx-core [nginx] 1.20.2-2+b1 Versions of packages mailman3-web suggests: ii postgresql 14+241 -- debconf information: * mailman3-web/passwords-do-not-match: mailman3-web/nginx-choice: mailman3-web/install-error: abort * mailman3-web/pgsql/authmethod-admin: ident mailman3-web/remote/port: * mailman3-web/db/app-user: mailman3web@localhost * mailman3-web/superuser-mail: listadmin@sel4.systems * mailman3-web/configure-webserver: none mailman3-web/db/basepath: * mailman3-web/emailname: sel4.systems mailman3-web/upgrade-backup: true mailman3-web/dbconfig-upgrade: true mailman3-web/pgsql/no-empty-passwords: mailman3-web/remove-error: abort mailman3-web/mysql/method: Unix socket * mailman3-web/pgsql/admin-user: postgres * mailman3-web/pgsql/method: Unix socket * mailman3-web/pgsql/authmethod-user: ident * mailman3-web/db/dbname: mailman3web * mailman3-web/restart-webserver: true mailman3-web/internal/reconfiguring: false * mailman3-web/superuser-name: seL4 mailman3-web/pgsql/manualconf: mailman3-web/dbconfig-remove: true * mailman3-web/dbconfig-install: true mailman3-web/remote/host: localhost mailman3-web/missing-db-package-error: abort mailman3-web/remote/newhost: mailman3-web/pgsql/changeconf: false mailman3-web/mysql/admin-user: mailman3-web/upgrade-error: abort mailman3-web/purge: false * mailman3-web/dbconfig-reinstall: true mailman3-web/mysql/authplugin: default * mailman3-web/database-type: pgsql mailman3-web/internal/skip-preseed: false