From owner-freebsd-fs@freebsd.org Sun Oct 11 12:21:34 2015 Return-Path: Delivered-To: freebsd-fs@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 9908899A860 for ; Sun, 11 Oct 2015 12:21:34 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com [209.85.212.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 369361358 for ; Sun, 11 Oct 2015 12:21:33 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: by wiclk2 with SMTP id lk2so120030582wic.1 for ; Sun, 11 Oct 2015 05:21:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=EHghyLp7Fx3sC5fTl3zPUjcQvM0GGuDxYJFWks8AzHw=; b=G6RYLToDh5fb9bK+xKjT4ZghTdjk19lzzXxYf4nScmSWlw+gOvPyon+AohzNMApgG2 TsminseAnHtE+wgiF7K7VH/1LbOMtjc6o/I9Ttu5U46+KbsfEmHOx7TXLVwxzW1r6AIV x99vZfKemASORVOfd137UlNqmcF93ouhp5diSLZPxFghgTlZQCtDDbbJxfK10zMMrKQI Fj+sYXrSazP0d33iPoRU/kWEHCKuZvoHpekPJSTYDoamI0tfwTlmrwkjtNqiqPwY4fec J5FrO9YrMc/F72tGET76fjdf1j+JJRGdOAhO6HpWW1EgV1C3LQOdb58d2Jw412n1D2Q/ 0IYA== X-Gm-Message-State: ALoCoQlO+IwlUbGb+ITiQ/Dab65iVw9DqqIVmmV5qkFqukSG9cOhKJpKySX6UIChNAGUFUHY3wqM X-Received: by 10.194.116.197 with SMTP id jy5mr25064957wjb.86.1444566085787; Sun, 11 Oct 2015 05:21:25 -0700 (PDT) Received: from [10.10.1.68] (82-69-141-170.dsl.in-addr.zen.co.uk. [82.69.141.170]) by smtp.gmail.com with ESMTPSA id h6sm6657085wiy.14.2015.10.11.05.21.24 for (version=TLSv1/SSLv3 cipher=OTHER); Sun, 11 Oct 2015 05:21:24 -0700 (PDT) Subject: Re: Zfs locking up process To: freebsd-fs@freebsd.org References: <561A2A4B.4080704@ranner.eu> From: Steven Hartland Message-ID: <561A5445.40603@multiplay.co.uk> Date: Sun, 11 Oct 2015 13:21:25 +0100 User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <561A2A4B.4080704@ranner.eu> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Oct 2015 12:21:34 -0000 On 11/10/2015 10:22, Michael Ranner wrote: > Am 07.10.15 um 17:11 schrieb Rajil Saraswat: >> Hello >> >> I have server running Freenas 9.3 with a few jails. The machine has two new >> disks setup in mirror. I have a dataset (/mnt/tank/media) which is shared >> in two jails. >> >> Unfortunately, sometimes when I do a ls in a jail in the shared directory I >> see that the process just hangs. >> >> Today in the jail I did an 'su' and process just hung. On the host if i do >> ls /mnt/tank/media it also hangs. >> >> The su process (pid 77477) is taking up 100% cpu in the jail. It seems that >> zfs is holding up the process. Any idea what could be wrong? >> >> > It is a known problem with ZFS and nullfs. I had no problems under > FreeBSD 8 witch such a setup, but since FreeBSD 9 it is very unstable to > mount_nullfs on ZFS. I experienced the same behaviour with Apache jails > and PHP, mostly PHP running with 100% CPU inside the jail. I'd have to disagree with this we have hundreds of machines on 10.1 which uses nullfs every day and we've never seen a lockup. Given that do you have more information about this e.g. PR? > So you cannot "share" the dataset between to jails without the risk of > hangs - its a problem inside the VFS. > > You should set the mountpoint via "zfs set" inside your jail. But you > can do this only for one jail. > > Regards > Michael > _______________________________________________ > freebsd-fs@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"