[Mailman-Users] Python process size grows 30x in 8 hours (memory
barry at list.org
Thu Jul 3 05:05:13 CEST 2008
-----BEGIN PGP SIGNED MESSAGE-----
On Jul 2, 2008, at 11:01 PM, Mark Sapiro wrote:
> The attached 'post' file is a modified version of scripts/post.
Hi Mark, there was no attachment.
> It does the following compared to the normal script.
> The normal script reads the message from the pipe from the MTA and
> queues it in the 'in' queue for processing by an IncomingRunner. This
> script receives the message and instead queues it in the 'bad' queue.
> It then looks at the size of the 'bad' queue entry (a Python pickle
> that will be just slightly larger than the message text). If the size
> is less than MAXSIZE bytes (a parameter near the beginning of the
> script, currently set to 1000000, but which you can change as you
> desire), it moves the queue entry from the 'bad' queue to the 'in'
> queue for processing.
I'm not sure 'bad' should be used. Perhaps a separate queue called
'raw'? It is nice that files > MAXSIZE need only be left in 'bad'.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
-----END PGP SIGNATURE-----
More information about the Mailman-Users