From owner-freebsd-bugs@FreeBSD.ORG Tue Feb 3 20:00:19 2009 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 01B6E10656CB; Tue, 3 Feb 2009 20:00:18 +0000 (UTC) (envelope-from to.my.trociny@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.184]) by mx1.freebsd.org (Postfix) with ESMTP id 519918FC0C; Tue, 3 Feb 2009 20:00:18 +0000 (UTC) (envelope-from to.my.trociny@gmail.com) Received: by nf-out-0910.google.com with SMTP id h3so308411nfh.33 for ; Tue, 03 Feb 2009 12:00:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:to:cc:subject:references :organization:from:date:in-reply-to:message-id:user-agent :mime-version:content-type; bh=EN+TrlvQR/IHFSW0VR01AVowOiWiWgKWePO25FvhMkI=; b=mbSwb7n89Q6YqgDNVHIeioqekoMIJbSioyZwwOUabov0rnGWSC8EjkHzW1WLPxefqt QAAUaupZZ4RdeLrV733x+S0QdgH43kW+3OMaFOO1K3+Mrhb2n06sKz1DgObAKom9g8d8 KHP8XASVZ78unkdjqN7wnWHqvCVcAlou+2xWs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=to:cc:subject:references:organization:from:date:in-reply-to :message-id:user-agent:mime-version:content-type; b=Zwxy58lS5KERV88TvPoRjWz0NqBxtklzWsrmLeWe293zxOQmP6onpZ+FXOjJj735rO 2hXVwZGq768edrm2Qr6c+9lNxHfgqIZZNvx/kTeJ4LxkmxPKIXs65ftNWpgOPtkDUEqs h7y9E9hv21Er2u8Pgm0Js8eEQ0wzywf961LQ8= Received: by 10.103.250.1 with SMTP id c1mr428723mus.64.1233691217250; Tue, 03 Feb 2009 12:00:17 -0800 (PST) Received: from localhost (vpn-193-138-133-124.customer.onet.com.ua [193.138.133.124]) by mx.google.com with ESMTPS id j6sm532271mue.4.2009.02.03.12.00.15 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 03 Feb 2009 12:00:16 -0800 (PST) To: Sergey S References: <200902021314.n12DEwd3098744@freefall.freebsd.org> <817i47oibn.fsf@zhuzha.ua1> Organization: TOA Ukraine From: Mikolaj Golub Date: Tue, 03 Feb 2009 22:00:13 +0200 In-Reply-To: (Sergey S.'s message of "Tue\, 3 Feb 2009 04\:19\:33 -0800") Message-ID: <86iqnrb8aa.fsf@kopusha.onet> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: remko@freebsd.org, Mikolaj Golub , freebsd-bugs@freebsd.org Subject: Re: misc/131290: How to completely freeze FreeBSD 7.1 under a non-privileged user X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Feb 2009 20:00:20 -0000 On Tue, 3 Feb 2009 04:19:33 -0800 Sergey S wrote: >> I have tried your scripts and have not managed to reproduce the hang, even >> running the loop script without sleep. SS> It's very strange, because the bug is 100% reprodusable to me (on two SS> separate computers) :( Sorry, I missed previously that your system was amd64. I tried on i386 FreeBSD 7.1-STABLE. Currently, I don't have amd64 where I can install erlang and do such tests. >> http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug-deadlocks.html SS> Thanks for your suggestion. I hope it will help. >> But I would recommend you to start from simpler techniques, e.g. running in >> parallel top and other system utilities and writing the output to the file for >> further investigation. Something like this: >> >> top -b -s1 -S -d1000 1000 > top.output & >> ./gistfile1.sh SS> I've done it. gzipped top.output is attached to this letter. So, according to top output (I don't see the script process here) it hanged the system in less then one second? I have observed freezes when top with -S option froze while without -S option worked. You can try removing -S option. But I am afraid this won't help and you will have to make the system core dump (as described at URL above) and do post-mortem analysis of the dump. -- Mikolaj Golub