From owner-freebsd-threads@FreeBSD.ORG Fri Sep 1 19:18:31 2006 Return-Path: X-Original-To: freebsd-threads@freebsd.org Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 620BC16A4E2 for ; Fri, 1 Sep 2006 19:18:31 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id D64E243D6A for ; Fri, 1 Sep 2006 19:18:14 +0000 (GMT) (envelope-from kip.macy@gmail.com) Received: by nz-out-0102.google.com with SMTP id 13so609858nzn for ; Fri, 01 Sep 2006 12:18:14 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=R5uENW+9T2Pg4WnZtHV5aIGcsTYt63NiqkRJ73z8JHm8JKMKGwY4Klepaq6ig3HjaEI4KE6X/GtmrcqPzrM1z33Kb31T6dzvD2rHFGrQphK8lQVerntcdngmrEX6tjQ7IClMATbfnwUBrJtji5/OGVAZmHT3J82fqVoPTlMKon4= Received: by 10.65.59.20 with SMTP id m20mr3191472qbk; Fri, 01 Sep 2006 12:18:13 -0700 (PDT) Received: by 10.65.224.1 with HTTP; Fri, 1 Sep 2006 12:18:13 -0700 (PDT) Message-ID: Date: Fri, 1 Sep 2006 12:18:13 -0700 From: "Kip Macy" To: "Julian Elischer" In-Reply-To: <44F85F63.5020508@elischer.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200609011716.30749.vovk@km.ua> <44F85F63.5020508@elischer.org> Cc: freebsd-stable@freebsd.org, freebsd-threads@freebsd.org Subject: Re: panic: vm_thread_new: kstack allocation failed X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Sep 2006 19:18:31 -0000 I've seen this when running stress2 with a large number of incarnations. Why don't we return an error to the user? -Kip On 9/1/06, Julian Elischer wrote: > Vyacheslav Vovk wrote: > > can you see how many threads thre are in the system? > I think you will have to extract this information frome the zone allocator. > > I just realised there is no effective limit on kernel threads in the system. > probably one could cause this with a fork bomb appoach using forks and > thread creation. > > >Unread portion of the kernel message buffer: > >panic: vm_thread_new: kstack allocation failed > >cpuid = 3 > >Uptime: 7d4h30m58s > > > > > > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >