From owner-freebsd-stable@FreeBSD.ORG Thu Jan 19 14:13:47 2012 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 8B1371065672 for ; Thu, 19 Jan 2012 14:13:47 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1AD138FC13 for ; Thu, 19 Jan 2012 14:13:46 +0000 (UTC) Received: by wibhn14 with SMTP id hn14so104595wib.13 for ; Thu, 19 Jan 2012 06:13:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=zq3euZYlayXowrci7A6+Esp+vfeGFr+lBXrEYKR0k48=; b=Cnc9PatqaGi2Y4uYoqMGSzPd14VODRDMv+nvAfa3MLaLJpLkIor0PVCkcjAddzu/nX W+0lcb/Lq0jhjMAB4tx9so3OVd6T1ixwDEHUr3bcBcPoOyd3+6u/UJpZAzd95LM0g7PC eo9YadMq666CspAQEpisz4pNZq1C4a3Zti+0o= Received: by 10.180.97.73 with SMTP id dy9mr44280170wib.11.1326982425862; Thu, 19 Jan 2012 06:13:45 -0800 (PST) Received: from green.tandem.local (236-146-201-46.pool.ukrtel.net. [46.201.146.236]) by mx.google.com with ESMTPS id bj10sm28252336wib.9.2012.01.19.06.13.43 (version=SSLv3 cipher=OTHER); Thu, 19 Jan 2012 06:13:44 -0800 (PST) Message-ID: <4F182516.3020506@gmail.com> Date: Thu, 19 Jan 2012 16:13:42 +0200 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0.1) Gecko/20120110 Firefox/9.0.1 SeaMonkey/2.6.1 MIME-Version: 1.0 To: =?UTF-8?B?TMOhc3psw7MgS8OBUk9MWUk=?= References: <4F181FE7.30904@karolyi.hu> In-Reply-To: <4F181FE7.30904@karolyi.hu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-stable@freebsd.org Subject: Re: Strange 'hangs' with RELENG_9 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: Thu, 19 Jan 2012 14:13:47 -0000 László KÁROLYI wrote: > Hello, > > Recently I updated my RELENG_8 to RELENG_9. Since then, the server hangs > from time to time for 5 minutes. When I run a top in a remote terminal, > I can see that it hangs so strong, that the clock hangs too. When it > continues to run , the time continues from the when it 'hanged'. TCP > connections are also dropped with timeout at that time. However, no > kernel panic, and i can't see anything in the dmesg log too. Obtaining kernel dump is the way to go. You can occasionally find that obtaining dump on world built with clang is much easier than on gcc-compiled one. I remember at least one such case with broken zfs directory when trying to read such directory result in process with no state on gcc-compiled world and result in imminent panic in zfs code on clang-compiled world. Remember to set dumpdev to something appropriate. > /boot/loader.conf: > zfs_load="YES" > vfs.root.mountfrom="zfs:pool/root" > vfs.zfs.vdev.max_pending="8" > geom_raid_load="YES" > hint.siisch.0.sata_rev=1 > hint.siisch.1.sata_rev=1 > > /etc/sysctl.conf: > vfs.zfs.l2arc_noprefetch=0 This has impact on performance. You sure you really need that one? Can you try without it? > /etc/make.conf, the kernel was compiled with this settings: > CPUTYPE?=athlon64 Compiling with clang you better turn that thing off. -- Sphinx of black quartz judge my vow.