For some network admins, doing connection throttling at the firewall
will be a great idea. For some system admins, doing it from a config
file will be a great idea ;-)

Poking around for Apache solutions, it looks like some people are using
mod_throttle and mod_bandwidth for Apache 1.3.x. Can't find anything for
2.0.x, so I guess they must be doing kernel level traffic shaping?

On a side note, here's good reading on how Apache handles sockets:

http://httpd.apache.org/docs/1.3/misc/perf-tuning.html
http://httpd.apache.org/docs/2.0/misc/perf-tuning.html

In particular, they used to only allow spawning one new child per
second. They say this worked great in real life, but sucked in
benchmarks. So now they allow an increasing number -- in consecutive
seconds, 1 new process, then 2, then 4... up to 32 processes per second
until the maxchildren setting is reached.

Aaron

On Fri, 2005-09-16 at 14:10 +0200, Paul J Stevens wrote:
> Isn't this something that rather belongs in the firewall?
> 
> Just a thought.
> 
> [EMAIL PROTECTED] wrote:
> > The following issue has been SUBMITTED. 
> > ====================================================================== 
> > http://www.dbmail.org/mantis/view.php?id=270 
> > ====================================================================== 
> > Reported By:                Arabian
> > Assigned To:                
> > ====================================================================== 
> > Project:                    DBMail
> > Issue ID:                   270
> > Category:                   General
> > Reproducibility:            N/A
> > Severity:                   feature
> > Priority:                   normal
> > Status:                     new
> > ====================================================================== 
> > Date Submitted:             16-Sep-05 10:58 CEST
> > Last Modified:              16-Sep-05 10:58 CEST
> > ====================================================================== 
> > Summary:                    Throttle feature
> > Description: 
> > Add Throttle feature into DBMail to protect it the IMAPD and POP3D from
> > being flooded by flooders with ability to have trusted IPs option in the
> > dbmail.conf so we could protect our webmail IPs from being blocked by the
> > Throttle tool.
> > 
> > Paul said 'Of course. It would also make sense to integrate such a feature
> > in the socket_acl code that appeared in 2.1 as part of the usermap
> > feature.'
> > ====================================================================== 
> > 
> > Issue History 
> > Date Modified   Username       Field                    Change              
> >  
> > ====================================================================== 
> > 16-Sep-05 10:58 Arabian        New Issue                                    
> > ======================================================================
> > 
> > _______________________________________________
> > Dbmail-dev mailing list
> > [email protected]
> > http://twister.fastxs.net/mailman/listinfo/dbmail-dev
> > 
> 

Reply via email to