From owner-freebsd-questions@FreeBSD.ORG Sun Feb 18 21:20:54 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EBDEA16A400 for ; Sun, 18 Feb 2007 21:20:54 +0000 (UTC) (envelope-from tedm@toybox.placo.com) Received: from mail.freebsd-corp-net-guide.com (mail.web-strider.com [65.75.192.90]) by mx1.freebsd.org (Postfix) with ESMTP id 9C71213C441 for ; Sun, 18 Feb 2007 21:20:54 +0000 (UTC) (envelope-from tedm@toybox.placo.com) Received: from coolf89ea26645 (nat-rtr.freebsd-corp-net-guide.com [65.75.197.130]) by mail.freebsd-corp-net-guide.com (8.11.1/8.11.1) with SMTP id l1ILKcI08183; Sun, 18 Feb 2007 13:20:38 -0800 (PST) (envelope-from tedm@toybox.placo.com) Message-ID: <006e01c753a2$66235f30$3c01a8c0@coolf89ea26645> From: "Ted Mittelstaedt" To: "Grzegorz Pluta" , References: <5B3C78804BA54081B1B07AC04C3EFBC0@gregslap> Date: Sun, 18 Feb 2007 13:18:55 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1807 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 Cc: Subject: Re: Apache 1.3.x bandwich limiter X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Feb 2007 21:20:55 -0000 In my opinion, Your best of setting the maximum number of simultaneous sessions that your Apache will spawn, (MaxClient setting) rather than trying to limit bandwidth. Read the following: http://httpd.apache.org/docs/1.3/misc/perf-tuning.html The reason for doing it this way is if you server gets hit at 5:00pm with 100 simultaneous requests of 10K each, and you want to limit your bandwith to 500k, you better off having 50 of those requests served out the 10K, and 50 of them simply denied, than all 100 of them being served out the 10K at half-speed. (or 200 requests being served out at quarter speed, etc.) The 50 people who get denied will simply retry a few minutes later. But, if you respond to all 100 requests, then a lot of the respondents may think your server is too slow, and terminate the browser session when 30% of the data has been transferred to them, then wait and retry later. You may have this happen with some of them 2 or 3 times. The end result is a lot of the connection requests will cause your server to ultimate transmit 16 or19K for every 10K request, thus increasing your overall bandwidth usage. Needless to say, I assume you have ALREADY done the normal things like change all your images on your site to highly compressed jpgs, rewrite your webpages to reduce graphic load and increase text to make them smaller, get rid of bullcrap like macromedia flash, etc. in other words, put your web pages on a diet. Ted ----- Original Message ----- From: "Grzegorz Pluta" To: Sent: Sunday, February 18, 2007 4:29 AM Subject: RE: Apache 1.3.x bandwich limiter > BANDWIDTH is what I ment ofcourse ;] > sorry for the mistake. > cheers, > > > -----Original Message----- > > From: Grzegorz Pluta [mailto:grzegorz.pluta@segi.pl] > > Sent: Sunday, February 18, 2007 1:27 PM > > To: 'freebsd-questions@freebsd.org' > > Subject: Apache 1.3.x bandwich limiter > > > > Hello! > > Id like to limit my both incoming and outgoing bandwich > > to/from my apache 1.3.x server... I know there are modules > > that can do the trick, but could you possibly reccomend me > > any good ones? > > > > thanks in advance, > > Greg > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >