[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with number of process
Bc. Radek Krejca wrote:
> Hello,
>
> i use FreeBSD with Qmail, SpamAssassin, Vpopmail, ClamAV and
> QmailScanner.
>
> Sometimes come to much e-mails in some time and I have to much
> processes which block my server for a long time (because Perl is too
> big).
>
>
You are blaming perl - but are you sure? Where exactly is the
bottleneck? If you have debugging enabled in Qmail-Scanner, then there
are tonnes of timestamps given throughout its processing of each message
- one might lead you to where the culprit is. i.e. all the the
sub-processes might take 0.02 sec to occur - except one which takes
20sec. A huge time like that shows that is the bottleneck. You might
find that SpamAssassin is to "blame", and that it is taking so long
because of all the network tests it does. Then you would want to figure
out how to reduce that time, etc, etc.
Hope that helps
--
Cheers
Jason Haar
Information Security Manager, Trimble Navigation Ltd.
Phone: +64 3 9635 377 Fax: +64 3 9635 417
PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1