From owner-freebsd-stable@FreeBSD.ORG Tue Sep 16 09:12:02 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 5429110656B6 for ; Tue, 16 Sep 2008 09:12:02 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.235]) by mx1.freebsd.org (Postfix) with ESMTP id 240AA8FC38 for ; Tue, 16 Sep 2008 09:12:01 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so3395270rvf.43 for ; Tue, 16 Sep 2008 02:12:01 -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=zyOipxLHinL8bH0ZT8bZ3EQlmZRkqdDuDsbT6tjzRSU=; b=hdkNIIYCwKa6i33KQjzT8fu4reD/qmT31FikuJ56Kk+tUIGxx36rH5SeV7VGkkgXQ7 lR2DazTAjZx4pO9bhPnNqpwNRwvxWDVb9+nXThrYx6UysJdJAybzHgaIZt5/l35Q2/iQ FgvzOUHWl++b1QbQsrB9GYiGLCR8qJOTm9G4g= 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=t4uUbly1i5CL7XzGvVAiN4AszPa/3V4l6BoxT5QAElThmCq+XXRJXbRJhwyfLL0ftB aq5l/pQ4qFYlhH1QDMF2z3NcWlPk+fdvUhfk04FtH3m9K9hwgETRc38HQMMxPgtsFKWC 6Y75xyADdP6+BAMzexQwVX/BJoJkoed1Bd2zg= Received: by 10.141.28.4 with SMTP id f4mr5490618rvj.66.1221556321244; Tue, 16 Sep 2008 02:12:01 -0700 (PDT) Received: by 10.141.159.2 with HTTP; Tue, 16 Sep 2008 02:12:01 -0700 (PDT) Message-ID: <9bbcef730809160212m72fffc7k93d0c92ace2b7c19@mail.gmail.com> Date: Tue, 16 Sep 2008 11:12:01 +0200 From: "Ivan Voras" Sender: ivoras@gmail.com To: "Alfred Perlstein" In-Reply-To: <20080916022738.GJ36572@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> X-Google-Sender-Auth: 73c0ddf0d882732d 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 09:12:02 -0000 2008/9/16 Alfred Perlstein : > * Ivan Voras [080915 16:05] wrote: >> >> How do I pick what thread to backtrace in gdb? >> > >> > i think the command is 'info threads' or 'show >> > threads' then i think you just type >> > 'thread FOO' to select the thread. >> >> Both commands don't work / don't exist. Any others? >> >> (background: apache22-worker port, no mod_php, on 7.0 and 7-STABLE >> suddenly gets stuck at 100% CPU; the same setup worked on 6-STABLE. >> I'm looking for ideas) > > I'm sorry, I really can't help at this point other than to look > through the documents myself to figure out how to do a backtrace/select > threads. > > Give it a shot, and let us know and we can go further. 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.