Re: [AMaViS-user] amavisd-new/SpamAssassin with "apache" style preforking?

This is a discussion on Re: [AMaViS-user] amavisd-new/SpamAssassin with "apache" style preforking? within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; On Mon, Feb 28, 2005 at 01:33:43PM -1000, Clifton Royston wrote: > I've not gotten time to ...


Go Back   Usenet Forums > Anti-Spam and Anti-Virus Related Forums > Amavis User

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-01-2005
Clifton Royston
 
Posts: n/a
Default Re: [AMaViS-user] amavisd-new/SpamAssassin with "apache" style preforking?

On Mon, Feb 28, 2005 at 01:33:43PM -1000, Clifton Royston wrote:
> I've not gotten time to play around with it. However, if you changed
> the section of amavisd reading:
>
> ...
> my $server = bless {
> server => {
> ...
> max_servers => $max_servers, # number of pre-forked children
> max_requests => $max_requests, # restart child after that many accept's
> ...
>
> to also initialize the hash elements for:
>
> min_servers (default 5)
> min_spare_servers (default 2)
> max_spare_servers (default 10)


P.S. This was intended to also imply that you change it to use and
derive from Net::Server::PreFork instead of PreForkSimple. If you
don't do that, the above changes would have no effect.

When I get time I'll give it a try, as I've gotten curious now.

-- Clifton

--
Clifton Royston -- cliftonr@tikitechnologies.com
Tiki Technologies Lead Programmer/Software Architect
"I'm gonna tell my son to grow up pretty as the grass is green
And whip-smart as the English Channel's wide..."
-- 'Whip-Smart', Liz Phair


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/...fo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 02:32 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0