Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 30712 invoked from network); 3 Aug 2004 18:36:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 3 Aug 2004 18:36:11 -0000 Received: (qmail 85432 invoked by uid 500); 3 Aug 2004 18:36:02 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 85375 invoked by uid 500); 3 Aug 2004 18:36:02 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 85362 invoked by uid 99); 3 Aug 2004 18:36:01 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [64.236.240.190] (HELO web.turner.com) (64.236.240.190) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 03 Aug 2004 11:36:01 -0700 Received: from web.turner.com (5qjn221-udp04934966uds.turner.com [10.188.50.128]) by web.turner.com (8.12.9/8.12.9) with ESMTP id i73IZxg0021732 for ; Tue, 3 Aug 2004 14:35:59 -0400 (EDT) Message-ID: <410FDB0F.2090303@web.turner.com> Date: Tue, 03 Aug 2004 14:35:59 -0400 From: David Nicklay User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040413 Debian/1.6-5 X-Accept-Language: en MIME-Version: 1.0 To: dev@httpd.apache.org Subject: Re: mod_cache performance References: <40B25DBF8F84D316162D79F8@[10.0.1.74]> <410D0B83.9040100@wstoddard.com> <413520F52887259736D5D43B@[10.0.1.76]> <410E378F.1020305@web.turner.com> <410E3FEC.1050609@web.turner.com> <568E8683FD2603706426BF68@[10.0.1.77]> <410E8CB2.3030901@wstoddard.com> <46691D3B135C998AD921EFEE@[10.0.1.78]> <410F80EC.1010706@web.turner.com> <410FD3EA.4040309@web.turner.com> In-Reply-To: <410FD3EA.4040309@web.turner.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, Send us your squid.conf and your configure options from when you built it (as well as what squid version), and I can tell you how to optimize it. I've had a lot of practice...... Brian Akins wrote: > Justin Erenkrantz wrote: > >> --On Tuesday, August 3, 2004 8:11 AM -0400 Brian Akins >> wrote: >> >>> Under load, squid will always use 100% of the CPU. This is because >>> it uses >>> poll/select. >> >> >> >> Ouch. That sucks. >> >> (But, httpd uses poll - so why does that force 100% CPU usage?) >> > > httpd blocks. Squid doesn't in general. Squid just calls poll over and > over and does lots of very small reads and writes. > >> >> Is it worth compiling my own squid then? (Read that as 'reboot my box >> to FreeBSD and use the squid port.') >> > Check the configure and make sure you up open files and use poll. Also > kill ident checks. > > -- David Nicklay O- Location: CNN Center - SE0811A Office: 404-827-2698 Cell: 404-545-6218