From owner-freebsd-stable@FreeBSD.ORG Thu Mar 18 05:43:30 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4923E16A4CE for ; Thu, 18 Mar 2004 05:43:30 -0800 (PST) Received: from tom.com (unknown [202.108.255.195]) by mx1.FreeBSD.org (Postfix) with SMTP id E89A443D4C for ; Thu, 18 Mar 2004 05:43:27 -0800 (PST) (envelope-from freebsdkid@tom.com) Received: from stuvodserver (unknown [202.115.22.13]) by bjapp5 (Coremail) with SMTP id f0IAAHOnWUARABYN.1 for ; Thu, 18 Mar 2004 21:43:24 +0800 (CST) X-Originating-IP: [202.115.22.13] From: "apache" To: freebsd-stable@freebsd.org X-mailer: Foxmail 4.2 [cn] Mime-Version: 1.0 Content-Type: text/plain; charset="GB2312" Content-Transfer-Encoding: quoted-printable Date: Thu, 18 Mar 2004 21:44:0 +0800 Message-Id: <20040318134327.E89A443D4C@mx1.FreeBSD.org> X-Mailman-Approved-At: Fri, 19 Mar 2004 06:20:20 -0800 Subject: HowTo Implement This..LOAD BALANCE.. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Mar 2004 13:43:30 -0000 Hello,EveryOne. here, I wanna use the freebsd the balance the load of= servers. I have two server.One is (SERVER-B)windows 2003 Enterprise= Version.the other is(SERVER-A) FreeBSD4.9-stable. the two is= providing the MP3 stream to the client. Can I Use the IpFw or IPFLITER to implement the" HTTP REQUEST= redirect", that is ,when client subscribe some request like: HTTP://SERVER-A/REMOTE/SOME.FILE I wanna this is request si redirect to HTTP://SERVER-B/REMOTE/SOME.FILE in order to decrease the load of server-A but the other requests should not be redirected,servered by= server-A. Here I have implement this using the apache's modules= "mod_rewrite",but I think it is not more efficient. because ,when I do "netstat -n " there si so much tcp= connectting with state "TIME_WAIT",as this ,When I increase the= " MaxClients "in the httpd.conf ,when I do some other programme like"FTP,/usr/local/apache2/bin/ab ",I got an= error"Socket:no buffer space available", How can I avoid this ? How can I make the freebsd more powerfull? Thanks for your kindly reply. =09 =09=09=09=09 =A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1freebsdkid =A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1freebsdkid@tom.com =A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A12004-03-18