> Lachlan Michael wrote: >> >>One more data point. An attachment of 500-600kB was ok, but an attachment >>of 1.5MB was not. >> >>For the 1.5MB file case, the memory errors just kept coming until the >> .bak >>file was left in place, and not moved away. Does this point to the mail >>just being too big for python? > > > No. This is really the same underlying problem. It is just manifesting > itself in an unanticipated way in the 1.5MB case. I will fix this, > probably later today, and send a revised Switchboard.py.
Thank-you. I received the file off-list. The newer Switchboard.py works a treat, and with a 2.3MB attachment got the following result (good) Feb 07 12:27:41 2008 qrunner(36243): Traceback (most recent call last): Feb 07 12:27:41 2008 qrunner(36243): File "/usr/local/mailman/bin/qrunner", line 278, in <module> Feb 07 12:27:41 2008 qrunner(36243): main() Feb 07 12:27:41 2008 qrunner(36243): File "/usr/local/mailman/bin/qrunner", line 238, in main Feb 07 12:27:41 2008 qrunner(36243): qrunner.run() Feb 07 12:27:41 2008 qrunner(36243): File "/usr/local/mailman/Mailman/Queue/Runner.py", line 71, in run Feb 07 12:27:41 2008 qrunner(36243): filecnt = self._oneloop() Feb 07 12:27:41 2008 qrunner(36243): File "/usr/local/mailman/Mailman/Queue/Runner.py", line 100, in _oneloop Feb 07 12:27:41 2008 qrunner(36243): msg, msgdata = self._switchboard.dequeue(filebase) Feb 07 12:27:41 2008 qrunner(36243): File "/usr/local/mailman/Mailman/Queue/Switchboard.py", line 160, in dequeue Feb 07 12:27:41 2008 qrunner(36243): msg = cPickle.load(fp) Feb 07 12:27:41 2008 qrunner(36243): MemoryError Feb 07 12:27:41 2008 (36976) Unpickling .bak exception: preserving file: 1202354860.860585+e4058698929b53b32944a60dbc3b8bad171e3028 > I am sorry for your difficulties, but I really appreciate your help in > getting the Mailman side of this fixed. No problem. Certainly these fixes, while not a complete solution for me, have mitigated the pain somewhat. Also I have now installed the daily script that was mentioned in the list a few days ago, to receive a report about the status of Mailman/errors/number of sent messages etc and this will be helpful too. > Ultimately, you will need to fix the underlying issue. I don't know how > to do that, but these errors should not be happening. In most > installations, Mailman can handle messages of tens of megabytes withot > this problem. At the moment it is a case of trying one thing at a time. Thanks again for your prompt help and excellent program!
------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp