From owner-freebsd-stable@freebsd.org Wed Nov 9 13:48:51 2016 Return-Path: Delivered-To: freebsd-stable@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 19441C37D17 for ; Wed, 9 Nov 2016 13:48:51 +0000 (UTC) (envelope-from hlh@restart.be) Received: from tignes.restart.be (tignes.restart.be [IPv6:2001:41d0:8:bdbe:0:1::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tignes.restart.be", Issuer "CA master" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C39BF22D for ; Wed, 9 Nov 2016 13:48:50 +0000 (UTC) (envelope-from hlh@restart.be) X-Comment: SPF check N/A for local connections - client-ip=2001:41d0:8:bdbe:1:1::; helo=restart.be; envelope-from=hlh@restart.be; receiver=freebsd-stable@freebsd.org DKIM-Filter: OpenDKIM Filter v2.10.3 tignes.restart.be 3tDSFN64tmzsYZ DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=restart.be; s=tignes; t=1478699320; bh=axe7qrPcqDilydNrd9IBiZUZzvpd5X9fIi8EhMDVCvU=; h=To:From:Subject:Date; z=To:=20freebsd-stable@freebsd.org|From:=20Henri=20Hennebert=20|Subject:=20Freebsd=2011.0=20RELEASE=20-=20ZFS=20deadl ock|Date:=20Wed,=209=20Nov=202016=2014:48:38=20+0100; b=0EiLYz7X/Gly4x5SleDHW0Zcqx49EDi9OJ8rE/Q6D+woLmUVqDRIn90yiXAgeEshU XkngMcfbwJ5Dbc7AesCjpjUgj6Qcb3P67jF40n27tet9iSnEv/Lr4eG/rhObZy+aLZ q32o0XJiwbXjzg+8EonY3uwC3BoLMUAjIKAYV/bx+N4JNgWDbX2XEQfaX3HNDpJgl2 tL6TcwoKGBLAua0gEXx2GptsMt7pD2K/TOai/i1E9h55czHijSG9H4jRK0KVpTpqMD mN8FaM0x/y2VeQ1EItKBC12AzLsJiR0kivoEZ3tVBCNFptDM+7T5BTfHFWxIn+RDm5 khfh2eYjrB6jg== Received: from restart.be (avoriaz.restart.be [IPv6:2001:41d0:8:bdbe:1:1::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.restart.be", Issuer "CA master" (verified OK)) by tignes.restart.be (Postfix) with ESMTPS id 3tDSFN64tmzsYZ for ; Wed, 9 Nov 2016 14:48:40 +0100 (CET) Received: from chamonix.restart.bel (chamonix.restart.bel [IPv6:2001:41d0:8:bdbe:1:9:0:0]) (authenticated bits=0) by restart.be (8.15.2/8.15.2) with ESMTPSA id uA9DmcRF001578 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Wed, 9 Nov 2016 14:48:39 +0100 (CET) (envelope-from hlh@restart.be) To: freebsd-stable@freebsd.org From: Henri Hennebert Subject: Freebsd 11.0 RELEASE - ZFS deadlock Message-ID: <0c223160-b76f-c635-bb15-4a068ba7efe7@restart.be> Date: Wed, 9 Nov 2016 14:48:38 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 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, 09 Nov 2016 13:48:51 -0000 I encounter a strange deadlock on FreeBSD avoriaz.restart.bel 11.0-RELEASE-p3 FreeBSD 11.0-RELEASE-p3 #0 r308260: Fri Nov 4 02:51:33 CET 2016 root@avoriaz.restart.bel:/usr/obj/usr/src/sys/AVORIAZ amd64 This system is exclusively running on zfs. After 3 or 4 days, `periodic daily` is locked in the directory /usr/local/news/bin [root@avoriaz ~]# ps xa|grep find 85656 - D 0:01.13 find / ( ! -fstype local -o -fstype rdonly ) -prune -o ( -name [#,]* -o -name .#* -o -name a.out -o -nam 462 1 S+ 0:00.00 grep find [root@avoriaz ~]# procstat -f 85656 PID COMM FD T V FLAGS REF OFFSET PRO NAME 85656 find text v r r------- - - - /usr/bin/find 85656 find cwd v d r------- - - - /usr/local/news/bin 85656 find root v d r------- - - - / 85656 find 0 v c r------- 3 0 - /dev/null 85656 find 1 p - rw------ 1 0 - - 85656 find 2 v r -w------ 7 17 - - 85656 find 3 v d r------- 1 0 - /home/root 85656 find 4 v d r------- 1 0 - /home/root 85656 find 5 v d r----n-- 1 533545184 - /usr/local/news/bin [root@avoriaz ~]# If I try `ls /usr/local/news/bin` it is also locked. After `shutdown -r now` the system remain locked after the line '0 0 0 0 0 0' After a reset and reboot I can access /usr/local/news/bin. I delete this directory and reinstall the package `portupgrade -fu news/inn` 5 days later `periodic daily`is locked on the same directory :-o Any idea? Henri