From owner-freebsd-stable@FreeBSD.ORG Wed Apr 15 09:14:43 2009 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 12429106564A for ; Wed, 15 Apr 2009 09:14:43 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from smtp-out1.tiscali.nl (smtp-out1.tiscali.nl [195.241.79.176]) by mx1.freebsd.org (Postfix) with ESMTP id CB4A68FC16 for ; Wed, 15 Apr 2009 09:14:42 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from [212.123.145.58] (helo=sjakie.klop.ws) by smtp-out1.tiscali.nl with esmtp id 1Lu1Ca-0003t0-Fs; Wed, 15 Apr 2009 11:14:40 +0200 Received: from 82-170-177-25.ip.telfort.nl (localhost [127.0.0.1]) by sjakie.klop.ws (Postfix) with ESMTP id 0B062A33E; Wed, 15 Apr 2009 11:14:39 +0200 (CEST) Date: Wed, 15 Apr 2009 11:14:38 +0200 To: "Oleg V. Nauman" , freebsd-stable@freebsd.org From: "Ronald Klop" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 References: <20090414160411.042472seockg0css@webmail.opentransfer.com> Content-Transfer-Encoding: 7bit Message-ID: In-Reply-To: <20090414160411.042472seockg0css@webmail.opentransfer.com> User-Agent: Opera Mail/9.64 (FreeBSD) Cc: Subject: Re: 7.2-PRERELEASE: make process waiting indefinitely 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, 15 Apr 2009 09:14:43 -0000 On Tue, 14 Apr 2009 15:04:11 +0200, Oleg V. Nauman wrote: > > Have experienced today strange issue with my fresh RELENG_7 ( sources > from yesterday April 13, userland and kernel in sync ) - sometimes some > processes stop running without any visible reason. Have seen it twice > today during KDE compilation - make process just waiting for something > while nothing else compiles or some other way prevents this process from > running ( no SIGSTOP performed, no Ctrl-S performed on console). Well it > possible related to ( or triggered by ) new ports compilation feature > for SMP machines ( most of KDE port marked as MAKE_JOBS_SAFE=yes ) but > anyway this stuck process behavior is strange. kill -SIGCONT not helps, > but it killable ( Ctrl-C helps at least ) > Well some info related to this process: > procstat -t 63472 output: > > PID TID COMM TDNAME CPU PRI STATE WCHAN > 63472 100059 make - 1 92 sleep wait > > procstat -kk 63472 output: > > PID TID COMM TDNAME KSTACK > 63472 100059 make - mi_switch+0x2c8 > sleepq_switch+0xd9 sleepq_catch_signals+0x239 sleepq_wait_sig+0x14 > _sleep+0x307 kern_wait+0xa36 wait4+0x3b syscall+0x2b3 > Xint0x80_syscall+0x20 > > Some related sysctls output: > > kern.smp.cpus: 2 > kern.smp.disabled: 0 > kern.smp.active: 1 > > uname -msr output: > FreeBSD 7.2-PRERELEASE i386 It sounds like http://www.mail-archive.com/freebsd-stable@freebsd.org/msg102628.html . There are some tips in that mailthread about debugging it. Ronald.