[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: restricting process limit



Daniel Pittman <daniel@rimspace.net> writes:

> On Mon, 26 Apr 2004, George Georgalis wrote:
>> On Mon, Apr 26, 2004 at 06:44:35PM +0200, LeVA wrote:
>> 
>>>So when I'm getting a large amount of messages there is approx. 15-20 
>>>spamc/spamd running. I want to limit this to ~5. 
>> 
>> I suspect if spamc invokes spamd but spamd reached its max-children
>> then spamc will act as if spamd timed out, or report ham.
>
> That depends on the options you pass to spamc; I pass -x which says
> "report a temp failure in that case", and advise that for general use.

I'm not sure if this is helpful to the original poster, but I invoke
spamc from within procmail, and use a lockfile to limit it to one
invocation at a time.  

Does anyone see a problem with this setup?  (I use exim as my MTA.)

Thanks,

Dan



Reply to: