[Mailman-Users] sgsave = cPickle.dumps(_msg, 1): MemoryError: out of memory
Steve Mertz
steve at openspirit.com
Thu Apr 17 20:01:44 CEST 2003
If you read my message, you will see that it's cPickle.dumps() that is
causing the memory error. Sending large emails (10+M) through just
sendmail works fine.
The problem is with Mailman here....
On Thu, 2003-04-17 at 12:49, Sullivan, John wrote:
> It sounds like a problem with Send Mail. I'm not to familiar with the
> tweaking of sendmail maybe try posting it on their mailing lists.
>
> -----Original Message-----
> From: Steve Mertz [mailto:steve at openspirit.com]
> Sent: Thursday, April 17, 2003 1:52 PM
> To: Sullivan, John
> Cc: Mailman-Users at python.org
> Subject: RE: [Mailman-Users] sgsave = cPickle.dumps(_msg, 1): MemoryError:
> out of memory
>
> There is one user on the list. Myself. I set this up for testing before
> implementing (good thing I did!)
>
> -- Steve
>
>
> On Thu, 2003-04-17 at 12:43, Sullivan, John wrote:
> > How many users are on your list?
> >
> > I believe there's an option to lower the number of recipients that get
> > spooled at a time - I think default is 500 maybe you want to drop that
> down
> > to 50 or 100 and work you way up from there until you find a working
> > threshold.
> >
> >
> >
> > -----Original Message-----
> > From: Steve Mertz [mailto:steve at openspirit.com]
> > Sent: Thursday, April 17, 2003 1:44 PM
> > To: Mailman-Users at python.org
> > Subject: [Mailman-Users] sgsave = cPickle.dumps(_msg, 1): MemoryError: out
> > of memory
> >
> > When trying to send a large message (5M or larger) to a Mailman list, it
> > seems to puke due to lack of memory:
> >
> >
> > marcos:mailman {106}
> > Traceback (most recent call last):
> > File "/usr/local/mailman/bin/qrunner", line 270, in ? main()
> > File "/usr/local/mailman/bin/qrunner", line 230, in main qrunner.run()
> > File "/usr/local/mailman/Mailman/Queue/Runner.py", line 59, in run
> > filecnt = self._oneloop()
> > File "/usr/local/mailman/Mailman/Queue/Runner.py", line 111, in _oneloop
> > self._shunt.enqueue(msg, msgdata)
> > File "/usr/local/mailman/Mailman/Queue/Switchboard.py", line 91, in
> > enqueue
> > msgsave = cPickle.dumps(_msg, 1)
> > MemoryError: out of memory
> >
> > I am running on OpenBSD 3.1, with 512M ram. Mailman 2.1.1.
> >
> > Running the mailman account with csh and here are the limits:
> > marcos:mailman {102} limit
> > cputime unlimited
> > filesize unlimited
> > datasize 65536 kbytes
> > stacksize 4096 kbytes
> > coredumpsize unlimited
> > memoryuse 481368 kbytes
> > memorylocked 160456 kbytes
> > maxproc 128
> > openfiles 64
> >
> >
> > Anyone have any ideas?
> >
> >
> >
> >
> > --
> > Steve Mertz
> > System Administrator
> >
> > OpenSpirit Corporation
> > 77 Sugar Creek Centre Blvd, Suite 550
> > Sugar Land, TX 77478
> >
> > ------------------------------------------------------
> > Mailman-Users mailing list
> > Mailman-Users at 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/
> >
> > This message was sent to: jsullivan at mlsnet.com
> > Unsubscribe or change your options at
> >
> http://mail.python.org/mailman/options/mailman-users/jsullivan%40mlsnet.com
> >
> --
> Steve Mertz
> System Administrator
>
> OpenSpirit Corporation
> 77 Sugar Creek Centre Blvd, Suite 550
> Sugar Land, TX 77478
>
--
Steve Mertz
System Administrator
OpenSpirit Corporation
77 Sugar Creek Centre Blvd, Suite 550
Sugar Land, TX 77478
More information about the Mailman-Users
mailing list