From owner-freebsd-hackers@freebsd.org Wed Aug 9 09:53:49 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 915F1DC860B for ; Wed, 9 Aug 2017 09:53:49 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [78.47.246.247]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 249E96B2B8 for ; Wed, 9 Aug 2017 09:53:48 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221] (may be forged)) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id v799qpGQ098375 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 9 Aug 2017 11:52:51 +0200 (CEST) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: list@execve.net Received: from [10.58.0.4] ([10.58.0.4]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id v799qgae079027 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Wed, 9 Aug 2017 16:52:42 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: Freebsd 11.0 - system freeze on intensive I/O To: Gautam , freebsd-hackers@freebsd.org References: From: Eugene Grosbein Message-ID: <598ADB65.8060701@grosbein.net> Date: Wed, 9 Aug 2017 16:52:37 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=2.2 required=5.0 tests=BAYES_00, LOCAL_FROM, RDNS_NONE autolearn=no autolearn_force=no version=3.4.1 X-Spam-Report: * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 1.9 RDNS_NONE Delivered to internal network by a host with no rDNS * 2.6 LOCAL_FROM From my domains X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on hz.grosbein.net X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Aug 2017 09:53:49 -0000 09.08.2017 14:11, Gautam пишет: > Hi, > > I raised this topic on freebsd-questions where I suspect a bug caused due > to swapfile usage on FreeBSD. > > You could read details in the below thread, but summary is that with using > a swapfile (not a swap partition) the system freezes on some single process > intensive I/O. This is 100% reproducible. > > http://marc.info/?l=freebsd-questions&m=150088763825675&w=2 > > I raised a PR - 220971 ; but there are no backtraces / logs etc. that could > possibly help. > > I would like to help narrow this down, but do not know how. Any suggestions > on how to debug a system freeze and what I need to do ? I could then try to > reproduce this and collect the needed information - traces etc. Swapfile is definitely broken in supported FreeBSD releases, it hangs the system. The only known workaround (to me) is not using it.