From: David W. Tamkin
Sent: Sunday, February 22, 2004 11:16 AM
To: Procmail List
Subject: Re: Has anyone tried 'formail -n <processes>' with success?
Gary asked,
I tried running my SA markup extractor as follows:
formail -n 4 -s procmail $HOME/scripts/remove_sa_markup.rc < spam.mbox
What actually happened is that the system became swamped by hundreds of
procmail processes, so I had to kill the job.
1. Does that rcfile clone procmail at any point, or reinvoke procmail
recursively?
No. it calls 'sed' and 'formail' (but only to rewrite some headers).
2. What happens if you don't use -n at all and let formail wait for each
procmail to end before forking the next?
Works fine.
3. What happens if you type "-n4" without the space (shouldn't make a
difference, but I'm placing no bets)?
Good idea, but didn't help. It looks as if formail attempt to create
one process for each mail message. And of course all those procmail's
stacked up on file locks.
(this is procmail 3.22 on RH 9.0, with all updates)
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail