Reduced listinfo and admin CGI process size

Bug #558091 reported by ppsys
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Mailman
Fix Released
Undecided
Unassigned

Bug Description

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 changes the behaviour 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.

This patch can be applied by running the following
command with either $build or $prefix as the current
directory, that is, you can apply the patch in the
build directory before running ./configure and make
install or to the installed system:

patch -p1 < path-to-patch-file

Revision history for this message
ppsys (ppsys-users) wrote :

The file lasmall-2.1.3-0.1.patch was added: Patch file for MM 2.1.3

Revision history for this message
bwarsaw (bwarsaw) wrote :

Logged In: YES
user_id=12800

I haven't looked at the patch, but +1 on the idea. Thanks!

Revision history for this message
bwarsaw (bwarsaw) wrote :

Logged In: YES
user_id=12800

Accepted for MM2.1.4

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.