From owner-freebsd-net@FreeBSD.ORG Wed Jun 30 12:39:09 2004 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 7346516A4CE; Wed, 30 Jun 2004 12:39:09 +0000 (GMT) Received: from Awfulhak.org (awfulhak.demon.co.uk [80.177.173.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD69643D2D; Wed, 30 Jun 2004 12:39:08 +0000 (GMT) (envelope-from brian@Awfulhak.org) Received: from mail.lan.Awfulhak.org (brian@dev.lan.Awfulhak.org [172.16.0.5]) by Awfulhak.org (8.12.11/8.12.11) with SMTP id i5UCdOKi051193; Wed, 30 Jun 2004 13:39:24 +0100 (BST) (envelope-from brian@Awfulhak.org) Date: Wed, 30 Jun 2004 13:39:23 +0100 From: Brian Somers To: Gregory Edigarov Message-Id: <20040630133923.5aedaade@dev.lan.Awfulhak.org> In-Reply-To: <20040630094314.GA1016@profi.kharkov.ua> References: <20040630094314.GA1016@profi.kharkov.ua> X-Mailer: Sylpheed version 0.9.11claws (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on gw.lan.Awfulhak.org cc: freebsd-net@freebsd.org cc: freebsd-current@freebsd.org cc: squid-users@squid-cache.org cc: freebsd-questions@freebsd.org Subject: Re: Squid, FreeBSD, Multilink PPP 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: Wed, 30 Jun 2004 12:39:09 -0000 On Wed, 30 Jun 2004 12:43:14 +0300, Gregory Edigarov wrote: > Hello, > > I have Squid-2.5 running on FreeBSD 5-Current. We have 2 ppp links, > and use them in multilink mode, through userlevel ppp. > If one or both links fail and then come up, say, if I just turn the > modem power off and on all the web browsing becomes very slow > squid. > It takes forever for squid to show a page which, in a normal > conditions, would take only a few seconds. Pings to those sites I am > trying to open are just fine. > Taking squid down and then up have no effect. The only thing help is > rebooting > the whole system. > > Is there anything I can do? How does ppp deal with the link loss - does it notice immediately ? I would expect very little latency if it does as it should be able to just trash the existing queued data and continue using the other link. I guess other connections suffer the same problems -- it's not just squid ? It might be interesting doing a ``show mp'' or ``show bundle'' to determine what sort of packet queuing and reassembly is happening after the link is lost. If the queues are large, you might get slightly better performance by reducing the links mtu (set mtu max), but really, things should recover ok even with a ~1500 MTU. -- Brian Don't _EVER_ lose your sense of humour !