From owner-freebsd-questions@FreeBSD.ORG Sat Jun 24 12:19:55 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F20216A4A7 for ; Sat, 24 Jun 2006 12:19:55 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFDA943D5A for ; Sat, 24 Jun 2006 12:19:54 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 3697D5EEF; Sat, 24 Jun 2006 08:19:54 -0400 (EDT) X-Virus-Scanned: amavisd-new at codefab.com Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xYMRdkHuo3Bj; Sat, 24 Jun 2006 08:19:52 -0400 (EDT) Received: from [192.168.1.251] (pool-68-160-201-170.ny325.east.verizon.net [68.160.201.170]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pi.codefab.com (Postfix) with ESMTP id 00F755D47; Sat, 24 Jun 2006 08:19:51 -0400 (EDT) Message-ID: <449D2DE4.6090908@mac.com> Date: Sat, 24 Jun 2006 08:19:48 -0400 From: Chuck Swiger User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: Imran Imtiaz References: <200606241158.k5OBw6RN072066@darkstar.thelakecity.com.pk> In-Reply-To: <200606241158.k5OBw6RN072066@darkstar.thelakecity.com.pk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: squid response 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: Sat, 24 Jun 2006 12:19:55 -0000 Imran Imtiaz wrote: > I wanna ask does squid queue the requests if there are to many already to > serve cause I've slow internet connection and sometimes where there is to > much load the I can't see the requests coming from my computer being served > by hit I've seen this from access.log of squid. Is there a way to improve > this thing we can have threading in this case or something else to server ? Squid will serve many requests in parallel, but it is using select() rather than explicit multithreading. If you've provided enough RAM and disk space to Squid, it ought to improve the performance you get over a slow link by a decent amount (20-50% is not uncommon), but you have to tune it appropriately to get the best results... It's also not uncommon for sites which use a lot of dynamic advertising to prevent downloading in parallel from working as it should, and you'll see the page hang download some ad image... -- -Chuck