[Mailman-Users] Problems using populate_new_list

Christopher G. Petrilli petrilli at amber.org
Fri Feb 5 17:09:31 CET 1999

On Fri, Feb 05, 1999 at 05:05:25PM +0100, Harald Meland wrote:
> [Christopher G. Petrilli]
> > I'm getting problems adding peopel to the list... using
> > populate_new_list.... did I miss something somewhere?
> [...]
> >   File "/home/mailman/Mailman/Utils.py", line 147, in DeliverToUser
> >     if not os.fork():
> > OSError: [Errno 35] Resource temporarily unavailable
> os.fork() seems to raise and OSError exception, saying some resource
> is unavailable.  I guess populate_new_list forks off one "send welcome
> text" process for each user you're adding, and your machine runs out
> of memory or filehandles or whatever.

Well, I'd buy this, except...

the machine it's running on:

	2 x PentiumPro/200-512K
	256Mb RAM
	FreeBSD 3.0-SMP

And it there are no limits imposed on the mailman user on this
machine... so... also it's just not that many users honestly.  It seemed
like if I added more than 25-30, it would blow up.

> Maybe populate_new_members should catch this exception, go to sleep
> for a while (until the spawned delivery processes are (most probably)
> done) and then try to resume?

That sounds better, or... throttle to a certain number per second... I
don't THINK there's any way to control speed of process creation v.
number of processes.

> For now, however, you should be able to get away with splitting up the
> list of subscribers you're trying to add, and add them a chunk at a
> time.

That's what I did.

| Christopher Petrilli
| petrilli at amber.org

More information about the Mailman-Users mailing list