From owner-freebsd-current@FreeBSD.ORG Tue Mar 17 14:37:33 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27E521065674; Tue, 17 Mar 2009 14:37:33 +0000 (UTC) (envelope-from rb@gid.co.uk) Received: from mx0.gid.co.uk (mx0.gid.co.uk [194.32.164.250]) by mx1.freebsd.org (Postfix) with ESMTP id B03D28FC1E; Tue, 17 Mar 2009 14:37:32 +0000 (UTC) (envelope-from rb@gid.co.uk) Received: from gidgate.gid.co.uk (80-46-130-69.static.dsl.as9105.com [80.46.130.69]) by mx0.gid.co.uk (8.14.2/8.14.2) with ESMTP id n2HEbVlK054394; Tue, 17 Mar 2009 14:37:31 GMT (envelope-from rb@gid.co.uk) Received: from [192.168.255.1] (seagoon.gid.co.uk [194.32.164.1]) by gidgate.gid.co.uk (8.13.8/8.13.8) with ESMTP id n2HEbQmJ009822; Tue, 17 Mar 2009 14:37:26 GMT (envelope-from rb@gid.co.uk) Message-Id: From: Bob Bishop To: Ivan Voras In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Tue, 17 Mar 2009 14:37:26 +0000 References: X-Mailer: Apple Mail (2.930.3) Cc: freebsd-current@freebsd.org Subject: Re: A trio of problems X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2009 14:37:33 -0000 On 17 Mar 2009, at 13:59, Ivan Voras wrote: > Bob Bishop wrote: >> Hi, >> >> On 16 Mar 2009, at 23:28, Ivan Voras wrote: >> >>> 1. I'm trying to start 1000 jails for demonstration purposes (a >>> presentation), but I can reliably panic the kernel when somewhere >>> between 400 and 600 jails are started. [etc] >> >> On 17 Mar 2009, at 01:37, Ivan Voras wrote: >> >>> ZFS doesn't influence it - the same problem happens without ZFS on >>> the >>> system (though I can create a few hundred more jails without ZFS >>> before >>> the kernel panics...). >> >> In which case, given how memory-hungry ZFS is, it looks like your >> problem is with exhausting some memory resource. > > It did occur to me but if it is, why didn't it fail in an obvious way > (e.g. kmem_map panics with ZFS), Dunno > and how to tune it so if works? This is > AMD64 with 0.5 GB - 1 GB memory in the Free bin when it panics. I'd suggest increasing kernel mem but I don't know if/how that's tunable on amd64. -- Bob Bishop rb@gid.co.uk