|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
speed, more speed
From: Piotr KUCHARSKI (chopin
sgh.waw.pl)
Date: Mon Sep 01 2003 - 19:57:15 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
I have some performance problems on a mail hub. It is (no surprise)
due to the antivirus scanning. I wonder, whether I could speed it up.
The relevant setup is:
:smtp inet n - n - - smtpd
-ocontent_filter=avcheck
localhost:10025 inet n - n - - smtpd
-ocontent_filter=
-olocal_recipient_maps=
-ovirtual_maps=
-osmtpd_recipient_restrictions=static:OK,reject
avcheck unix - n n - 42 pipe
flags=q user=avclient argv=/var/spool/drweb/avcheck
-d /var/spool/drweb/./tst -s drweb:/var/spool/drweb/run/drwebd.socket
-f ${sender} -S :10025 -- ${recipient}
DrWeb is set up as chrooted daemon. Avcheck is putting mails
to tst/ dir and passes the name to daemon over socket, so it can
check it. No cleaning is done. DrWeb's MaxChildren is set to 50.
After that, the message is reinjected back to postfix and delivered.
(Plus possible notifications to sender (if virus not faking sender)
and to administrator.)
With a volume of 60-100k mails a day (all delivered to avcheck)
I experience delays of 2hours per mail during peak hours.
Is there anything (apart from another similar box and another
MX doing load balance) I can do? Box is FreeBSD 4.8-S, two 1GHz P3,
1GB ram, LA not above 0.40, usually around 0.05.
Postfix 2.0.13, attached postconf -n
p.
--
Beware of he who would deny you access to information, for in his
heart he dreams himself your master. -- Commissioner Pravin Lal
http://nerdquiz.sgh.waw.pl/ -- polska wersja quizu dla nerdów ;)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]