From owner-freebsd-stable@FreeBSD.ORG Tue Sep 16 16:45:18 2008 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05A0B1065678 for ; Tue, 16 Sep 2008 16:45:18 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.234]) by mx1.freebsd.org (Postfix) with ESMTP id CA3808FC1D for ; Tue, 16 Sep 2008 16:45:17 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so3606400rvf.43 for ; Tue, 16 Sep 2008 09:45:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=aYkv+8BwB3qrWqfAZ2LkggfzjHGl7BoFYvpmdGngMd8=; b=BGJDyUw30035BlxGs6YIEd1uXM3p7NLVc3wo3i1OnA0bLWsLYs+5JO5Kt10oGqpV2m ik/no5DD9tNHgFQU7XrqzcUZSHHc2vT8Ap7ZhEeNPHGzzEG4sd0Xaso2kIn4LBq40NEO FrIl1C0F0cydRYt3+MOs40eGASb+aQupWMLIA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=swdAAZ2kxEZr6S9kDNbJ+McCkP2BMlkScVvocTkubm9NcccpbkSU+4e1VxJzsGTd8x RTfEVPSePGnrPK8koK1eNSRhBBfB8vxFQ83pCG6CTGM8sUaVsv9lHOLKamiAZHzYKpFH 18Z46gH1TA3GKlH7gRxqfTLN35RNBBXpTDcHg= Received: by 10.141.164.13 with SMTP id r13mr5831901rvo.150.1221583517325; Tue, 16 Sep 2008 09:45:17 -0700 (PDT) Received: by 10.141.159.2 with HTTP; Tue, 16 Sep 2008 09:45:17 -0700 (PDT) Message-ID: <9bbcef730809160945y8f472bfw60af0d22149d9376@mail.gmail.com> Date: Tue, 16 Sep 2008 18:45:17 +0200 From: "Ivan Voras" Sender: ivoras@gmail.com To: "Alfred Perlstein" In-Reply-To: <20080916164203.GL36572@elvis.mu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080912165808.GE16977@elvis.mu.org> <9bbcef730809121444u34991c52m2cbc01a8ada47eb5@mail.gmail.com> <20080912225251.GG16977@elvis.mu.org> <9bbcef730809151604i28533745m286e7314810d0362@mail.gmail.com> <20080916022738.GJ36572@elvis.mu.org> <9bbcef730809160212m72fffc7k93d0c92ace2b7c19@mail.gmail.com> <20080916164203.GL36572@elvis.mu.org> X-Google-Sender-Auth: f22fd81409ab0b66 Cc: stable@freebsd.org, freebsd-threads@freebsd.org Subject: Re: Apache-worker stuck at 100% CPU 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: Tue, 16 Sep 2008 16:45:18 -0000 2008/9/16 Alfred Perlstein : > * Ivan Voras [080916 02:12] wrote: >> Sorry, I should have been more verbose - "info threads" should work >> but it doesn't - I can attach and get threads from a "regular" >> multithreaded process, but when yesterday when I attached to the stuck >> process, I couldn't get the list of threads. I'll try again the next >> time it gets stuck and try to provide more information. > > If it happens again, you could try sending it a SIGABRT or SEGV > and then trying to diagnose the core dump. > > Or try using gcore to generate a coredump and debug that. It happens approximately every two days; I've rebuild apache with debugging symbols so it will be easier to dig around this time.