[conspire] Mailman3 vs mailman2

Ron / BCLUG admin at bclug.ca
Thu Apr 18 21:58:35 PDT 2024


So, a popular topic I'm gonna revive.

I have a fully working instance.

It's lovely.

I was about to pull the trigger and fully migrate today, but 
neighbourhood power outage prevented that.



Looking at things again, I've updated my notes (which consist of 50% 
profanities):


##############################################
Why is there an entire Python interpreter running for fucking nntp
interaction? No one uses nntp, and I DO. NOT. WANT. to waste resources 
on that.

In /etc/mailman3/mailman.cfg add this:
[runner.nntp]
start: no


##############################################

Let's count the Python interpreters loaded for each version of mailman:

On mailman2:
  └─» # ps -ef | grep mailman | wc -l
10

On mailman3:
  └─» # ps -ef | grep mailman |wc -l
41

That 41 includes connections to postgresql, not solely Python interpreters.

  └─» # ps -ef | grep mailman | grep -v postgres | wc -l
27
##############################################


Yeah, that's great.

A couple python interpreters loaded for each list member...

I don't mind the requirement for a DB and web server, since those are 
already on the machine, but this is too much.



I hear Sympa is okay. Anyone used it?

https://en.wikipedia.org/wiki/Sympa



For fun, I checked memory requirements on Mailman3:

  └─» # free -h
                total        used        free      shared  buff/cache 
available
Mem:           2.0Gi       1.3Gi       230Mi        65Mi       491Mi 
   656Mi
Swap:          1.0Gi       121Mi       902Mi

  └─» # systemctl stop mailman3*

  └─» # free -h
                total        used        free      shared  buff/cache 
available
Mem:           2.0Gi       293Mi       1.2Gi        64Mi       490Mi 
   1.6Gi
Swap:          1.0Gi       121Mi       902Mi


A gigabyte of RAM freed up just by stopping mailman3 and mailman3-web?!?



rb



More information about the conspire mailing list