From owner-freebsd-net@FreeBSD.ORG Tue Oct 14 14:38:22 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D0A0616A4B3 for ; Tue, 14 Oct 2003 14:38:22 -0700 (PDT) Received: from relay.macomnet.ru (relay.macomnet.ru [195.128.64.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 646E643F85 for ; Tue, 14 Oct 2003 14:38:21 -0700 (PDT) (envelope-from maxim@macomnet.ru) Received: from news1.macomnet.ru (mcfss2mv@news1.macomnet.ru [195.128.64.14]) by relay.macomnet.ru (8.12.10/8.12.10) with ESMTP id h9ELcFDt18688665; Wed, 15 Oct 2003 01:38:15 +0400 (MSD) Date: Wed, 15 Oct 2003 01:38:15 +0400 (MSD) From: Maxim Konovalov To: mzu@cs.uh.edu In-Reply-To: <14759.63.172.179.2.1066161024.squirrel@mail.cs.uh.edu> Message-ID: <20031015013736.V58734@news1.macomnet.ru> References: <14759.63.172.179.2.1066161024.squirrel@mail.cs.uh.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-net@freebsd.org Subject: Re: HELP!!! DummyNet causing machine dead! X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2003 21:38:22 -0000 On Tue, 14 Oct 2003, 14:50-0500, mzu@cs.uh.edu wrote: > > I have three Squid machines working together as a cache array. > I used Dummynet to control the inter-cache bandwidth. > > My three squid is 10.12.0.1, 10.12.0.2 and 10.12.0.3 > > I used the following commands to create pipes in each squid > For example, in Squid1: > ipfw add pipe 1 IP from 10.12.0.1 to 10.12.0.2 out > ipfw add pipe 2 IP from 10.12.0.1 to 10.12.0.3 out > ipfw pipe 1 config bw 10Mbit/s queue 75Kbytes > ipfw pipe 2 config bw 10Mbit/s queue 75Kbytes > > I have another program to change the bandwidth of each pipe every half an > hour, with a lot of traffic going through the caches at the same time. So > that the configeration for a pipe can change > > FROM: ipfw pipe 1 config bw 10Mbit/s queue 73Kbytes > > TO: ipfw pipe 1 config bw 2Mbit/s queue 25Kbytes > > Then in very short time, the machine is dead. I think the problem might > because of the setting of "queue". But I don't know how much should be > correct. I was using "bw x Mbit/s queue 6*x+13 Kbytes". > > Oh, when bandwidth change from 5M to 3M ,or 8M to 5M (smaller difference), > the machines will run just fine with my 6*x+13 setting. Only steep jump > like from 8M to 2M will always cause death. > > Please help me out!!! This is emergency!!!! ... and uname -a says?