From owner-freebsd-questions@freebsd.org Mon Jul 24 09:13:45 2017 Return-Path: Delivered-To: freebsd-questions@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 CD0BCC786E9 for ; Mon, 24 Jul 2017 09:13:45 +0000 (UTC) (envelope-from list@execve.net) Received: from lax012.relay.arandomserver.com (lax012.relay.arandomserver.com [198.252.106.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A41E51FAB for ; Mon, 24 Jul 2017 09:13:45 +0000 (UTC) (envelope-from list@execve.net) Received: from sng001.hawkhost.com ([119.81.196.36]) by se003.arandomserver.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1dZYmP-0008ST-DY for freebsd-questions@freebsd.org; Mon, 24 Jul 2017 03:31:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=execve.net; s=default; h=Content-Type:To:Subject:Message-ID:Date:From:MIME-Version: Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=To7L2KJY0G08F5KFtHrZgaQ1LyQsOuPND8jeuVsUIco=; b=iaw6I6R5r/B7aoHO7xLQKUAq7J i6OjGP9vBykBSqCgb3N9xwwtUHobn67IcYYIb5CRbAIyHCEgn5MPb/pbQpC0jlgy94JxblWy4NETU iQF1/qosdrWwG1+GMpitjmzuy; Received: from mail-ua0-f177.google.com ([209.85.217.177]:38825) by sng001.hawkhost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89) (envelope-from ) id 1dZYmN-002WzU-0c for freebsd-questions@freebsd.org; Mon, 24 Jul 2017 16:31:51 +0800 Received: by mail-ua0-f177.google.com with SMTP id w45so72954807uac.5 for ; Mon, 24 Jul 2017 01:31:50 -0700 (PDT) X-Gm-Message-State: AIVw111253UqzGDj9vncg6FX+2VNZPwjlq9qclinERqd/vy3FJtMcfJR 1A4VQfnuqHGMpYmmKbr6Sap794zivA== X-Received: by 10.176.10.31 with SMTP id q31mr9657623uah.206.1500885108846; Mon, 24 Jul 2017 01:31:48 -0700 (PDT) MIME-Version: 1.0 Received: by 10.159.40.136 with HTTP; Mon, 24 Jul 2017 01:31:48 -0700 (PDT) From: Gautam Date: Mon, 24 Jul 2017 14:01:48 +0530 X-Gmail-Original-Message-ID: Message-ID: Subject: Freebsd 11.0p11 - system freeze on intensive I/O To: freebsd-questions@freebsd.org X-Originating-IP: 119.81.196.36 X-SpamExperts-Domain: sng001.hawkhost.com X-SpamExperts-Username: relay Authentication-Results: arandomserver.com; auth=pass (login) smtp.auth=relay@sng001.hawkhost.com X-SpamExperts-Outgoing-Class: unsure X-SpamExperts-Outgoing-Evidence: Combined (0.36) X-Recommended-Action: accept X-Filter-ID: PqwsvolAWURa0gwxuN3S5YEa3T7JuZT23fGO2rGt3ZiEh/Q2y0dK8jSMLTE55fwqH0Nprjby6XDb qzVlIOQ03kAwPN4M+BNtq20Hh3O6Az9ismS84NPFas3IWADbmzJ9CZryIsNFvaBrlzs70sT7iKmx j3Zz/WM/IwRyPjIHIwCYw59Bdo2ooZcQHVOW1ZOTRk/pSObKKV1LDSMJWTID3R5e973vehgRRMJd d1x498RxinrjYcnzU2ltVGJNhm8cGzcWMr0czofRVh8rMXrt/SyLxLEJIkbWABkyXJwBVLal3W+/ PI81P534n3yak4n7EfJL2hMI4yCDSSr/HxDyN5bD8YyxjFtJAz2loLb4we0tFPPhpWPZ07PAOr0y wYIXuCj9wj08m7429e2ZOl/ZXvNM2/zURZVxzSV/eszOttj6AVIvY+ILsI7br1ka/ZVM75tEvdvF Jl5WdaUc9HnP+b2c/9qoltP1Yp6ehFJOKfqVu34H+eqH7iWBpUrKGrffGcXZKnwjnRMG9jJ/knTt +XiA50wwIMuM3BDtnoPm4HpIizaH26GaoEDwTtnQE6q4ZRNP3CPS3YZT5ODGEA+uOpLZY+4z/dwR ocCZGdc1cl9f9x/pKLS918QV+MmO1bAAUWi2fVMaylEZZ8eOZqu47RtemR69oSVOL6wJbCarEeL4 FQdcaOnQnwWlP4noAVPGol4Y0TPVNr6szwhOJUYggjTvwjTL7e5Lh00qJSBhMFSH4VA0NSmnmMxq 1BfsthyOtWzbU7DDp/v3pTshQhiKC3cWQxv/dPql1xZVaho4rQu2yXjyt4I89lmrBM2qpBDuIp7z KD4nYpk6iSqSCmQFVDbwZp7JdvbV2oQqBJp+c/9L8ZHLV0zHQOMuxVjpDkV6 X-Report-Abuse-To: spam@se001.arandomserver.com Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jul 2017 09:13:45 -0000 Hi, I am not sure if this is the right list to post to, but thought to start checking this issue here. I came back to using FreeBSD after many years on my laptop. The machine is currently in a dual-boot configuration and I basically replaced FreeBSD to replace the earlier Ubuntu installation. Machine is at 11.0-RELEASE updated to p11 via freebsd-update. I encountered a similar outcome of total system freeze in two kinds of usage. State of the system: 1) X is not usable - I use xfce - no login manager 2) I cannot ssh into the box - I do not get the username or password prompt - connection just times out 3) the network interface is ping-able. 4) I am not able to switch to the system consoles using Ctrl-Alt-F1..8 5) No mouse movement nor screen update 6) I suspected an issue with soft-update and then turned that off. Filesystem is ufs. fsck is clean. Recovery: hard-boot, system comes up, fsck happens, some errors fixed and resumes working normally. The problem became visible in two kind of usage scenarios: 1) Running the backup port duplicity to create a backup of the / filesystem. It would start but at some point but then get stuck. Running it in verbose mode would sometimes indicate that this would happen when the write to the volume (default setting of 200M) happens. This was tried 4-5 times. 2) running split on a 6.4G file (filesystem dump of disk using dump) -- something like split -d -b 200M -a 4 - part This would then freeze at one point - making the system unusable. I tried this 2-3 times. I finally got it to work using idprio 31 before the split command. Tried this only once - havent tried it with the duplicity command. I do not suspect the hardware since I have been running ubuntu without similar issues but am open if any tests need to be run. The machine has 8GB RAM and is clearly not reaching the out of memory kind of situation - basically only about 1.1 or so GB is used. I also ran this from the system console without X and faced the same issue - no panic message - nothing in the logs as well. The next steps for me: A) Try to reproduce this on a virtual machine - since I cannot keep toying around with the laptop disk and risk losing days of work. B) Try to capture needed information to help debug this further. Not sure what all is needed here. Any comments on how I can proceed with solving this ? I would really like to solve these issues and am actually quite surprised at getting stuck at this - this being a single user simple kind of usage scenario. Thanks, Gautam