This is a multi-part message in MIME format. --------------020106090604060307080801 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 03/05/2007 09:03 PM, Mark Martinec wrote: >> When using amavisd as a before-queue filter or when using it as a >> central filter for many MTAs, it might be useful to let Net::Server >> dynamically fork additional children if necessary. >> >> I've done a patch (attached) that lets the Amavis-class use >> Net::Server::PreFork instead of Net::Server::PreForkSimple as base >> class, if the (new) $min_servers configuration variable is set. It also >> introduces the three new config-variables $min_servers, >> $min_spare_servers, $max_spare_servers. See >> http://search.cpan.org/~rhandom/Net-Server-0.95/lib/Net/Server/PreFork.pm#C >> OMMAND_LINE_ARGUMENTS for details. >> >> I hope you'll find it useful. > > Thanks. I'll take the patch, as it is quite straightforward and small, > and may help sites like yours with a pre-queue filtering setup. Thanks. But be careful, there was a small typo in yesterdays patch: + max_spare_servers => $min_spare_servers, should be: + max_spare_servers => $max_spare_servers, The corrected version is attached. Sorry about that. > For normal after-queue setup I don't think it is of much use. Yes, I agree. I'd also recommend it's usage only to some special setups. Cheers, --leo -- ----------------------------------------------------------------------- Alexander.Bergolth@wu-wien.ac.at Fax: +43-1-31336-906050 Zentrum fuer Informatikdienste - Wirtschaftsuniversitaet Wien - Austria --------------020106090604060307080801 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV --------------020106090604060307080801 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/ --------------020106090604060307080801--