From owner-freebsd-stable@FreeBSD.ORG Wed Jan 23 14:54:58 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F0E3B16A46B for ; Wed, 23 Jan 2008 14:54:58 +0000 (UTC) (envelope-from vanillahsu@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by mx1.freebsd.org (Postfix) with ESMTP id 53A3913C45D for ; Wed, 23 Jan 2008 14:54:58 +0000 (UTC) (envelope-from vanillahsu@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so2738316fgg.35 for ; Wed, 23 Jan 2008 06:54:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=VrkWpMtxCX0frk+9BrbV7LwLh1AzyGt1CCGRgc4WI/E=; b=wj5H9OhXTn2k1rZyoFAKcJBGt8Kn+o7Z9ACN3dwtmtxl5OpgQSmJdklVzWCdWVaI7vzCQ6CfmrtybcmlnMw9zrFgVMWF0kgrrEu5I71GuCHAHTH4qRFgxYM7xrEkt4vOFe2qnNqjLodo/sT1Xx0Gk3LcmnHSLLoVYzuHLQ/XXDA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=i9389VJlX997zsqViQxG42FDIGeDh20Vl9kHO4X/A/9dAQC2f+6ueEStAG6WpcC3qbzshbrWSY9ZOgu2GDEVLCvTlAhJ8aERVRBBHZZs0d6s2vaIpEjK0nL6Fm3+rEHzgeCp6I9IJb9G+c/UmKUjdY/cosLLkxZ/3tK28HhjS64= Received: by 10.86.99.9 with SMTP id w9mr8929324fgb.58.1201098343424; Wed, 23 Jan 2008 06:25:43 -0800 (PST) Received: by 10.86.77.1 with HTTP; Wed, 23 Jan 2008 06:25:43 -0800 (PST) Message-ID: <56b32a00801230625m2fdbd6a8i2cc2116c64718c95@mail.gmail.com> Date: Wed, 23 Jan 2008 22:25:43 +0800 From: "Vanilla Hsu" To: freebsd-stable@freebsd.org, vanillahsu@gmail.com MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: FreeBSD 6.3-Release + squid 2.6.17 = Hang process. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jan 2008 14:54:59 -0000 Hi: We have a machine running 6.2-R-p10 and squid 2.6.17, and upgrade it to 6.3R yesterday, but squid will hang and eat 100% cpu time after restart about 1 hour later, machine still alive, and no response from squid. downgrade to 6.2-R-p10, everything ok again.. here is some infomations: machine type: FreeBSD 6.3-RELEASE #0: Wed Jan 23 01:58:39 CST 2008 CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2399.33-MHz 686-class CPU) real memory = 3221159936 (3071 MB) top: PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 8674 squid 1 121 0 105M 100M CPU3 1 0:26 98.54% squid truss: (no response) _xx@xxxx_[root]:~#truss -p 8674 gdb: (gdb) bt #0 0x881679eb in pthread_sigmask () from /lib/libpthread.so.2 #1 0x8816799c in sigprocmask () from /lib/libpthread.so.2 #2 0x88172544 in pthread_mutexattr_init () from /lib/libpthread.so.2 #3 0x88164680 in fork () from /lib/libpthread.so.2 #4 0x08091091 in ?? () #5 0x00000012 in ?? () #6 0x00000004 in ?? () #7 0x080e6edb in ?? () #8 0xbfbfe4a4 in ?? () #9 0x00000004 in ?? () #10 0x00000000 in ?? () netstat -h 8: 118K 0 37M 204K 0 262M 0 121K 0 37M 204K 0 255M 0 124K 0 30M 204K 0 248M 0 116K 0 36M 201K 0 257M 0 117K 0 40M 202K 0 260M 0 120K 0 45M 205K 0 261M 0 120K 0 49M 201K 0 253M 0 106K 0 41M 178K 0 224M 0 6.8K 0 3.1M 7.4K 0 5.7M 0 5.5K 0 3.2M 5.9K 0 3.5M 0 3.4K 0 1.6M 3.5K 0 1.6M 0 4.3K 0 2.5M 4.8K 0 2.5M 0 3.8K 0 2.2M 4.3K 0 2.2M 0 3.5K 0 1.7M 3.8K 0 1.9M 0 2.4K 0 857K 2.5K 0 948K 0 2.2K 0 593K 2.2K 0 586K 0 we try to use libmap.conf to make squid use libthr, but still hang... -- thanks.