[Mailman-Users] MemoryError

zeus at procapperschallenge.com zeus at procapperschallenge.com
Mon Oct 31 13:54:35 CET 2005

	Here is your reply that you wanted bounced to the list.
I did a little more digging with the customer and found out that he
was trying to import 250,000 new emails to the list he created so your
answer might have hit the nail on the head.

	Thanks for your reply, I will make sure to check check with the
CPanel folks as well when I run into issues.



-----Original Message-----
From: Mark Sapiro
Sent: Sunday, October 30, 2005 9:14 PM
To: zeus at procapperschallenge.com
Subject: RE: [Mailman-Users] MemoryError

<zeus at procapperschallenge.com> wrote:

>Sorry, didnt realize I had missed that
>Oct 29 18:07:35 2005 admin(7105):
>admin(7105): [----- Mailman Version: 2.1.6 -----]
>admin(7105): [----- Traceback ------]
>admin(7105): Traceback (most recent call last):
>admin(7105):   File "/usr/local/cpanel/3rdparty/mailman/scripts/driver",
>line 101, in run_main
>admin(7105):     main()
>admin(7105):   File
>"/usr/local/cpanel/3rdparty/mailman/Mailman/Cgi/admin.py", line 198, in
>admin(7105):     mlist.Save()
>admin(7105):   File
>"/usr/local/cpanel/3rdparty/mailman/Mailman/MailList.py", line 557, in Save
>admin(7105):     self.__save(dict)
>admin(7105):   File
>"/usr/local/cpanel/3rdparty/mailman/Mailman/MailList.py", line 514, in
>admin(7105):     cPickle.dump(dict, fp, 1)
>admin(7105): MemoryError

I can't tell you a whole lot. First, please see

That said, the error occurs in saving the mail list object. This code
is exercised continuously for all lists, so the error must have
somethig to do with this list in particular.

A MemoryError exception is a built-in Python exception "Raised when an
operation runs out of memory but the situation may still be rescued
(by deleting some objects)."

How many members does this list have? According to the FAQ, the largest
list reported to date has 147,000 members and presumably works.
Possibly something in the cPanel implementation or your particular
installation limits this to a greater degree.

Possibly, there's something amis in the list's config.pck file, but
short of dumping it with bin/dumpdb or maybe listing members with
bin/list_members and examining those outputs for 'garbled data', I
wouldn't know what to look for.

Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

>-----Original Message-----
>From: Mark Sapiro
>Sent: Sunday, October 30, 2005 12:37 AM
>To: zeus at procapperschallenge.com; mailman-users at python.org
>Subject: Re: [Mailman-Users] MemoryError
><zeus at procapperschallenge.com> wrote:
>>I am getting the following error with mailman 2.1.6, red-hat. It started
>>occur while a customer was importing a new set of email adresss into their
>>mailinglist. They can login to the webadmin, but when they click on
>>"Membership" they get the "Weve Hit A Bug" message. This is what I see in
>>the error.log
>>I have searched around for what it could be, but cant find anything on
>>specific problem
>>admin(7105): MemoryError
>>admin(7105): [----- Python Information -----]
>>admin(7105): sys.version     =   2.2.3 (#1, Feb  2 2005, 12:20:51)
>>[GCC 3.2.3 20030502 (Red Hat Linux 3.2.3-49)]
>And what immediately precedes this in the log. The part that begins:
>mmm dd hh:mm:ss yyyy admin(pid):
>admin(pid): [----- Mailman Version: 2.1.6 -----]
>admin(pid): [----- Traceback ------]
>followed by the traceback.
>Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
>San Francisco Bay Area, California    better use your sense - B. Dylan

More information about the Mailman-Users mailing list