From owner-freebsd-stable@FreeBSD.ORG Fri Sep 1 20:03:38 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C8B216A4DA; Fri, 1 Sep 2006 20:03:38 +0000 (UTC) (envelope-from prvs=julian=392b3a9d5@elischer.org) Received: from a50.ironport.com (a50.ironport.com [63.251.108.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id 203D543D45; Fri, 1 Sep 2006 20:03:37 +0000 (GMT) (envelope-from prvs=julian=392b3a9d5@elischer.org) Received: from unknown (HELO [10.251.18.229]) ([10.251.18.229]) by a50.ironport.com with ESMTP; 01 Sep 2006 13:03:37 -0700 Message-ID: <44F89218.9050400@elischer.org> Date: Fri, 01 Sep 2006 13:03:36 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.13) Gecko/20060414 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kip Macy References: <200609011716.30749.vovk@km.ua> <44F85F63.5020508@elischer.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, freebsd-threads@freebsd.org Subject: Re: panic: vm_thread_new: kstack allocation failed X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Sep 2006 20:03:38 -0000 Kip Macy wrote: > I've seen this when running stress2 with a large number of > incarnations. Why don't we return an error to the user? programmer ENOTIME patch welcome! > > -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" >> > _______________________________________________ > freebsd-threads@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-threads > To unsubscribe, send any mail to > "freebsd-threads-unsubscribe@freebsd.org"