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

SourceForge.net noreply at sourceforge.net
Wed Dec 24 12:27:11 EST 2003


Patches item #828811, was opened at 2003-10-23 06:30
Message generated for change (Comment added) made by bwarsaw
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: Closed
>Resolution: Accepted
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

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

>Comment By: Barry A. Warsaw (bwarsaw)
Date: 2003-12-24 12:27

Message:
Logged In: YES 
user_id=12800

Accepted for MM2.1.4

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

Comment By: Barry A. Warsaw (bwarsaw)
Date: 2003-10-23 11:39

Message:
Logged In: YES 
user_id=12800

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

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

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