[ OpenInfo Home ] [ UP ]

Mailman Patch #828811 Reduced listinfo and admin CGI process size


When the CGI scripts listinfo.py and admin.py are generating an overview page listing all the advertised mailing lists, they accumulate in memory a MailingList object for every mailing list to appear on the page. For sites with a large number of lists this can lead to the CGI process becoming quite large. This patch reduces the memory used by these CGI processes in such circumstances.


This patch is avaliable for Mailman 2.1.3

The changes made by this patch have been incorporated into Mailman 2.1.4 and thus it is not required for that and later releases.

Necessary Precursors


Changes Made

This patch changes listinfo.py and admin.py so that what is accumulated in memory by the scripts is only the information about each list that is necessary to generate the overview page. This should reduce the maximum size reached by the CGI process during their execution.

Applying the patch

Apply the patch from within the Mailman build directory using the command:

    patch -p1 < path-to-patch-file

The patch can also be applied to an installed system by running the patch command from within the Mailman $prefix directory.

Download Patch File

MM Version Download
2.1.4 Patch incorporated into Mailman source and no longer required.
2.1.3 Download

Click to e-mail comments or complaints Last updated: 1-Jan-04 9:22 am

[ OpenInfo Home ] [ UP ]