[ mailman-Patches-828811 ] Reduced listinfo and admin CGI process size

SourceForge.net noreply at sourceforge.net
Thu Oct 23 06:30:08 EDT 2003


Patches item #828811, was opened at 2003-10-23 10:30
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=828811&group_id=103

Category: Web UI
Group: Mailman 2.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Richard Barrett (ppsys)
Assigned to: Nobody/Anonymous (nobody)
Summary: Reduced listinfo and admin CGI process size

Initial Comment:
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

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=828811&group_id=103



More information about the Mailman-coders mailing list